您现在的位置:程序化交易>> 期货公式>> 文华财经>> 文华财经知识>>正文内容

关于金牛通道的指标 [文华财经]

  • 咨询内容:  老师金牛通道指标

     

     来源:程序化99

  • 文华技术人员:  软件中没有这个指标,需要您说明具体思路,或者您有其他软件的源码,可以上传到论坛,我们改下。

     

     来源: WWW.CXH99.COM

  • 文华客服:  VAR1:=((CLOSE - LLV(LOW,15))/(HHV(HIGH,15) - LLV(LOW,15)))*(100);
    VAR2:=REVERSE(VAR1);
    VAR3:=SMA(VAR1,5,1);
    K:=SMA(VAR3,3,1);
    D:=SMA(K,3,1);
    DRAWTEXT(CROSS(K,D) AND MA(CLOSE,5)<CLOSE,D,'多',COLORRED;
    DRAWTEXT(CROSS(D,K) AND MA(CLOSE,5),D,'空',COLORGREEN;
    STICKLINE((K >= D),K,D,6,0),COLOR0000A8;
    STICKLINE((K >= D),K,D,5,0),COLOR0000C0;
    STICKLINE((K >= D),K,D,4,0),COLOR0000E0;
    STICKLINE((K >= D),K,D,3,0),COLOR0000F0;
    STICKLINE((K >= D),K,D,2,0),COLOR0000D0;
    STICKLINE((K >= D),K,D,1,0),COLOR8080FF;
    STICKLINE((K <= D),K,D,6,0),COLOR008800;
    STICKLINE((K <= D),K,D,5,0),COLOR009900;
    STICKLINE((K <= D),K,D,4,0),COLOR00AA00;
    STICKLINE((K <= D),K,D,3,0),COLOR00BB00;
    STICKLINE((K <= D),K,D,2,0),COLOR00CC00;
    STICKLINE((K <= D),K,D,1,0),COLOR00DD00;
    阳多线:10;
    阴空线:90;                        多空趋势线,在电脑上要做空的时候没有显示做空两字,可以修改一下吗

     

  • 网友回复: 参考:
     VAR1:=((CLOSE - LLV(LOW,15))/(HHV(HIGH,15) - LLV(LOW,15)))*(100); VAR2:=REVERSE(VAR1); VAR3:=SMA(VAR1,5,1); K:=SMA(VAR3,3,1); D:=SMA(K,3,1); DRAWTEXT(CROSS(K,D) AND MA(CLOSE,5)<CLOSE,D,'多',COLORRED; DRAWTEXT(CROSS(D,K) AND MA(CLOSE,5)>C,D,'空',COLORGREEN; STICKLINE((K >= D),K,D,6,0),COLOR0000A8; STICKLINE((K >= D),K,D,5,0),COLOR0000C0; STICKLINE((K >= D),K,D,4,0),COLOR0000E0; STICKLINE((K >= D),K,D,3,0),COLOR0000F0; STICKLINE((K >= D),K,D,2,0),COLOR0000D0; STICKLINE((K >= D),K,D,1,0),COLOR8080FF; STICKLINE((K <= D),K,D,6,0),COLOR008800; STICKLINE((K <= D),K,D,5,0),COLOR009900; STICKLINE((K <= D),K,D,4,0),COLOR00AA00; STICKLINE((K <= D),K,D,3,0),COLOR00BB00; STICKLINE((K <= D),K,D,2,0),COLOR00CC00; STICKLINE((K <= D),K,D,1,0),COLOR00DD00; 阳多线:10; 阴空线:90;         

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信号:cxh99cxh99  进行 有偿收费 编写!

怎么收费,代编流程等详情请点击阅读!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容