以下是通达信个人自编的KDJ选股公式源码(无源码的请下载附件导入)
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;
637222985.jpg
63799659.rar
(2.46 KB, 下载次数: 0, 售价: 1 金钱)
|