macd:(expma(CLOSE,30)-REF(EXPMA(CLOSE,30),1))/REF(EXPMA(CLOSE,30),1),COLORSTICK;
DIF:EMA(SUM(MacD,2),3),LINETHICK1,COLORYELLOW;
入1:IF(DIF>REF(DIF,1),DIF,DRAWNULL),COLORRED,LINETHICK1;
入2:IF(DIF<REF(DIF,1),DIF,DRAWNULL),COLOR00FF00,LINETHICK1;
DRAWBAND(MACD,RGB(0,128,128),入2,RGB(25,25,0));
DEA2:MA(DIF,5);