通达信宇宙第二主图指标公式

通达信涨跌停颜色标记主图指标公式

通达信宇宙第二主图指标公式:

MAA5:MA(C,5),COLORWHITE;

MAA10:MA(C,10)COLORYELLOW;

MAA23:MA(C,23),COLORMAGENTA;

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

AA:=100*EMA(EMA(A,6),6)/EMA(EMA(Abs(A),6),6);

买:=LLV(AA,2)=LLV(AA,7) AND COUNT(AA<-20,2) AND crOSS(AA,MA(AA,2));

DRAWICON(FILTER(买=1,5),LOW*0.982,7);

VAR1:=(HIGH+LOW+OPEN+2*CLOSE)/5;

VAR2:=REF(VAR1,1);

VAR3:=SMA((CLOSE-VAR2),6,1)/SMA(ABS(CLOSE-VAR2),6,1)*100;

VAR4:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;

DRAWICON(FILTER(REF(VAR3,1)>81 AND VAR3<80 OR CROSS(68,VAR4),5),HIGH*1.015,8);

VARC:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;

DRAWTEXT(CROSS(84,VARC),H*1.01,'---顶'),COLORYELLOW;

通达信坑里买选股指标公式