A1:=BARSCOUNT(C)<360 AND BARSCOUNT(C)>180;
A2:=CAPITAL<1000000000;
A3:=HHV(H,360)<20;
A4:=(C-LLV(C,360))/(HHV(H,360)-LLV(L,360))*100<10;
XG:A1 AND A2 AND A3 AND A4;
A1:=BARSCOUNT(C)<360 AND BARSCOUNT(C)>180;
A2:=CAPITAL<1000000000;
A3:=HHV(H,360)<20;
A4:=(C-LLV(C,360))/(HHV(H,360)-LLV(L,360))*100<10;
XG:A1 AND A2 AND A3 AND A4;