轴:=CONST(DYNAINFO(3)),NODRAW;
DIFF: (EMA(CLOSE,12)-EMA(CLOSE,26))+轴,COLORGREEN;
DEA: EMA(DIFF,9),COLORGREEN;
MACD := (DIFF-DEA)*2 +轴,COLORSTICK ;
STICKLINE(MACD =轴,轴,MACD ,0,1),COLORRED;
STICKLINE(MACD 轴,轴,MACD ,0,1),COLORCYAN;
IF(轴 =DEA,轴,DRAWNULL),LINETHICK4,COLORGREEN;
IF(轴 DEA,轴,DRAWNULL),LINETHICK4,COLORRED;