X_1:=EMA(CLOSE,2);
X_2:=EMA(SLOPE(CLOSE,8)*1+CLOSE,8);
X_3:=crOSS(X_1,X_2);
X_4:=EMA(CLOSE,3);
X_5:=EMA(SLOPE(CLOSE,8)+CLOSE,7);
X_6:=CROSS(X_4,X_5);
X_7:=CLOSE/REF(CLOSE,1)>=1.0995;
X_8:=BArslAst(X_7);
X_9:=(EMA(CLOSE,3)+EMA(CLOSE,7)+EMA(CLOSE,16))/3;
X_10:=CLOSE>X_9;
X_11:=EVERY(X_10,X_8);
X_12:=REF(X_11,2);
X_13:=REF(CLOSE,1)<REF(X_9,1);
X_14:=CLOSE>EMA(CLOSE,5);
X_15:=EVERY(X_14,X_8);
X_16:=REF(X_15,2);
X_17:=MA(CLOSE,5)>REF(MA(CLOSE,5),1);
X_18:=EVERY(X_17,X_8);
X_19:=REF(X_18,1);
X_20:=REF(CLOSE,1)<REF(MA(CLOSE,5),1);
X_21:=HIGH/REF(CLOSE,1)>=1.03;
XG1:X_8<=15 AND X_3 AND X_6 AND X_12 AND X_16 AND X_13 AND X_20 AND X_21;