投机KDJ指标 通达信公式(附图)

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

RSV:=(CLOSE-LLV(LOW,40))/(HHV(HIGH,40)-LLV(LOW,40))*100;
K:=SMA(RSV,18,1);
D:=SMA(K,3,1);
DRAWBAND(D,RGB(0,255,0),K,RGB(255,0,0));
TJ1:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
TJ2:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
TJ3:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORFF8000;
TJ4:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
强势:IF(TJ3>86 AND TJ4>76,TJ4,DRAWNULL),COLORRED,LINETHICK2;
超跌:IF(TJ1<8 AND TJ2<7 AND TJ3<6 AND TJ4<5,10,0),COLORMAGENTA;
DRAWICON(超跌=10,超跌*0.93,9);

 

回复

使用道具 举报

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

本版积分规则