顶底KDJ指标 通达信公式(附图)

[复制链接]
查看136 | 回复0 | 2021-8-20 18:39:14 | 显示全部楼层 |阅读模式

N:=26;
M1:=2;
M2:=2;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,LINETHICK2;
K:SMA(RSV,M1,1),LINETHICK1;
D:SMA(K,M2,1),LINETHICK1;
J:3*K-2*D,COLORFF00FF,LINETHICK1;
IF(J<0,J,DRAWNULL),COLORGREEN,LINETHICK2;
IF(K>90,K,DRAWNULL),COLOR0000FF,LINETHICK2;
IF(D>85,D,DRAWNULL),COLORFFFF11,LINETHICK2;
DRAWICON(CROSS(J,1),J,9);
DRAWICON(K>80 AND D>80 AND CROSS(D,K),D,15);

 

回复

使用道具 举报

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

本版积分规则