龙听期货论坛's Archiver

龙听 发表于 2018-1-3 22:28

macd-kdj金叉共振选股公式

macd-kdj金叉共振选股公式:
[code]
DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;
DEA:=EMA(DIF,9);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,9,1);
D:=SMA(K,9,1);
B4:CROSS(DIF,DEA) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));
[/code]

页: [1]