KDJ预测交叉的价格
-
相关简介:C/C++ Code 复制内容到剪贴板 input:N(9,2,100),M1(3,2,50),M2(3,2,50); {} 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; 交叉位:=((3*REF(D,1)-2*REF(K,1))*(HHV(H,9)-LLV(L,9))/100)+LLV(L,9); n1:=syspa
-
文章来源:择股网作者:股海网发布时间:2009-11-28浏览次数:
C/C++ Code复制内容到剪贴板
- input: N(9,2,100),M1(3,2,50),M2(3,2,50);
- {}
- 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;
- 交叉位:=((3*REF(D,1)-2*REF(K,1))*(HHV(H,9)-LLV(L,9))/100)+LLV(L,9);
- n1:=sysparam(3); n2:=sysparam(2); n3:=(n1-n2)+1; hh:=hhv(J,n3); ll:=llv(J,n3);
- zhh:=hh[n1]; zll:=ll[n1];
- DRAWTEXT(BARPOS=SYSPARAM(3)&&交叉位<C,zhh,'预测死叉价: '+NUMTOSTR(交叉位,2)),ALIGN2,SHIFT3,PXDN10,ColorFF8E00;
- DRAWTEXT(BARPOS=SYSPARAM(3)&&交叉位>C,zll,'预测金叉价: '+NUMTOSTR(交叉位,2)),ALIGN2,SHIFT3,PXUP10,ColorFF8EFF;
- //
上一篇:修饰后找顶底的碧血之剑
下一篇:殊敏KDJ