通达信变线趋势副图指标源码贴图

[复制链接]
查看68 | 回复0 | 2022-7-24 03:29:02 | 显示全部楼层 |阅读模式

{变线趋势}
VAR1:=1/WINNER(CLOSE);
 VAR2:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
 VAR3:=100-ABS(VAR2);
 VAR4:=(CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100;
 VAR5:=SMA(VAR4,20,1);
 VAR6:=SMA(VAR5,15,1);
 AA: 100-3*VAR5+2*VAR6;
 IF(AA>REF(AA,1),AA,AA-3),COLORRED;
 VAR7:=MA(WINNER(CLOSE*0.95)*100,3);
 VVV: IF(VAR1>5,IF(VAR1<100,VAR1,VAR3-10),0), LINESTICK,COLORCYAN;
 100, POINTDOT;
 VAR8:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
 VAR9:=SMA(VAR8,5,1);
 VARA:=SMA(VAR9,5,1);
 IF(CROSS(VAR9,VARA) AND VAR9<20,90,0);
 IF(CROSS(VARA,VAR9) AND VAR9>80,-10,0);
 VARB:=HHV(HIGH,25);
 VARC:=LLV(LOW,25);
 CC: EMA((CLOSE-VARC)/(VARB-VARC)*100,5),COLORYELLOW;
 IF(CC<7,80,0);
 IF(CROSS(CC,VVV),80,0);
 VARD:=EMA(CLOSE,12)-EMA(CLOSE,26);
 VARE:=10*EMA(VARD,9);
 VARF:=2*(VARD-VARE);
 IF(VARF>0,6*VARF,0), COLORSTICK;

729133819.jpg

729133819.jpg

回复

使用道具 举报

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

本版积分规则