通达信MACD量化指标公式

通达信股价异动中长线选股指标公式

通达信MACD量化指标公式:

DIFF:EMA(CLOSE,12) - EMA(CLOSE,26),COLORWHITE;

DEA:EMA(DIFF,9),COLORYELLOW;

macd:2*(DIFF-DEA), COLORstICK,LINETHICK4;

红柱天数:BArslAST(MacD<0),COLORRED,LINETHICK0 NODRAW;

死叉天:=BARSLAST(MACD>0) NODRAW;

死叉天数:REF(死叉天,1),COLORGREEN,LINETHICK0 NODRAW;

DRAWNUMBER(crOSS(DEA,DIFF),0.2,BARSLAST(CROSS(DIFF,DEA))),COLORYELLOW;

DRAWNUMBER(CROSS(DIFF,DEA),-0.05,BARSLAST(CROSS(DEA,DIFF))),COLORGREEN;

通达信倒1倍选股指标公式