智慧大盘与个股双kdj(9,3,3)叠加图用于判断选中的个股对大盘的跟随度
a1:="1a0001$close";
a2:="1a0001$open";
a3:="1a0001$high";
a4:="1a0001$low";
{REFLINE: 0, 20, 50, 80, 100;}
RSV:=(a1-LLV(a4,N))/(HHV(a3,N)-LLV(a4,N))*100;
dpK:SMA(RSV,M1,1);
dpD:SMA(dpK,M2,1);
dpJ:3*dpK-2*dpD;
REFLINE: 0, 20, 50, 80, 100;
RSV1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV1,M1,1);
D:SMA(K,M2,1);
J:3*K-2*D;