KDJ在50范围内金叉但macd一直都是红柱(macd未死叉)选股公式
公式模块:
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;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
XG:CROSS(K,D) AND J 0 AND J 50 AND MACD 0 AND REF(MACD,1) 0
AND DIF DEA AND REF(DIF,1) REF(DEA,1);