ZT:=C=H AND C>=ZTPRICE(REF(C,1),IF(CODELIKE('60') OR CODELIKE('00'),0.1,IF(CODELIKE('30') OR CODELIKE('68'),0.2,10)));
ST:=100*Abs(C-O)/REF(C,1);
T1:=C>O AND ST>3 AND ZT=0 AND V>2*REF(V,1) AND COUNT(ZT,10)=0;
N1:=BARSLAST(T1);
T2:=EVERY(V<REF(V,N1) AND ST<REF(ST,N1) AND L<REF(H,N1) AND ZT=0,N1) AND N1<20;
XG:T1 AND V>2*REF(V,REF(N1,1)+1) AND REF(T2,1);