X_1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_2:=MA(vol,2)/MA(VOL,10);
X_3:=VOL/CAPITAL;
X_4:=0.0068*X_1-0.0072*X_2-0.5676*X_3-0.0105;
X_5:=0.0015*X_1-0.0124*X_2+1.7461*X_3-0.0074;
X_6:=(0-12.2401*X_4-1*X_5+0.321<0)*110;
X_7:=CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
X_8:=FILTER(X_7,28)*100;
XG:X_6 AND X_8;