VAR1:=MA(CLOSE,41)+MA(CLOSE,41)*10/100;
VAR2:=MA(CLOSE,23)+MA(CLOSE,3)*5/100;
VAR3:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
VAR4:=MA(HIGH,5);
VAR5:=CLOSE>REF(CLOSE,1)*1.058;
VAR6:=IF(NAMELIKE(1),0,1);
VAR7:=IF(NAMELIKE(2),0,1);
VAR8:=IF(NAMELIKE(3),0,1);
VAR9:=DYNAINFO(17)>0;
VAR10:=VAR7 AND VAR8 AND VAR9;
XG:CROSS(VAR4,VAR1) OR CROSS(VAR3,VAR1) OR CROSS(VAR3,VAR2) AND VAR5;