RSV:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*247.2-123.6;
K:=SMA(SMA(RSV,3,1),3,1);
D:=MA(EMA(K,3),3);
J:=3*K-2*D;
B选股:J>(REF(J,1)) AND K<(REF(K,1)) AND D<(REF(D,1) AND J<0);
RSV:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*247.2-123.6;
K:=SMA(SMA(RSV,3,1),3,1);
D:=MA(EMA(K,3),3);
J:=3*K-2*D;
B选股:J>(REF(J,1)) AND K<(REF(K,1)) AND D<(REF(D,1) AND J<0);