通达信牛熊知顶底源码

 2023-12-12 22:06:10    通达信指标网  

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);

 


  •  标签:  

原文链接:https://www.tdxzb.com/?id=2024

本文版权:如无特别标注,本站文章均为原创。

相关文章

服务热线

18020657357

微信客服

微信客服