N:=2;
X_1:=CLOSE>MA(CLOSE,60) AND LOW<=MA(CLOSE,60) AND CLOSE;
X_2:=CLOSE/REF(CLOSE,1)>1.093 AND CLOSE=HIGH;
X_3:=CLOSE>MA(CLOSE,250);
XG:X_1 OR X_3 AND X_2;
N:=2;
X_1:=CLOSE>MA(CLOSE,60) AND LOW<=MA(CLOSE,60) AND CLOSE;
X_2:=CLOSE/REF(CLOSE,1)>1.093 AND CLOSE=HIGH;
X_3:=CLOSE>MA(CLOSE,250);
XG:X_1 OR X_3 AND X_2;