通达信强度MAX指标公式
2021/3/25 19:07:52
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;
投股票 网 ww w.tou18.cn
股市公式下载推荐