通达信强度MAX指标公式

通达信千里挑一选股指标公式

通达信强度MAX指标公式:

A:=(C-REF(C,1))/C;

B:=(INDEXC-REF(INDEXC,1))/INDEXC;

D:=(A-B)*100;

VAR1:=A>0 AND B>0;

VAR2:=A>0 AND B<0;

VAR3:=A<0 AND B>0;

VAR4:=A<0 AND B<0;

stICKLINE(VAR1,0,D,8,0),COLOR0000FF;

STICKLINE(VAR2,0,D,8,0),COLORCC66FF;

STICKLINE(VAR3,0,D,8,0),COLOR00FFFF;

STICKLINE(VAR4,0,D,8,0),COLOR00FF00;

E:EMA(MA(D,5),3),COLORRED,LINETHICK2;

强度:10*SMA(MAX(D,0),12,1)/SMA(Abs(D),12,1)-5,COLORCYAN;

通达信波段密码指标公式