大智慧筹码KDJ副图指标
-
相关简介:大智慧筹码KDJ副图指标 源码 hh:=cost(99.7);{满盘获利 } LL:=cost(0.3);{全盘被套 } rv:=(c-LL)*100/(hh-LL); 获利比:rv,colorwhite; k:sma(rv,5,1),coloryellow,pointdot; d:sma(k,5,1),colorwhite,pointdot; j:=k-d; 高:ref(hhv(rv,210),1),colorred; 低:ref(llv(rv,210),1),colorgreen; 50,c
-
文章来源:股海网作者:股海网发布时间:2016-04-27浏览次数:
大智慧筹码KDJ副图指标
源码
hh:=cost(99.7);{满盘获利 }
LL:=cost(0.3);{全盘被套 }
rv:=(c-LL)*100/(hh-LL);
获利比:rv,colorwhite;
k:sma(rv,5,1),coloryellow,pointdot;
d:sma(k,5,1),colorwhite,pointdot;
j:=k-d;
高:ref(hhv(rv,210),1),colorred;
低:ref(llv(rv,210),1),colorgreen;
50,colorwhite;
stickline(k>d and j>ref(j,1),k,d,4,0),colorred;
stickline(k>d and j<ref(j,1),k,d,4,0),coloryellow;
stickline(k<d and j>ref(j,1),k,d,4,0),colorblue;
stickline(k<d and j<ref(j,1),k,d,4,0),color00ff00;
drawicon( cross(k,d) and d<80,40,1),color00ff00;
drawicon( cross(d,k) and d>80,80,2),colorwhite;
drawtext( cross(rv,50),40,'强'),colorwhite;
drawtext( cross(50,rv),40,'弱'),colorwhite;