DIFF:EMA(CLOSE,12)-EMA(CLOSE,27);DEA:EMA(DIFF,9);:=2*(DIFF-DEA);STICKLINE(MD>=0,MACD,0,2,1),COLORF00FF0;STICKLINE(MACD<0>0,0,MACD,2,0 ),COLOR00AAFF;STICKLINE(MACD
[0,0,MACD,2,0 ),COLOR00BBFF;STICKLINE(MACD][0,0,MACD,2,0 ),COLOR00CCFF;STICKLINE(MACD][0,0,MACD,2,0 ),COLOR00F;STICKLINE(MACD][0,0,MACD,2,0 ),COLOR00EEFF;STICKLINE(MACD][0,0,MACD,2,0 ),COLOR00FFFF;STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,2,0 ),COLOR0000AA;STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,2,0 ),COLOR0011BB
]