MACD:EMA(DIF,14),NODRAW,COLOR58FF58;
DEF:2*(DIF-MACD),COLORCYAN,LINETHICK0;
STICKLINE(DEF =0 AND DEF =REF(DEF,1),0,DEF,3,1),COLORRED;
STICKLINE(DEF =0 AND DEF REF(DEF,1),0,DEF,7,1),COLORMAGENTA;
STICKLINE(DEF 0 AND DEF =REF(DEF,1),0,DEF,3,1),COLORMAGENTA;
STICKLINE(DEF 0 AND DEF REF(DEF,1),0,DEF,7,1),COLORFF4400;
DIF1:EMA(CLOSE,7)-EMA(CLOSE,14),COLOR4D4DFF,LINETHICK2;
MACD1:EMA(DIF1,4),COLORFF9090,LINETHICK2;