大智慧分KDJ副图指标
源码
N:=13;M1:=5;M2:=3;
REFLINE: 0, 20, 50, 80, 100; RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; K:SMA(RSV,M1,1); D:SMA(K,M2,1); J:3*K-2*D; partline(j,j>=ref(j,1),rgb(255,0,0),j<ref(j,1),rgb(0,255,0)),linethick2;