DRAWTEXT_FIX(1,0,0,0,ZDBLOCK),COLORYELLOW;
DIF1:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA1:=EMA(DIF1,9)NODRAW;
MACD1:=3*(DIF1-DEA1),STICK;
MACD2:=REF(MACD1,1);
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,1,0),COLORRED;
STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,1,0),COLORRED;
STICKLINE(MACD1<MACD2,0,MACD1,1,0),COLORGREEN;
STICKLINE(MACD1>=0 OR MACD1<=0,0,0,50,1),COLORRED;
MACD:MACD1,NODRAW,COLORMAGENTA;
DIF:DIF1,COLORLIBLUE;
强F:IF(DIF>REF(DIF,1),DIF,DRAWNULL),COLORYELLOW,LINETHICK2;
DIF1:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA1:=EMA(DIF1,9)NODRAW;
MACD1:=3*(DIF1-DEA1),STICK;
MACD2:=REF(MACD1,1);
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,1,0),COLORRED;
STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,1,0),COLORRED;
STICKLINE(MACD1<MACD2,0,MACD1,1,0),COLORGREEN;
STICKLINE(MACD1>=0 OR MACD1<=0,0,0,50,1),COLORRED;
MACD:MACD1,NODRAW,COLORMAGENTA;
DIF:DIF1,COLORLIBLUE;
强F:IF(DIF>REF(DIF,1),DIF,DRAWNULL),COLORYELLOW,LINETHICK2;