N:=2;
FSS1:=IF(INBLOCK('科创板'),0.2,IF(INBLOCK('创业板'),0.2,0.1));
FSS2:=IF(INBLOCK('科创板'),0.2,IF(INBLOCK('创业板'),0.1,0.1));
FZTDY1:=(H>=ZTPRICE(REF(C,1),FSS1) AND C<>H) AND PERIOD<=5;
FZTDY2:=(H>=ZTPRICE(REF(C,1),FSS2) AND C<>H) AND PERIOD<=5;
涨停打开:=IF(DATE+19000000>=20200823,FZTDY1,FZTDY2);
XG:REF(涨停打开,1) AND (DYNAINFO(4)-DYNAINFO(3))/DYNAINFO(3)*100>N;