通达信红买黄卖指标公式

通达信准备出击指标公式

VAR1:=EMA(CLOSE,12)-EMA(CLOSE,26);

VAR2:=EMA(VAR1,50);

VAR3:=2*(VAR1-VAR2);

stICKLINE(VAR3<REF(VAR3,1) AND VAR3>0,0,VAR3,4,1),COLORYELLOW;

STICKLINE(VAR3>=REF(VAR3,1)AND VAR3>0,0,VAR3,4,1),COLORRED;

STICKLINE(VAR3>REF(VAR3,1)AND VAR3<0,0,VAR3,4,1),COLORFFC8FF;

STICKLINE(VAR3<=REF(VAR3,1)AND VAR3<0,0,VAR3,4,1),COLORFFCC66;

趋势一:EMA(CLOSE,12)-EMA(CLOSE,26),COLORRED;

趋势二:EMA(VAR1,50),COLORGREEN;

通达信灰马操盘均线主图指标公式