网友求助:

求选股公式:kd低位两次金叉

 

解答如下:

RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J=3*K-2*D;
t:= BARSLAST(CROSS(k,D) AND d<50);
tt:=REF(t,t+1)+t+1;
JC:=COUNT(CROSS(k,D),BARSLAST(D>=50));
二次金:(CROSS(k,D) AND D<50 AND COUNT(JC=2,13)=1)*100 AND d>REF(d,tt);