DIF:(EMA(CLOSE,3*AB)-EMA(CLOSE,4*AB)),COLORWHITE,LINETHICK1;
DEA:EMA(DIF,3/2*AB),COLORWHITE,LINETHICK1;
MACD:(DIF-DEA)*2,COLORSTICK;
MACD,COLORWHITE,LINETHICK1;{www.9m8.cn 九毛八公式指标网}
IF(DEA 0,MACD,DRAWNULL),COLORRED,LINETHICK3;
IF(DEA 0,DIF,DRAWNULL),COLORRED,LINETHICK3;
IF(DEA 0,DEA,DRAWNULL),COLORRED,LINETHICK3;
IF(DEA 0,MACD,DRAWNULL),COLORBLUE,LINETHICK3;
IF(DEA 0,DIF,DRAWNULL),COLORBLUE,LINETHICK3;
IF(DEA 0,DEA,DRAWNULL),COLORBLUE,LINETHICK3;