DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2;
MM:={REF(MacD,1)0 AND MACD>REF(MACD,1)) OR
(MACD<0 AND MACD>REF(MACD,1)));
DIF55:=(EMA(CLOSE,30)-EMA(CLOSE,90))*0.55;
DEA55:=(EMA(DIF55,26));
MACD周:=(DIF55-DEA55)*2;
Z1:=MA(C,21);
ZX:=REF(Z1,6.5);
A1:=(C-REF(C,1))/REF(C,1)*100;
A2:=SLOPE(CLOSE,3)/CLOSE*100;
MA5:=BArslAST(A1>3);
XGS:={crOSS(C,ZX) AND C>ZX AND} A1>3 AND CROSS(A2,0);
AA:=REF(CLOSE,1);
DDS:=SMA(MAX(CLOSE-AA,0),5,1)/SMA(Abs(CLOSE-AA),5,1)*1000;
HHD:=DDS-LLV(DDS,10);
SS:=(MA(HHD,2)*3+HHD*13)/16;
短线:=IF(SS>13,MA(SS,2),SS)/6;
出击:=COUNT(CROSS(短线,8.5),2)>0 AND (短线<30)AND C>REF(C,1);
低位出击:=COUNT(出击,2) AND MM AND MACD>0 AND MACD周>0 ;
出击XG:FILTER(低位出击 ,5 );