📅 财经日历 📊 实时波动 📈 大盘云图 📶 行情走势 🆚 投机情绪 🚀 今日热点

    标准偏差通道

    vtwangk LV11
    2016-09-24 · 8337 阅读
    本帖最后由 vtwangk 于 2016-9-24 18:01 编辑

    标准偏差通道,下载了自己研究吧,感觉有点价值。

    月图应用
    https://www.mql5.com/en/charts/5837284/eurusd-mn1-forex-capital-markets?bind=1
    周图应用
    https://www.mql5.com/en/charts/5837290/eurusd-w1-forex-capital-markets
    天图
    https://www.mql5.com/en/charts/5837293/eurusd-d1-forex-capital-markets
    H4
    https://www.mql5.com/en/charts/5837294/eurusd-h4-forex-capital-markets
    H1
    https://www.mql5.com/en/charts/5837296/eurusd-h1-forex-capital-markets
    M15
    https://www.mql5.com/en/charts/5837299/eurusd-m15-forex-capital-markets
    源码:
    //+------------------------------------------------------------------+
    //|                                  Standard Deviation Channels.mq4 |
    //|                 Copyright @2006, tageiger, aka fxid10t@yahoo.com |
    //|                                        http://www.metaquotes.net |
    //+------------------------------------------------------------------+
    #property copyright "Copyright @2006, tageiger, aka fxid10t@yahoo.com"
    #property link      "http://www.125808047.com/"
    //----
    #property indicator_chart_window
    //----
    extern int STD_Rgres_period=0;
    /*
    default 0 means the channel will use the open
    time from "x" bars back on which ever time period
    the indicator is attached to.  one can change to 1,5,
    15,30,60...etc to "lock" the start time to a specific
    period, and then view the "locked" channels on a different time period...
    */
    extern int STD_Rgres_length=56;     // bars back regression begins
    extern double STD_Rgres_width=1.618;// widest channel
    extern double STD_width=0.618;      // inside channel
    //----
    int init()   
    {
       return(0);
    }
       int deinit()   
    {
       ObjectDelete("regression channel");ObjectDelete("std channel");return(0);
    Comment("www.125808047.com");
    }
       int start()   
    {
    //to refresh properly delete old objects...
       ObjectDelete("regression channel");ObjectDelete("std channel");
    //widest channel   
       ObjectCreate("regression channel",OBJ_STDDEVCHANNEL,0,iTime(Symbol(),STD_Rgres_period,STD_Rgres_length), Close[STD_Rgres_length],Time[0],Close[0]);
       ObjectSet("regression channel",OBJPROP_DEVIATION,STD_Rgres_width);
       ObjectSet("regression channel",OBJPROP_COLOR,Orange);
       ObjectSet("regression channel",OBJPROP_RAY,true);
    //inside channel
       ObjectCreate("std channel",OBJ_STDDEVCHANNEL,0,iTime(Symbol(),STD_Rgres_period,STD_Rgres_length), Close[STD_Rgres_length],Time[0],Close[0]);
       ObjectSet("std channel",OBJPROP_DEVIATION,STD_width);
       ObjectSet("std channel",OBJPROP_COLOR,Olive);
       ObjectSet("std channel",OBJPROP_RAY,true);
       return(0);
    //----
    }
    //+------------------------------------------------------------------+

    eurusd-mn1-forex-capital-markets.png
    eurusd-d1-forex-capital-markets.png
    eurusd-w1-forex-capital-markets.png
    ""
    还没有人打赏,支持一下
    回复

    举报

     

    回答|共 18 个

    yjdl LV5

    发表于 2016-9-24 20:26:18 | 显示全部楼层

    看起来!!还不错!!谢谢

    itkmantt LV17

    发表于 2016-9-26 22:41:40 | 显示全部楼层

    感謝大大樓主分享(^^

    xql99imq LV0

    发表于 2020-3-19 11:35:27 | 显示全部楼层

    LZ说的很不错

    bf91frg4 LV3

    发表于 2020-6-9 17:45:53 | 显示全部楼层

    好好 学习了 确实不错

    qUj6PLWA LV3

    发表于 2020-8-1 22:45:27 | 显示全部楼层

    帮你顶下哈!!

    wuyouwz LV7

    发表于 2020-8-31 11:44:08 | 显示全部楼层

    谢谢楼主分享

    云之端 LV5

    发表于 2020-9-8 20:06:12 | 显示全部楼层

    谢谢楼主分享

    uzmdsttx LV3

    发表于 2020-9-9 15:04:38 | 显示全部楼层

    谢谢楼主分享

    ctm1kwko02om LV3

    发表于 2020-11-21 14:27:32 | 显示全部楼层

    谢谢
    12下一页
    您需要登录后才可以回帖 登录 | 注册

    提醒: 禁止引战、谩骂、灌水内容

    微信二维码

    有问题联系客服