X_1:=CLOSE/REF(CLOSE,1) 1.098 AND HIGH=CLOSE;
X_2:=BARSLAST(X_1);
X_3:=COUNT(LOW MA(CLOSE,13),X_2)=1;
X_4:=LOW MA(CLOSE,13) AND X_3;
X_5:=MA(CLOSE,13) MA(CLOSE,25) AND MA(CLOSE,25) MA(CLOSE,55) AND MA(CLOSE,25) REF(MA(CLOSE,25),1);
X_6:=COUNT(LOW MA(CLOSE,13),3)=2;
X_7:=REF(X_5,1) AND REF(X_4,1) AND X_6 AND LOW REF(LOW,1) AND REF(MA(CLOSE,13),1) REF(MA(CLOSE,13),2);
XG:FILTER(X_7,5);