DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG),colorwhite;
DEA:EMA(DIF,MID),coloryellow;
MACD:(DIF-DEA)*2;
STICKLINE((DIF<DEA)AND(DIF<0),0,MACD,12,0),colorgreen;
STICKLINE((DIF>DEA)AND(DIF<0),0,MACD,12,0),colorlired;
STICKLINE((DIF>DEA)AND(DIF>0),0,MACD,12,0),colorred;
STICKLINE((DIF<DEA)AND(DIF>0),0,MACD,12,0),colorligreen;