红柱:IF("macd.MacD">REF("MACD.MACD",1),"MACD.MACD",DRAWNULL),STICK,COLORRED;
绿柱:IF("MACD.MACD"<REF("MACD.MACD",1),"MACD.MACD",DRAWNULL),STICK,COLORYELLOW;
底部:Abs((crOSS("MACD.DIF","MACD.DEA")AND"MACD.DEA"<=-0.07)*"MACD.DIF")*1.50,COLORLIMAGENTA;
DIF1:"MACD.DIF",COLORWHITE;DEA1:"MACD.DEA",COLORYELLOW;
强度1:IF(DIF1>DEA1,DIF1,DRAWNULL),COLORRED,LINETHICK2;
强度2:IF(DEA1<DIF1,DEA1,DRAWNULL),COLORMAGENTA,LINETHICK2;
DRAWTEXT(ABS(底部)>0,底部*1.20,' 抄底'),COLORYELLOW;
DRAWICON(ABS(底部)>0,底部*1.10,4);
DRAWICON(CROSS(DIF1,DEA1),DEA1,1);
DRAWICON(CROSS(DEA1,DIF1),DEA1,2);
M1:=MA(C,5);M2:=MA(C,10);M3:=MA(C,21);M4:=MA(C,30);M5:=MA(C,60);
XG1:=REF(C,1)<REF(C,2)*1.01 OR REF(C,1)<=REF(C,2)+0.05;
XG:=XG1 AND (CROSS(M1,M2) OR CROSS(REF(M1,1),REF(M2,1)))AND M2>M3 AND M3>M4 AND M4>M5 AND MA(V,5)>MA(V,10) AND CROSS('MACD.DIF','MACD.DEA')AND 'MACD.DIF'<0.2,COLORRED;
DRAWTEXT(XG,0.058,'爆发'),COLORRED;