KDJ再改进
-
相关简介:C/C++ www.zegu.cn Code 复制内容到剪贴板 KDJ再改进,可以显示过去每日的交叉的预测价,本指标结合蒂纳波利,采用(8,3,3),如图,希望高手继续改进 RSV:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100; K:SMA(RSV,3,1),colorred; D:SMA(K,3,1),COLORblue; J:=3*K-2*D; v1:= if (high=hhv(high,8)andkhhv(k
-
文章来源:择股网作者:股海网发布时间:2009-11-29浏览次数:
C/C++ www.zegu.cn Code复制内容到剪贴板
- KDJ再改进,可以显示过去每日的交叉的预测价,本指标结合蒂纳波利,采用(8,3,3),如图,希望高手继续改进
- RSV:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
- K:SMA(RSV,3,1),colorred;
- D:SMA(K,3,1),COLORblue;
- J:=3*K-2*D;
- v1:=if (high>=hhv(high,8) and k<hhv(k,63) and k<=ref(k,1),1,0);
- v2:=if (low<=llv(low,8) and k>=llv(k,63) and k>=ref(k,1),1,0);
- drawicon(cross(k,d) and k<=20,d,10);
- drawicon(cross(d,k),d,11);
- drawicon(cross(k,d) and k<=45 and k>20,d,12);
- drawicon(v1,50,9);
- drawicon(v2,50,8);
- 交叉位:=((3*REF(D,1)-2*REF(K,1))*(HHV(H,8)-LLV(L,8))/100)+LLV(L,8);
- n1:=sysparam(3); n2:=sysparam(2); n3:=(n1-n2)+1; hh:=hhv(J,n3); ll:=llv(J,n3);
- zhh:=hh[n1]; zll:=ll[n1];
- 预测价:交叉位 , ColorFF8EFF;
- DRAWTEXT(BARPOS=SYSPARAM(3)&&交叉位<C,zhh,'预测死叉价: '+NUMTOSTR(交叉位,3)),ALIGN2,SHIFT3,PXDN10,ColorFF8E00;
- DRAWTEXT(BARPOS=SYSPARAM(3)&&交叉位>C,zll,'预测金叉价: '+NUMTOSTR(交叉位,3)),ALIGN2,SHIFT3,PXUP10,ColorFF8EFF;
上一篇:殊敏KDJ
下一篇:港澳F10【十大流通股东】