N:=12;N1:=26;M:=9;DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);DEA:EMA(DIFF,9);:2*(DIFF-DEA),LINETHICK0;DRAWBAND(DIFF,RGB(255,128,192),DEA,RGB(128,255,128));STICKLINE(MACD>=0,MACD,0,2.5,1),COLORF00FF0;STICKLINE(MACD<0>0,0,MACD,2.5,0 ),COLOR00AAFF;STICKLINE(MACD
[0,0,MACD,2.5,0 ),COLOR00BBFF;STICKLINE(MACD][0,0,MACD,2,0 ),COLOR00CCFF;STICKLINE(MACD][0,0,MACD,1.5,0 ),COLOR00DDFF;STICKLINE(MACD][0,0,MACD,1,0 ),COLOR00EEFF;STICKLINE(MACD][0,0,MACD,0.5,0 ),COLOR00FFFF;STICKLINE(MACD>=REF(MACD,1)AN
]