DIFF:EMA(VOL,12) - EMA(VOL,26), LINETHICK1,COLORWHITE;
DEA:EMA(DIFF,9),COLORGREEN;
MACD:DIFF-DEA, COLORSTICK;
IF(DIFF>=REF(DIFF,1),DIFF,DRAWNULL),COLORYELLOW,LINETHICK3;
MA5:MA(C,5),COLORGREEN,LINETHICK3;
IF(MA(C,5)>=REF(MA(C,5),1),MA(C,5),DRAWNULL),COLORRED,LINETHICK3;