把千钧KDJ中J的显示方式改一下
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

解答:

 网友求助:

我不太习惯千钧KDJ中J的显示方式,希望能改成主图中的K线那样,红,蓝那样的.
就是把J的显示用主图中K线的样子表示出来.我也图片发一下.在下面.
希望会的朋友帮我一下.我自己也试着改了一下,不过没成功.
先在此谢谢大家了.

 

RSV:=(CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100;
K:SMA(RSV,3,1);
D:SMA(K,3,1);
J:=3*K-2*D;
100,POINTDOT;
50,POINTDOT;
0,POINTDOT;
STICKLINE(J>REF(J,1),HHV(J,3),LLV(J,3),1,0),COLOR0022FF;
STICKLINE(J>REF(J,1),J,REF(J,1),6,0),COLOR0022FF;
STICKLINE(J>REF(J,1),J,REF(J,1),3,0),COLOR0099FF;
STICKLINE(J>REF(J,1),J,REF(J,1),1.5,0),COLOR00DDFF;
STICKLINE(J>REF(J,1),J,REF(J,1),0,0),COLOR00DDFF;
STICKLINE(J<REF(J,1),HHV(J,3),LLV(J,3),1,0),COLORFF2200;
STICKLINE(J<REF(J,1),J,REF(J,1),6,0),COLORFF6600;
STICKLINE(J<REF(J,1),J,REF(J,1),3,0),COLORFF9900;
STICKLINE(J<REF(J,1),J,REF(J,1),1.5,0),COLORFFDD00;
STICKLINE(J<REF(J,1),J,REF(J,1),0,0),COLORFFDD00;
 

 
解答如下:
RSV:=(CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100;
K:SMA(RSV,3,1),COLORffffff;
D:SMA(K,3,1),COLOR009fff;
J:=3*K-2*D;
100,POINTDOT;
50,POINTDOT;
0,POINTDOT;
STICKLINE(J>REF(J,1),HHV(J,3),LLV(J,3),1,0),COLOR0000dd;
STICKLINE(J>REF(J,1),J,REF(J,1),6,0),COLOR000099;
STICKLINE(J>REF(J,1),J,REF(J,1),3,0),COLOR0000bb;
STICKLINE(J>REF(J,1),J,REF(J,1),1.5,0),COLOR0000dd;
STICKLINE(J>REF(J,1),J,REF(J,1),1,0),COLOR0000ff;
STICKLINE(J<REF(J,1),HHV(J,3),LLV(J,3),1,0),COLOR00dd00;
STICKLINE(J<REF(J,1),J,REF(J,1),6,0),COLOR009900;
STICKLINE(J<REF(J,1),J,REF(J,1),3,0),COLOR00bb00;
STICKLINE(J<REF(J,1),J,REF(J,1),1.5,0),COLOR00dd00;
STICKLINE(J<REF(J,1),J,REF(J,1),1,0),COLOR00ff00;

 


选股票看什么指标最好 >股票指标网