D:=60;
N1:=20;
N2:=3;
X_1:=MA(CLOSE,20);
X_2:=MA(CLOSE,30);
X_3:=MA(CLOSE,60);
X_4:=MA(CLOSE,120);
X_5:=MA(CLOSE,250);
X_6:=ATAN((X_5/REF(X_5,1)-1)*100)*180/3.1416;
X_7:=CLOSE>OPEN AND X_6>0;
X_8:=REF(vol,1)<LLV(VOL,N1)*1.2 AND VOL>REF(VOL,1)*1.5;
X_9:=COUNT(CLOSE/REF(CLOSE,1)>1.098,D)>=N2;
XG:X_7 AND X_8 AND X_9;