B1:=REF(HHV(C,21),3)/REF(LLV(C,21),3)<1.15;
B2:=REF(HHV(C,21),4)/REF(LLV(C,21),4)<1.15;
B3:=REF(HHV(C,21),5)/REF(LLV(C,21),5)<1.15;
B4:=REF(HHV(C,21),6)/REF(LLV(C,21),6)<1.15;
B5:=REF(HHV(C,21),7)/REF(LLV(C,21),7)<1.15;
B6:=REF(HHV(C,21),8)/REF(LLV(C,21),8)<1.15;
B7:=REF(HHV(C,21),9)/REF(LLV(C,21),9)<1.15;
A1:=B1 OR B2 OR B3 OR B4 OR B5 OR B6 OR B7;
A2:=C>REF(C,1) AND REF(C,1)>REF(C,2) AND REF(C,2)>REF(C,3);
A3:=C>O AND REF(C,1)>REF(O,1) AND REF(C,2)>REF(O,2);
A4:=HHV(H,130)/LLV(L,130)<1.7 AND HHV(H,240)/LLV(L,240)<2;
A5:=HHV(V,3)/LLV(V,3)>1.9 AND HHV(C,4)/LLV(C,4)>1.05 AND C*1.03>HHV(C,31)
AND HHV(C,240)/C<1.35 AND C*1.1>HHV(C,60);
A6:=REF(C,1)/REF(C,2)<1.09;
C1:=BARSCOUNT(V)>240;
C2:=FINANCE(1)<3000000000;
A7:=V*1.15>REF(V,1) AND V*3>HHV(V,240);
XG:A1 AND A3 AND A4 AND A5 AND A6 AND C1 AND C2 AND A7;