KDJ周线金叉和死叉在日线图上的显示,金叉用红色,死叉用绿色。
股旁网解答:
RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV1,3,1);
D:SMA(K,3,1);
J:3*K-2*D,LINETHICK1;
KD:=KDJ.D#WEEK;
KK:=KDJ.K#WEEK;
A:=CROSS(KK,KD);
B:=CROSS(KD,KK);
DRAWICON(A,D,1);
DRAWICON(B,J,2);