X_1:=EMA(CLOSE,40);
X_2:=X_1*1.12;
X_4:=EVERY(X_2/REF(X_2,1)<1.01,10);
X_5:=EVERY(X_2>REF(X_2,1),10);
X_6:=X_4 AND X_5;
X_7:=X_2>EMA(CLOSE,249);
X_8:=X_6 OR REF(X_6,1) AND crOSS(CLOSE,X_2) AND X_7;
X_9:=EMA(EMA(HIGH,3),3);
X_10:=EMA(EMA(HIGH,9),9);
X_11:=CROSS(CLOSE,X_9) AND X_9>X_10;
X_12:=AMOUNT/REF(AMOUNT,1)>1.99;
X_13:=EXIST(X_11,4) AND REF(EXIST(X_12,9),1);
X_14:=EMA((2*CLOSE+HIGH+LOW)/4,6);
X_15:=EMA(LOW,50)*1.05;
X_16:=EMA(LOW,50)*1.08;
X_17:=EMA(LOW,50)*1.12;
X_18:=EMA(LOW,50)*1.17;
X_19:=EMA(LOW,50)*1.23;
X_20:=EMA(HIGH,3);
X_21:=CROSS(X_20,X_15) OR CROSS(X_20,X_16) OR CROSS(X_20,X_17) OR CROSS(X_20,X_18) OR CROSS(X_20,X_19);
XG:X_8 AND X_13 AND LOW