变色KDJ
麻烦老师帮忙把下面附图出现白色线做一个选股公式
N:=9;
M1:=3;
M2:=3;
XA_1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(XA_1,M1,1),COLORWHITE;
D:SMA(K,M2,1),COLORYELLOW;
J:3*K-2*D,COLORMAGENTA;
IF(J<0,J,DRAWNULL),COLORWHITE,LINETHICK3;
202224248385662.png
补一个选股公式:
XA_1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(XA_1,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
XG:J<0;
|