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;{股票指标网}
X1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5))>100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
X2:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5))>60 ;
X3:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30))>70;
X4:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5))>100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
X5:=BARSLAST(CROSS(30,100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5))))<2;
X6:=BARSLAST(CROSS(100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),50))<2;
X7:=BARSLAST(CROSS(100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5))))<2 ;
X8:=BARSLAST(CROSS(50,100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5))))<3;
X9:=BARSLAST(CROSS(100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),50))<3;
X10:=BARSLAST(CROSS(100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5))))<2;
X11:=MA(C,10)>REF(MA(C,10),1) AND MA(C,60)>REF(MA(C,60),1) AND C>O AND REF(C<O,1);
X12:=MA(C,5)>REF(MA(C,5),1) AND J>REF(J,1);
X1 AND X2 AND X3 AND X4 AND X5 AND X6 AND X7 AND X8 AND X9 AND X10 AND X11 AND X12;