VAR1:=OPEN>CLOSE;
VAR2:=LAst(VAR1,2,1);
VAR3:=OPEN>CLOSE;
VAR4:=REF(OPEN,3)/CLOSE>1.09;
VAR5:=vol>REF(VOL,1)*1.2;
VAR6:=VOL<REF(VOL,2)*1.4;
VAR7:=LOW<REF(LOW,2)*1;
VAR8:=maX(OPEN,CLOSE)/MIN(OPEN,CLOSE)>1.035;
VAR10:=COUNT(VAR8,6)>=1;
VAR11:=HIGH<REF(LOW,4)*0.998;
VAR12:=CLOSE/LOW<1.02;
VAR13:=REF(CLOSE,1)/CLOSE>1.001;
VAR14:=REF(OPEN,6)/CLOSE>=1.02;
VAR15:=OPEN<REF(LOW,1)*1.02;
VAR16:=IF(NAMELIKE(1) OR NAMELIKE(2),0,1);
VAR18:=REF(MA(CLOSE,5),1)/REF(HIGH,1)>=1.001;
VAR19:=EMA(CLOSE,16)/OPEN>1.025;
VAR25:=OPEN/CLOSE>1.0995;
VAR26:=COUNT(VAR25,7)=0;
VAR27:=HHV(HIGH,19)/LLV(LOW,20)>=1.2;
VAR28:=FILTER(VAR2 AND VAR3 AND VAR4 AND VAR5 AND VAR6 AND VAR7 AND VAR10 AND VAR11 AND VAR12 AND VAR13 AND VAR14 AND VAR15 AND VAR16 AND VAR18 AND VAR19 AND VAR26 AND VAR27,2);
VAR29:=HIGH<MA(CLOSE,7);
VAR30:=LAST(VAR29,4,2);
VAR31:=REF(CLOSE,1)>REF(MA(CLOSE,3),1);
VAR33:=VOL>REF(VOL,1)*0.6 AND VOL<REF(VOL,1)*1.3;
VAR34:=REF(LOW,1)>REF(LOW,2)*0.985;
VAR38:=MAX(OPEN,CLOSE)/MIN(OPEN,CLOSE)<1.06;
VAR39:=MA(CLOSE,20)/CLOSE>1.09;
VAR40:=EMA(CLOSE,60)/CLOSE>1.08 AND EMA(CLOSE,60)/CLOSE<1.25;
VAR41:=REF(CLOSE,5)/CLOSE>1.025;
VAR42:=CLOSE/LOW<1.035;
VAR43:=REF(VOL,5)>VOL*0.8;
VAR44:=REF(VOL,4)<VOL*2;
VAR45:=REF(OPEN,1)<=REF(CLOSE,2)*1.02;
VAR46:=OPEN<REF(CLOSE,1)*1.002;
VAR48:=CLOSE-REF(CLOSE,10);
VAR49:=EMA(VAR48,6);
VAR50:=VAR49>REF(VAR48,1)*0.97;
VAR51:=FILTER(VAR30 AND VAR31 AND VAR33 AND VAR34 AND VAR38 AND VAR39 AND VAR41 AND VAR42 AND VAR43 AND VAR44 AND VAR40 AND VAR45 AND VAR46 AND VAR50,2);
XG:VAR28 OR VAR51;