VAR1:=IF(NAMELIKE(1),1,0)=0;
VAR2:=IF(NAMELIKE(2),1,0)=0;
VAR3:=IF(NAMELIKE(3),1,0)=0;
VAR4:=IF(CODELIKE(4),1,0)=0;
VAR5:=IF(CODELIKE(5),1,0)=0;
VAR6:=IF(CODELIKE(6),1,0)=0;
VAR7:=VAR1 AND VAR2 AND VAR3 AND VAR5 AND VAR6;
VAR8:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
VAR9:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
VAR10:=SUM(VAR8,5);
VAR11:=SUM(VAR9,5);
VAR12:=IF(VAR10>VAR11,(VAR10-VAR11)/VAR10,IF(VAR10=VAR11,0,(VAR10-VAR11)/VAR11));
VAR13:=MA(VAR12,5);
VAR14:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
VAR15:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
VAR16:=SUM(VAR14,3);
VAR17:=SUM(VAR15,3);
VAR18:=IF(VAR16>VAR17,(VAR16-VAR17)/VAR16,IF(VAR16=VAR17,0,(VAR16-VAR17)/VAR17));
VAR19:=MA(VAR18,3);
VAR20:=HHV(CLOSE,2);
VAR21:=BARSLAST(VAR20< REF(VAR20,2));
VAR22:=IF(INBLOCK(1),0.2,IF(INBLOCK(2),0.2,IF(INBLOCK(3),0.05,0.1)));
VAR23:=CLOSE>=ZTPRICE(REF(CLOSE,1),VAR22) AND CLOSE=HIGH AND OPEN!=HIGH;
VAR24:=REF(BARSLASTCOUNT(VAR23),1);
VAR25:=(OPEN-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR26:=DYNAINFO(15)/OPEN/100;
VAR27:=IF(CAPITAL< 100000,100000,CAPITAL);
VAR28:=VAR26/REF(MA(vol,5),1)*240;
VAR29:=VAR25*VAR26/VAR27*100;
VAR30:=DYNAINFO(15)/OPEN/FINANCE(46)*100;
XG:RANGE(VAR25,4,9) AND VAR24=1 AND VAR28>20 AND VAR29>4 AND VAR30>1.5 AND VAR7 AND CLOSE< 40;