個(gè)人自編的KDJ選股公式
KDJ指標(biāo)太過(guò)靈敏,最好與其他指標(biāo)結(jié)合使用,我自編的是KDJ與MACD結(jié)合。選股條件是: 1、KD金叉,同時(shí)K<30,D<3,<J<30 2.macd中的DEA在0軸之上,且MACD為綠柱 DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
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;
A:=CROSS(KDJ.K,KDJ.D) AND K<30 AND D<30 AND J<30 ;
B:=MACD<0 AND DEA>0;
XG: A AND B;
|