零轴:0,DOTLINE,COLORLIRED,LINETHICK1;
DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG)COLORGREEN;
DEA:EMA(DIF,MID)COLORGREEN;
MACD:(DIF-DEA)*2,COLORSTICK;
IF(DIF =REF(DIF,1),DIF,DRAWNULL)COLORMAGENTA;
IF(DEA =REF(DEA,1),DEA,DRAWNULL)COLORMAGENTA;
零轴:0,DOTLINE,COLORLIRED,LINETHICK1;
DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG)COLORGREEN;
DEA:EMA(DIF,MID)COLORGREEN;
MACD:(DIF-DEA)*2,COLORSTICK;
IF(DIF =REF(DIF,1),DIF,DRAWNULL)COLORMAGENTA;
IF(DEA =REF(DEA,1),DEA,DRAWNULL)COLORMAGENTA;