去ST:=NAMELIKE('ST')=0 AND NAMELIKE('*ST')=0 AND NAMELIKE('SST')=0 AND NAMELIKE('S*ST')=0;
去科创板:=NOT(CODELIKE('688'));
{去创业板:=NOT(CODELIKE('3'));}
去北证:=NOT(CODELIKE('8'));
去北证A:=NOT(CODELIKE('4'));
去新股:=IF(NAMELIKE('N'),0,1);
去次新股:=FINANCE(42) > 60;
股价:=OPEN>3.5 AND OPEN<80 ;
去大股:=CAPITAL/1000000 <10;
PC:=去ST AND 去科创板 AND{ 去创业板 AND }去北证 AND 去新股 AND 去北证A AND 去次新股 AND 股价 AND 去大股;
N:=12;
A1:=REF(C,N)=HHV(C,2*N+1); B1:=FILTER(A1,N);
C1:=BACKSET(B1,N+1);
HD:=FILTER(C1,N);
A2:=REF(C,N)=LLV(C,2*N+1); B2:=FILTER(A2,N);
C2:=BACKSET(B2,N+1);
LD:=FILTER(C2,N);
UU:=BACKSET(BARSTATUS=2,BARSLAST(HD)+1);
VV:=UU>REF(UU,1);
前期高位:=REF(C,BARSLAST(HD));
MA21:=MA(C,21);
MA250:=MA(C,250);
突破前高选股:CROSS(C,REF(前期高位,1)) AND (VOL>=REF(V,1)*2 OR VOL>=REF(V,2)*2) AND C>MA250 AND C>MA21 AND PC;