A:=(C*2+H+L)/4*10;
A1:=EMA(A,13)-EMA(A,34);
A2:=EMA(A1,5);
A3:=2*(A1-A2)*5.5;
A4:=IF(A3 =0,A3,0);
A5:=A4 REF(A4,1) AND REF(A3 0,1);
A6:=REF(A4,1) =REF(A4,2)AND A4 REF(A4,1);
A7:= C/REF(C,1) 1.07;
VAR326:=IF(CLOSE REF(CLOSE,1),88,0);
VAR327:=IF(CLOSE/REF(CLOSE,1) 1.050 AND HIGH/CLOSE 1.010 AND VAR326 0, 91, 0);
XG:FILTER(VAR327 1,5) AND A5 OR A6 AND A7;