DIF:(EMA(CLOSE,12)-EMA(CLOSE,26))*1000;
DEA:EMA(DIF,9);
MACD:(DIF-DEA)*2,COLORSTICK;
防背离:-(MA(DIF,9)+250),COLORGREEN;
STICKLINE(CROSS(防背离,DIF),500,0,2,0),COLORGREEN;
STICKLINE(CROSS(DIF,防背离),500,0,2,0),COLORRED;
DRAWICON(CROSS(DIF,DEA),DIF,1);
DRAWICON(CROSS(DEA,DIF),DIF,2);