ZT:=C/REF(C,1)>1.098 AND H=C;
TS:=BARSLAST(ZT);
T1:=COUNT(L<MA(C,13),TS)=1;
T2:=L<MA(C,13) AND T1;
T3:=MA(C,13)>MA(C,25) AND MA(C,25)>MA(C,55) AND MA(C,25)>REF(MA(C,25),1);
T4:=COUNT(L<MA(C,13),3)=2;
T5:=REF(T3,1) AND REF(T2,1) AND T4 AND L<REF(L,1) AND REF(MA(C,13),1)>REF(MA(C,13),2);
XG:FILTER(T5,5);