N:=130;
X_1:=FINANCE(30)/FINANCE(19)*100;
X_2:=X_1>10 AND crOSS(MA(CLOSE,10),MA(CLOSE,60)) AND COUNT(macd.MACD>0,10)>=10 AND MA(CLOSE,5)>MA(CLOSE,10) AND CROSS(CLOSE,MA(CLOSE,60));
X_3:=REF(EVERY(CLOSE>MA(CLOSE,20),5),1) AND CLOSE<MA(CLOSE,20) AND COUNT(MACD.MACD>0,8)>=8;
X_4:=REF(X_3,1) AND CROSS(CLOSE,MA(CLOSE,20)) AND CLOSE>OPEN AND MA(CLOSE,20)<MA(CLOSE,60);
X_5:=(CLOSE/REF(CLOSE,10)-1)*100<(-15);
X_6:=CROSS(MA(CLOSE,5),MA(CLOSE,10));
X_7:=SUMBARS(X_6=1,2)-1;
X_8:=LOW=CLOSE AND OPEN=CLOSE;
X_9:=X_6 AND MA(CLOSE,5)>REF(MA(CLOSE,5),X_7) AND COUNT(X_6,30)=2 AND LOW<MA(CLOSE,60) AND EXIST(X_5,5);
XG:REF(X_5,1) AND CROSS(CLOSE,MA(CLOSE,3)) AND NOT(EXIST(X_8,10)) AND X_1>1 AND CROSS(CLOSE,MA(CLOSE,N));