VAR87:=MA(CLOSE,5);
VAR23:=MA(CLOSE,10);
VAR97:=MA(CLOSE,20);
VAR22:=MA(CLOSE,30);
VAR62:=MA(CLOSE,60);
VAR72:=MA(CLOSE,120);
VAR87XL:=SLOPE(VAR87,2)*100;
VAR23XL:=SLOPE(VAR23,2)*100;
VAR97XL:=SLOPE(VAR97,2)*100;
VAR22XL:=SLOPE(VAR22,2)*100;
VAR62XL:=SLOPE(VAR62,2)*100;
VAR72XL:=SLOPE(VAR72,2)*100;
VAR18:= VAR87XL>0 AND VAR23XL>0 AND VAR97XL>0 AND VAR22XL>0 AND VAR62XL>0;
VAR48:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>9.8;
VAR32:=(OPEN-REF(CLOSE,1))/REF(CLOSE,1)*100<5.5;
VAR82:=NOT(OPEN=HIGH);
VAR29:=NOT(REF(CLOSE,1)/REF(CLOSE,2)>1.098);
VAR59:=VAR48 AND VAR32 AND VAR82 AND VAR29;
XG:VAR18 AND VAR59;