X_1:=EVERY(vol>REF(VOL,1),2) AND EXIST(VOL/REF(VOL,1)>1.8,3);
X_2:=EVERY(VOL/MA(VOL,5)>1.2,3) AND EXIST(VOL/MA(VOL,5)>1.8,3);
X_3:=CLOSE>EMA(CLOSE,60) AND CLOSE>EMA(CLOSE,20) AND CLOSE>EMA(CLOSE,10);
X_4:=HIGH>EMA((2*CLOSE+HIGH+LOW)/4,6)*1.16;
X_5:=X_1 OR X_2 AND X_3 AND X_4;
X_6:=EXIST(X_5,20) AND VOL>REF(HHV(VOL,5),1);
X_7:=LOW<MA(CLOSE,5) AND LOW<MA(CLOSE,10) AND LOW<MA(CLOSE,20);
X_8:=CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,10) AND CLOSE>MA(CLOSE,20);
XG:X_6 AND X_7 AND X_8 AND CLOSE/MA(CLOSE,5)>1.038;