macd-kdj金叉共振选股公式(通达信)

macd-kdj金叉共振选股公式:

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));