input:n(9,1,100,10),p1(3,2,40,4),p2(3,2,40,4);//参数设置
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,P1,1);
D:SMA(K,P2,1);
J:3*K-2*D,NODRAW;
kdjjc:cross(k,d),NODRAW;//kdj金叉
kdjsc:cross(d,k),NODRAW;
if kdjjc then SENDPHONEMSG('KD金叉',0);
if kdjsc then SENDPHONEMSG('KD死叉',0);
欢迎光临 金字塔决策交易系统 (https://www.weistock.com/bbs/) | Powered by Discuz! X3.4 |