A:=BARSCOUNT(CLOSE)<150;
A1:=EVERY(C/REF(C,1)>=1.097 AND C=O,5);
A2:=BArslAST(A1)=1;
A3:=C/REF(C,1)<1.098 OR O/REF(C,1)<1.098 OR L/REF(C,1)<1.098;
XG:A AND A2 AND A3;
A:=BARSCOUNT(CLOSE)<150;
A1:=EVERY(C/REF(C,1)>=1.097 AND C=O,5);
A2:=BArslAST(A1)=1;
A3:=C/REF(C,1)<1.098 OR O/REF(C,1)<1.098 OR L/REF(C,1)<1.098;
XG:A AND A2 AND A3;