D值:=35;
周金叉:=crOSS(kd.K#WEEK,KD.D#WEEK);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
KD共振1:周金叉 AND EXIST(CROSS(K,D),3) AND D<=D值;
D值:=35;
周金叉:=crOSS(kd.K#WEEK,KD.D#WEEK);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
KD共振1:周金叉 AND EXIST(CROSS(K,D),3) AND D<=D值;