通达信波段无敌指标公式

 2024-01-08 22:37:56    通达信指标网  

P1:=0;

P2:= IF (CLOSE>MA(CLOSE,5),P1+10,P1-10);

P3:= IF (CLOSE>MA(CLOSE,10),P2+10,P2-10);

P4:= IF (CLOSE>MA(CLOSE,10),P3+10,P3-10);

P5:= IF (MA(CLOSE,5)>MA(CLOSE,10),P4+10,P4-10);

P6:= IF (MA(CLOSE,10)>MA(CLOSE,20),P5+10,P5-10);

BD:P6;

STICKLINE(BD>=-50,-50,BD,3,0),COLORGREEN;

STICKLINE(BD>=-30,-30,BD,3,0),COLORFFFF00;

STICKLINE(BD>=0,0,BD,3,0),COLORYELLOW;

STICKLINE(BD<=50 AND BD>=30,30,BD,3,0),COLORRED;

{STICKLINE(BD<=50 OR BD>=30,30,BD,3,0),COLORRED;};

  •  标签:  

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

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

相关文章

服务热线

18020657357

微信客服

微信客服