X_1:=HIGH/CLOSE 1.04 AND OPEN/LOW 1.04 AND CLOSE OPEN AND CLOSE/OPEN REF(CLOSE/OPEN,1);
X_2:=CLOSE EMA(CLOSE,5) AND EMA(CLOSE,5) EMA(CLOSE,10) AND EMA(CLOSE,5) EMA(CLOSE,20) AND EMA(CLOSE,10) EMA(CLOSE,20);
X_3:=vol/EMA(VOL,5)
X_4:=REF(X_1,1) AND REF(X_1,2) AND X_2 AND (X_3 OR REF(X_3,1));
XG:FILTER(X_4,3);