{四去+流通盘}
剔停牌:=NOT(DYNAINFO(4)=0);
剔ST:=NOT(NAMELIKE('S') OR NAMELIKE('*'));
剔创业板:=NOT(CODELIKE('3'));
剔科创板:=NOT(CODELIKE('688'));
SQ:=剔停牌 AND 剔ST AND 剔创业板 AND 剔科创板;
XIAO:=CAPITAL<100000000;
DA:=CAPITAL>1;
LTP:=DA AND XIAO;
SQLT:=SQ AND LTP;
MA1:=MA(C,5);
MA2:=MA(C,10);
百日大量:=VOL>REF(HHV(VOL,100),1);
SB1:=C/REF(C,1)>1.095 AND C=H AND V/CAPITAL*100<25;
SB2:=EVERY(SB1,3) AND COUNT(O=H,3)<2 AND COUNT(百日大量,3)>=1 AND COUNT(SB1,20)=3;
SB3:=REF(NOT(SB1),BARSLAST(SB2)+3);
SB4:=BARSLAST(SB1 AND SB2 AND SB3);
XG1:=BARSLAST(SB1 AND SB2)>=5 AND BARSLAST(SB1 AND SB2)<=10;
{高控盘}
VAR1:=EMA(EMA(CLOSE,13),13);
VAR2:=100*WINNER(CLOSE*0.95);
KP:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
GDKP:=VAR2>50 AND COST(85)<CLOSE AND KP>0;
XG2:=REF(EVERY(NOT(SB1),SB4),1);
预警1:=(CROSS(C,MA2) AND O<MA2 AND C>MA2) AND (CROSS(C,MA1) AND O<MA1 AND C>MA1);
预警2:= EVERY(C>MA2,SB4) AND EVERY(MA1>MA2,SB4) AND (CROSS(C,MA1) AND O<MA1 AND C>MA1);
XG3:=预警1 OR 预警2;
XG4:=COUNT(C>MA2,SB4)>=5;
XG5:=REF((C-MA(C,60))/MA(C,60)<=0.30,1);
T:=BARSLAST(WINNER(C)*100<1);
D3:=REF(C/REF(C,T)<=3,1);
XG6:=REF(C,SB4-1)/REF(C,SB4)<1.03;
XG7:=REF(HHV(C,SB4),1)/REF(C,SB4)<=1,07 AND REF(LLV(C,SB4),1)/REF(C,SB4)>=0.83;
XG8:=MA(C,60)>REF(MA(C,60),1) AND REF(MA(C,60),1)>REF(MA(C,60),2);
XG:XG1 AND XG2 AND XG3 AND XG4 AND XG5 AND XG6 AND XG7 AND XG8 AND D3 AND SQLT;