X_1:=(CLOSE-LLV(CLOSE,32))/(HHV(CLOSE,32)-LLV(CLOSE,32));
X_2:=AMOUNT>=REF(AMOUNT,1)*2.1 AND IF(CLOSE<OPEN,CLOSE>REF(CLOSE,1),1);
X_3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_4:=SMA(X_3,3,1);
X_5:=SMA(X_4,3,1);
X_6:=EXIST(crOSS(X_4,X_5),2) AND (HHV(HIGH,7)-LLV(LOW,7))/REF(OPEN,7)<0.3 AND (HHV(HIGH,22)-LLV(LOW,22))/REF(OPEN,22)<1.5 AND CROSS((CLOSE-LLV(LOW,40))/LLV(LOW,40)*100,21);
X_7:=X_6 AND CLOSE/REF(CLOSE,1)>=1.03 AND X_2 AND OPEN<40 AND OPEN/REF(CLOSE,10)<1.21 AND OPEN/REF(CLOSE,60)<1.48 AND CROSS(X_1,0.02) AND FILTER(CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(vol,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12)),28);
XG:X_7;