N:=3;
ZTXS:=IF((FINANCE(3)=4 OR (DATE>1200822&&FINANCE(3)=3)),0.2,0.1);
涨停价:=ZTPRICE(REF(C,1),ZTXS);
涨停:=C>=涨停价;
TZT:=BArslAST(涨停);
XG:EVERY(L>REF(C,TZT),N+1) AND TZT=N+1;
N:=3;
ZTXS:=IF((FINANCE(3)=4 OR (DATE>1200822&&FINANCE(3)=3)),0.2,0.1);
涨停价:=ZTPRICE(REF(C,1),ZTXS);
涨停:=C>=涨停价;
TZT:=BArslAST(涨停);
XG:EVERY(L>REF(C,TZT),N+1) AND TZT=N+1;