1.kdjԴ?singlespa源码解析?
kdjԴ??
DIF:=EMA(CLOSE,)-EMA(CLOSE,),COLORYELLOW;
DEA:=EMA(DIF,9)COLORMAGENTA;
MACD:=(DIF-DEA)*2,COLORLIGRAY;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
选:EXIST(CROSS(DIF,DEA),3) AND EXIST(CROSS(J,K),3) AND CROSS(MA(C,5),MA(C,));