X_1:=MA(CLOSE,41)+MA(CLOSE,41)*10/100;
X_2:=MA(CLOSE,23)+MA(CLOSE,3)*5/100;
X_3:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
X_4:=MA(HIGH,5);
X_5:=CLOSE>REF(CLOSE,1)*1.058;
X_6:=IF(NAMELIKE(1),0,1);
X_7:=IF(NAMELIKE(2),0,1);
X_8:=IF(NAMELIKE(3),0,1);
X_9:=DYNAINFO(17)>0;
X_10:=X_7 AND X_8 AND X_9;
XG:CROSS(X_4,X_1) OR CROSS(X_3,X_1) OR CROSS(X_3,X_2) AND X_5;