通达信均线上通道指标公式

通达信人工智能主图指标公式

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;

{指标网-股票公式网站 www.GupaNg.com}

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;

通达信杀庄舔血指标公式