KDJ选股(预警)公式
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

老师您好: 麻烦您用下面的公式写成选股公式。 请求:在金银线多头排列的情况之下,J1金叉J2。在此感谢! 100,COLORRED;80,COLORLIRED;RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;K0:=SMA(RSV,3,1);K:=K0;D:=SMA(K0,2,1);J1:(3*K0-2*D),COLORWHITE;J2:MA(J1,2),COLORCYAN;MAV:=(2*C+H+L)/4;VAR1:=LLV(LOW,21);VAR2:=HHV(HIGH,21);VAR3:=LLV(LOW,18);VAR4:=HHV(HIGH,18);金线:EMA((CLOSE-VAR3)/(VAR4-VAR3)*100,13),COLORRED;银线:EMA(0.618* REF(金线,1)+0.382*金线,3),COLORYELLOW;安全线:20,COLORGREEN;平衡线:50,COLORWHITE;风险线:80,COLORRED;

解答:

 {KDJ选股} 

RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
K0:=SMA(RSV,3,1);
K:=K0;
D:=SMA(K0,2,1);
J1:=(3*K0-2*D);
J2:=MA(J1,2);
MAV:=(2*C+H+L)/4;
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
VAR3:=LLV(LOW,18);
VAR4:=HHV(HIGH,18);
金线:=EMA((CLOSE-VAR3)/(VAR4-VAR3)*100,13);
银线:=EMA(0.618* REF(金线,1)+0.382*金线,3);
XG:CROSS(J1,J2) AND  金线>REF(金线,1) AND 银线>REF(银线,1)

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