DIF:=(EMA(CLOSE,12) - EMA(CLOSE,26)),COLORRED;
DEA:=EMA(DIF,9),COLOR00FFFF;
macd:2*(DIF-DEA), COLORSTICK;
DIK:4*DIF-3*DEA,COLORFF00FF;
DED:=EMA(DIK,5),COLOR2588FF;
IF(C>DED,DED,DRAWNULL),COLOR0000F0,LINETHICK3;
IF(DED<=REF(DED,1),DED,DRAWNULL),COLOR00E600,LINETHICK3;