{去ST,科创,北证}
去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);}
PC:=去ST AND 去科创板 AND{ 去创业板 AND }去北证{ AND 去新股}AND 去北证A;
B1:=EMA(C,2);
散:=EMA(B1,2);
户:=EMA(散,2);
线:=EMA(户,2);
机构线:=EMA(散,5);
防守线:=EMA(户,21);
ZT:=C>REF(C,1)*1.095
AND C<REF(C,1)*1.105
AND FINANCE(40)<10000000000
AND DYNAINFO(7)<10
AND L<机构线
AND 机构线>防守线
AND DYNAINFO(17)<8;
XA_1:=MA(CLOSE,5);
XA_2:=MA(CLOSE,8);
XA_3:=MA(CLOSE,13);
XA_4:=MA(CLOSE,21);
XA_5:=MA(CLOSE,34);
XA_6:=MA(CLOSE,55);
XA_7:=OPEN<=XA_1 AND CLOSE>XA_1;
XA_8:=OPEN<=XA_2 AND CLOSE>XA_2;
XA_9:=OPEN<=XA_3 AND CLOSE>XA_3;
XA_10:=OPEN<=XA_4 AND CLOSE>XA_4;
XA_11:=OPEN<=XA_5 AND CLOSE>XA_5;
XA_12:=OPEN<=XA_6 AND CLOSE>XA_6;
XA_13:=XA_7+XA_8+XA_9+XA_10+XA_11+XA_12>4;
首板:=CLOSE>OPEN AND CLOSE>REF(CLOSE,1)*1.097 AND CLOSE=HIGH AND XA_13;
ZT OR 首板 AND PC;