TJ:=(FINANCE(3)=4 OR (DATE>1200822 && FINANCE(3)=3));
TJ3:=(FINANCE(3)=2);
ZTJ:=IF(TJ3,ZTPRICE(REF(CLOSE,1),0.3),IF(TJ,ZTPRICE(REF(CLOSE,1),0.2),ZTPRICE(REF(CLOSE,1),0.1)));
ZT:=(CLOSE>=ZTJ); {以涨停收盘}
月开:=REF(OPEN,BARSLAST(MONTH!=REF(MONTH,1)));
AA:=C>MA(CLOSE,250);
BB:=IF(INBLOCK('科创板'),0,1);{去科创板}
CC:=FINANCE(42)>50 AND EXIST(ZT,10); { 上市满50天,N天存在以涨停收盘 };
DD:=C>月开;
EE:=C>REF(L,BARSLAST(ZT));
XG:AA AND BB AND CC AND DD AND EE;