TIR:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
AAQ:=(HHV(HIGH,20) - (2 * ATR));
BBQ:=CROSS(CLOSE,REF(HHV(HIGH,55),1));
SSS:=CROSS(MIN(MA(CLOSE,13),AAQ),CLOSE);
BBB:=BARSLAST(BBQ);
SSSB:=BARSLAST(SSS);
B1:=((BBB = 0) AND (REF(SSSB,1) < REF(BBB,1)));
流通市值:=CAPITAL*C/1000000;
ZF1:=(REF(C,1)-REF(C,2))/REF(C,2)*100;
ZF:=(C-REF(C,2))/REF(C,2)*100;
S1:=IF(NAMELIKE('S'),0,1);
S2:=IF(NAMELIKE('*'),0,1);
S3:=DYNAINFO(17)>0;
S4:=IF(CODELIKE('688'),0,1);
去停ST:=S1 AND S2 AND S3 AND S4;{去科创板,去ST,去停牌};
MA54:=MA(CLOSE,54);
MA10:=MA(CLOSE,10);
L1:=(((CLOSE-MA54)/MA54)<0.1);
L2:=(((CLOSE-MA10)/MA10)<0.3);
PT:=(((L1=1) AND (L2=1))*0.2);
平台突破:=((((PT=0) AND (REF(PT,1)=0.2)) AND (REF((COUNT((PT=0.2),10)=10),1)=1))*-0.1);
妖突:=平台突破=-0.1;
KF:=100*(O-REF(C,1))/REF(C,1);
XG:C<30 AND KF<4 AND B1>0 AND 去停ST AND 流通市值<100 AND ZF1<7 AND 妖突 AND ZF>5;