改编KDJ副图-选股指标 源码 通达信 贴图 无未来

[复制链接]
查看38 | 回复0 | 2022-7-11 10:10:01 | 显示全部楼层 |阅读模式
传统指标,换个形式。旨在交流,互相学习,慢慢进步!

{改编KDJ副图}
STICKLINE(C>0,120,110,4,0),COLORBLACK;
STICKLINE(C>0,-20,-10,4,0),COLORBLACK;
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
A:=SMA(RSV,3,1);
B:=SMA(A,3,1);
TA:=A>B;
STICKLINE(A-B>0,0,A-B,7,0),COLORRED;
STICKLINE(A-B<0,0,A-B,7,0),COLORBLUE;
STICKLINE(A-B>0,0,A-B,1,0),COLORWHITE;
STICKLINE(A-B<0,0,A-B,1,0),COLORWHITE;
DRAWBAND(IF(TA,A,DRAWNULL),RGB(100,0,0),IF(TA,B,DRAWNULL),RGB(0,0,0));
K:A,COLORWHITE;
D:B,COLORYELLOW;
J:A*3-B*2,COLORMAGENTA,DOTLINE;
KD乖离:(K-D),COLORCYAN,NODRAW;
STICKLINE(K>80 AND REF(K,1)>80 AND REF(K,2)>80,120,110,2,0),COLORGREEN;
STICKLINE(K<80 AND REF(K,1)>80,120,110,2,0),COLORBLUE;
STICKLINE(K<20 AND REF(K,1)<20 AND REF(K,2)<20,-10,-20,2,0),COLORYELLOW;
STICKLINE(K>20 AND REF(K,1)<20,-10,-20,2,0),COLORRED; ===============================================================================
{改编KDJ选股}
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
k:=SMA(RSV,3,1);
XG:K>20 AND REF(K,1)<20;

202046927961182.png

202046927961182.png

202046928494810.rar

1.39 KB, 下载次数: 0

售价: 1 金钱  [记录]  [购买]

202046928494810.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则