X_1:=CLOSE=ZTPRICE(REF(CLOSE,1),0.1);
X_2:=REF(CLOSE/REF(CLOSE,1)<1.09,3) AND REF(X_1,5);
X_3:=REF(vol,4)<REF(VOL,5) AND REF(CLOSE,4)<REF(OPEN,4);
X_4:=REF(CLOSE,3)>REF(OPEN,3) AND REF(VOL,3)<REF(VOL,4);
X_5:=REF(CLOSE,2)<REF(OPEN,2) AND REF(VOL,2)<REF(VOL,3);
X_6:=REF(CLOSE,1)<REF(OPEN,1) AND REF(VOL,1)<REF(VOL,2);
XG:X_2 AND VOL>REF(VOL,1) AND CLOSE>OPEN AND CLOSE>REF(HIGH,1) AND EVERY(VOL>REF(VOL,10)*2,5) AND EVERY(CLOSE>MA(CLOSE,20),5) AND X_3 AND X_4 AND X_5 AND X_6;