volUME:=VOL;
VOLUME5:=MA(VOLUME,5);
VOLUME13:=MA(VOLUME,13);
VOLUME35:=MA(VOLUME,35);
VOLUME135:=MA(VOLUME,135);
A1:=REF(VOL,1)<=VOLUME135 AND REF(VOL,1)<VOLUME35 AND REF(VOL,1)<VOLUME13 AND REF(VOL,1)<VOLUME5;
A2:=VOL<=VOLUME135 AND VOL<VOLUME35 AND VOL<VOLUME13 AND VOL<VOLUME5 AND CLOSE>OPEN;
B:=A1 AND A2;
DJ:=REF(C,8)/C>1.30;
XG:B AND DJ;