X_1:=HIGH>LOW*1.051;
X_2:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.05;
X_3:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=(-0.095);
X_4:=CLOSE>OPEN*1.051;
X_5:=LOW<OPEN*0.949;
X_6:=(CLOSE/REF(CLOSE,1)-1)*100;
X_7:=X_6>9.93 AND CLOSE=HIGH;
X_8:=COUNT(X_7,100)>0;
X_9:=(REF(CLOSE,1)/REF(CLOSE,2)-1)*100;
XG:(X_1 AND X_2 AND X_4 AND (CLOSE-MA(CLOSE,3))/MA(CLOSE,3)>0.05)*100 AND X_8 AND X_9<4;