通达信均线上通道副图源码用法

 2023-10-28 13:30:04    通达信指标网  

D:=IF(CROSS(MA(C,5),MA(C,10)) OR (MA(C,5)=MA(C,10) AND MA(C,5)>REF(MA(C,5),1)),1,0);

均线上通道:D+IF(D>0 AND (MA(C,13)-REF(MA(C,13),1))>0,1,0)STICK,COLORRED;

均线转正向:IF(MA(C,5)>REF(MA(C,5),1) AND (REF(MA(C,5),1)-REF(MA(C,5),2))<=0 AND C>MA(C,5),1,0)STICK,COLORRED;

A:=IF(C>REF(C,1) AND VOL>REF(VOL,1),2,IF(C>REF(C,1) AND VOL<REF(VOL,1),1,IF(C<=REF(C,1) AND VOL>REF(VOL,1),-2,-1)));

B:=IF(C>MA(C,5),1,-1);

均线斜率:(MA(C,5)/REF(MA(C,5),1)-1)*100;

E:=(REF(A,1)+REF(A,2)+REF(A,3)+REF(A,4)+A+B)/5;

均线转负向:IF(MA(C,5)<=REF(MA(C,5),1) AND (REF(MA(C,5),1)-REF(MA(C,5),2))>=0 AND C<MA(C,5),-2,0)STICK,COLORGREEN;

F:=(REF(A,1)+REF(A,2)+REF(A,3)+REF(A,4)+A+B)/5;

量价配合评分:F;

BB:0;


均线转正是进场时间;

均线上通道时是加码时间;

均线负向是出场时间;

量价评分在均线斜率下,表示该股弱势.

量价配合评分向上表示主力积极进入形态正常,

当转为下降时,表示形态破坏,应表小心谨慎!为负分时应离场!

  •  标签:  

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

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

相关文章

服务热线

18020657357

微信客服

微信客服