DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);DEA:EMA(DIFF,9);DRAWBAND(DIFF,RGB(150,30,80),DEA,RGB(0,100,0));:(DIFF-DEA)*2,COLORCYAN,COLORSTICK;STICKLINE(MACD>=0,MACD,0,0.5,1),COLORF00FF0;STICKLINE(MACD<0>0,0,MACD,0.1,0 ),COLOR00AAFF;STICKLINE(MACD
[0,0,MACD,0.1,0 ),COLOR00BBFF;STICKLINE(MACD][0,0,MACD,0.1,0 ),COLOR00CCFF;STICKLINE(MACD][0,0,MACD,0.1,0 ),COLOR00DDFF;STICKLINE(MACD][0,0,MACD,0.1,0 ),COLOR00EEFF;STICKLINE(MACD][0,0,MACD,0.1,0 ),COLOR00FFFF;STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0
]