在线检测未来函数

通达信强度MAX指标公式

来源:Internet,编辑:股旁网,2020-06-09

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;

通达信强度MAX指标公式

相关文章