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));
VAR7:=DTPRICE(REF(C,1),IF(NAMEINCLUDE('ST'),0.05,VAR5));
VAR8:=C>=ZTPRICE(REF(C,1),IF(NAMEINCLUDE('ST'),0.05,VAR5)) AND H!=L AND H>0;
VAR9:=C>=ZTPRICE(REF(C,1),IF(NAMEINCLUDE('ST'),0.05,VAR5)) AND H=L AND H>0;
VAR10:=C<=DTPRICE(REF(C,1),IF(NAMEINCLUDE('ST'),0.05,VAR5)) AND H!=L AND L>0;
VAR11:=C<=DTPRICE(REF(C,1),IF(NAMEINCLUDE('ST'),0.05,VAR5)) AND H=L AND L>0;
VAR12:=EMA(COST(85),10)>=REF(EMA(COST(85),10),1);
VAR13:=VAR12 AND EMA(COST(99),10)>=REF(EMA(COST(99),10),1);
VAR14:=BARSLAST(H>=VAR6 AND C<H);
VAR56:=BETWEEN(VAR14,0,8) AND IF(VAR14=0 AND BETWEEN(C,AMOUNT/V/100,REF(H,VAR14)),1,IF(VAR14>0,COUNT(C<REF(AMOUNT/V/100,VAR14),VAR14)=0 AND COUNT(C>REF(REF(H,VAR14),1),VAR14)=0,0));
VAR57:=VAR56 AND IF(CODELIKE('43') OR CODELIKE('83') OR CODELIKE('87') OR CODELIKE('88') OR BETWEEN(FINANCE(3),4,8) OR FINANCE(3)=2 OR NAMEINCLUDE('ST') OR NAMELIKE('*'),0,1);
钱袋:VAR57;