VAR1:=MA(CLOSE,20);
VAR2:=CLOSE>MA(CLOSE,5);
VAR3:=MA(CLOSE,5)>MA(CLOSE,10);
VAR4:=CLOSE>MA(CLOSE,10);
VAR5:=MA(CLOSE,5)>MA(CLOSE,20);
VAR6:=CLOSE>MA(CLOSE,20);
VAR7:=REF(VAR1,1);
VAR8:=VAR1>VAR7;
VAR9:=IF(VAR2,10,0-10)+IF(VAR3,10,0-10)+IF(VAR4,10,0-10)+IF(VAR5,10,0-10)+IF(VAR6,10,0-10)+IF(VAR8,10,0-10);
VAR10:=CLOSE>MA(LOW,20)*1.1;
VAR11:=vol/MA(VOL,60)>0.5 AND CLOSE>OPEN;
VAR12:=FINANCE(7)<10000000000;
VAR13:=IF(NAMELIKE(6),0,1);
VAR14:=IF(NAMELIKE(7),0,1);
VAR15:=DYNAINFO(17)>=2;
VAR16:=REF(CLOSE,1)<50;
VAR17:=REF(CLOSE,1)>4.5;
VAR18:=VAR12 AND VAR13 AND VAR14 AND VAR15 AND VAR16 AND VAR17;
XG:VAR9>40 AND VAR10=1 AND REF(VAR10=0,1) AND VAR11 AND VAR18;