DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);:=(DIF-DEA)*2,COLORSTICK;SA:=INTPART(MD*100+0.5)/100,COLORYELLOW,NODRAW;红天数:=IF(MACD>0,BAAST(OSS(MACD,0)),DRAWNULL),COLORYELLOW,NODRAW;绿天数:=IF(MACD<0>0,MACD,0,2.5,1),COLORRED;W2:STICKLINE(MACD<0 MACD,0,2.5,1),COLORCYAN;VA1:=HHVBARS(MACD,BARSLAST(MACD VA2:=CROSS(BACKSET(CROSS(0,MACD),REF(VA1,1)+2),0.5);QG: DRAWLINE(VA2,MACD,REF(VA2,1),REF(MACD,1),1),COLORGREEN,DOTLINE;NOTEXT前高A:DRAWLINE(VA2,MACD,ISLASTBAR,REF(MACD,BARSLAST(VA2)),1),COLORWHITE,DOTLI