N:=30;
M:=2;
CHGW:=H=HHV(H,N);
T:=BARSLAST(CHGW);
HH:=REF(H,T);
HH30:=HHV(H,30);
LL30:=LLV(L,30);
HL:=(HH30-LL30)/LL30*100;
ABC1:=crOSS(C,REF(HH,1));
ABC2:=V/REF(V,1)>=M;
ABC3:=C/REF(C,1)>1.03 AND (C-L)/(H-L)>0.6;
ABC4:=REF(HL< 20,1);
HGW:=ABC1 AND ABC2 AND ABC3 AND ABC4;
AA:=vol>REF(V,1)*1.9;
ZT:=C>REF(C,1)*1.095;
XG:FILTER(HGW=1,5)OR AA AND ZT;