VAR1:=IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1));
VAR2:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,VAR1)));
VAR3:=IF(MOD(FROMOPEN,VAR2)<0.5,VAR2,MOD(FROMOPEN,VAR2));
VAR4:=IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),V*(VAR2+3)/(VAR3+3),V);
VAR5:=IF(FINANCE(3)=2,0.3,IF((FINANCE(3)=3 OR FINANCE(3)=4 OR FINANCE(3)=6),0.2,0.1));
VAR6:=ZTPRICE(REF(C,1),IF(NAMEINCLUDE('ST'),0.05,VAR5));
VAR14:=BARSLAST(H>=VAR6 AND C<H);
VAR22:=VAR14>8 AND REF(C,1)<=REF(REF(H,VAR14),1) AND C>REF(REF(H,VAR14),1) AND C>O;
超八加:=VAR22 AND REF(COUNT(VAR22,VAR14),1)<=2;
红加号:超八加;