步步为赢副图指标 通达信公式(附图)

[复制链接]
查看168 | 回复0 | 2021-8-20 16:25:45 | 显示全部楼层 |阅读模式

X:=MA(AMOUNT,5)/MA(V,5)/100;
VAR3:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;
VAR4:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
VAR5:=C/MA(C,60)-1;
大底:IF(CROSS(-5,VAR4) AND VAR3<-0.4,-0.01,-1);
中底:IF(CROSS(-5,VAR4) AND VAR3<-0.25 AND VAR3>-0.4,-0.3,-1);
小底:IF(CROSS(-5,VAR4) AND VAR3<-0.15 AND VAR3>-0.25,-0.6,-1);
减仓:IF(CROSS(VAR4,-95) AND VAR5<0.2 AND VAR5>=0.1,0.6,1);
中顶:IF(CROSS(VAR4,-95) AND VAR5<0.35 AND VAR5>=0.2,0.3,1);
大顶:IF(CROSS(VAR4,-95) AND VAR5>=0.35,0,1);

14S5139E930-4OM.gif

14S5139E930-4OM.gif

回复

使用道具 举报

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

本版积分规则