AA:=BARSLAST(C/REF(C,1)>1.095 AND C=H);
BB:=HHV(C,AA)<REF(C,AA)*1.04;
CC:=BETWEEN(LLV(L,AA)/MA(C,10),0.96,1.02);
DD:=BETWEEN(C/O,0.99,1.01) AND BETWEEN(C/MA(C,10),1,1.05) AND H>MAX(C,O) AND MAX(C,O)>L;
EE:=DD+REF(DD,1)=2 AND BETWEEN(C/REF(C,1),1,1.01) AND L>REF(L,1);
XG: BB AND CC AND EE;