RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=(SMA(RSV,3,1));
D:=(SMA(K,3,1));
J:=(3*K-2*D);
KK:=INTPART(SMA(RSV,3,1));
DD:=INTPART(SMA(K,3,1));
JJ:=INTPART(3*K-2*D);
N:=KK+DD;
P:=CLOSE/REF(CLOSE,1)>=1.09 AND VOL<MA(VOL,5) AND VOL<REF(VOL,1) AND OPEN<CLOSE AND (HIGH-CLOSE+OPEN-LOW)/REF(CLOSE,1)<0.015;
P1:=SARTURN(30,2,40)=1;
P2:=SARTURN(4,2,20)=1;
P3:=SARTURN(20,2,30)=1;
P4:=CROSS("MTM.MTMMA"(4,4),0);
P5:=CROSS("MTM.MTMMA"(5,5),0);
F:=CROSS(MA(CLOSE,5),MA(CLOSE,8));
F1:=CROSS(MA(CLOSE,20),MA(CLOSE,41));
F2:=CROSS(MA(CLOSE,20),MA(CLOSE,40));
F3:=CROSS(MA(CLOSE,25),MA(CLOSE,41));
F4:=CROSS(MA(CLOSE,22),MA(CLOSE,37));
F5:=CROSS(MA(CLOSE,22),MA(CLOSE,36));
F6:=CROSS(MA(CLOSE,22),MA(CLOSE,38));
F7:=CROSS(MA(CLOSE,28),MA(CLOSE,43));
F8:=CROSS(MA(CLOSE,28),MA(CLOSE,51));
F9:=CROSS(MA(CLOSE,28),MA(CLOSE,70));
P6:=F OR F1 OR F2 OR F3 OR F4 OR F5 OR F6 OR F7 OR F8 OR F9;
F10:=CROSS(MA(CLOSE,40),MA(CLOSE,57));
F11:=CROSS(MA(CLOSE,40),MA(CLOSE,83));
F12:=CROSS(MA(CLOSE,53),MA(CLOSE,66));
F13:=CROSS(MA(CLOSE,53),MA(CLOSE,80));
F14:=CROSS(MA(CLOSE,46),MA(CLOSE,68));
F15:=CROSS(MA(CLOSE,50),MA(CLOSE,62));
F16:=CROSS(MA(CLOSE,48),MA(CLOSE,72));
F17:=CROSS(MA(CLOSE,30),MA(CLOSE,52));
P7:=F10 OR F11 OR F12 OR F13 OR F14 OR F15 OR F16 OR F17;
X:=REF(CLOSE,1);
X1:=SMA(MAX(CLOSE-X,0),5,1)/SMA(ABS(CLOSE-X),5,1)*100;
X3:=CLOSE/MA(CLOSE,3)>=1.07 AND CLOSE=HHV(CLOSE,3) AND MA(VOL,3)/MA(VOL,36)>=3 AND VOL=HHV(VOL,5) AND COUNT(X1<20,10)>=1;
S:=N<70;
S2:=N<50;
S3:=N<45;
Y:=X3 AND (REF(S,104) AND REF(S2,29) AND REF(S3,75) AND REF(S3,78));
Y1:=P AND (P1 OR P2 OR P3 OR P4 OR P5 OR P6 OR P7 OR N<31);
Y OR Y1;