DRAWGBK(C>1, COLORRGB(50,80,40), COLORRGB(20,70,110),1);0,COLORFF6633;
DIFF:EMA(CLOSE,12) - EMA(CLOSE,26),COLORMAGENTA,LINETHICK1;
DEA:EMA(DIFF,9),COLORYELLOW,LINETHICK1;
macd:2*(DIFF-DEA), COLORSTICK;
MacD1:2*(DIFF-DEA),COLORRED;
MACD2:WMA(MACD1,3),COLORCYAN;
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,2,0),COLORRED;
STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,2,0),COLORYELLOW;
STICKLINE(MACD1<MACD2,0,MACD1,1,0),COLORCYAN;