X:=TOPRANGE(VOL);
TJ4:=C>O AND REF(C,X)>REF(O,X);
TJ1:=X>7 AND (V/REF(V,X)>=0.96 AND V/REF(V,X)<=1.04) AND TJ4;
TJ2:=X>3 AND X<=7 AND (V/REF(V,X)>=0.97 AND V/REF(V,X)<=1.03) AND TJ4;
TJ1 OR TJ2;
A1:=REF(C,2)<REF(C,1); A2:=REF(C,1)<C; B1:=REF(C,2)>REF(O,2); B2:=REF(C,1)>REF(O,1); B3:=C>O; C1:=REF(VOL,2)>REF(VOL,1); C2:=REF(VOL,1)>VOL; XG:A1 AND A2 AND B1 AND B2 AND B3 AND C1 AND C2;