通达信迅雷天成副图指标源码

[复制链接]
查看79 | 回复0 | 2021-8-26 22:34:49 | 显示全部楼层 |阅读模式

以下是通达信迅雷天成副图指标源码(无源码的请下载附件导入)

REFLINE: -1, 0, 1;
 VAR1:=1;
 VAR2:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30)*VAR1;
 VAR3:=EMA(VAR2,2)*VAR1;
 VAR4:=(WINNER(20*CLOSE/100)-WINNER(20*CLOSE/100))*100*VAR1;
 VAR5:=(-100)*(WINNER(20*CLOSE/100)-WINNER(20*CLOSE/100))+2;
讯雷买入: IF(VAR4+VAR5<2.5 AND CROSS(VAR2,VAR3) AND VAR3<-106 AND VAR3<VAR5,1,0)*VAR1, , COLORRED;
讯雷卖出: IF(FILTER(VAR4+VAR5<7 AND CROSS(VAR3,VAR2) AND VAR2>50 AND VAR3>VAR4,8),-1,0)*VAR1, , COLORGREEN;
 {老鼠仓}
AA1:=AMOUNT/VOL;
 BB1:=L<AA1*0.9;
 CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
 DD1:=L<MA(C,5)*0.921;
 EE1:=VOL<MA(V,5)*1.5;
老鼠仓:=BB1 AND CC1 AND DD1 AND EE1;
 IF(老鼠仓>0,0.7,0)COLORMAGENTA;

203588889.png

203588889.png

回复

使用道具 举报

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

本版积分规则