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

    求论坛上的高手批改啊

    2011-10-02 · 5015 阅读
    我想变个 均线上穿时 在指标窗口哦中出现233 符号箭头   要求以前的也有 我自己变了个出不来符号只能预警啊 而且有点延迟的啊   纠结啊<div class=\"blockcode\"><div id=\"code_UpI\"><ol>//+------------------------------------------------------------------+
    //|                                                  Custom MACD.mq4 |
    //|                      Copyright ?2004, MetaQuotes Software Corp.
    //|                                        |
    //+------------------------------------------------------------------+
    #property  copyright \"Copyright ?2004, MetaQuotes Software Corp.\"
    //---- indicator settings
    #property  indicator_separate_window
    #property  indicator_buffers 3
    #property  indicator_color1  Silver
    #property  indicator_color2  Red
    #property  indicator_color3  Yellow
    #property  indicator_width1  2
    //---- indicator parameters
    extern int FastEMA=12;
    extern int SlowEMA=26;
    extern int SignalSMA=9;
    //---- indicator buffers
    double     MacdBuffer[];
    double     SignalBuffer[];
    double     k1[];
    double     mk[];
    //+------------------------------------------------------------------+
    //| Custom indicator initialization function                         |
    //+------------------------------------------------------------------+
    int init()
       {
    //---- drawing settings
        SetIndexStyle(0,DRAW_HISTOGRAM);
        SetIndexStyle(1,DRAW_LINE);
        SetIndexStyle(2,DRAW_ARROW);
        SetIndexArrow(2,233);
        SetIndexDrawBegin(1,SignalSMA);
        IndicatorDigits(Digits+1);
    //---- indicator buffers mapping
        SetIndexBuffer(0,MacdBuffer);
        SetIndexBuffer(1,SignalBuffer);
        SetIndexBuffer(2,mk);

    //---- name for DataWindow and indicator subwindow label
        IndicatorShortName(\"MACD(\"+FastEMA+\",\"+SlowEMA+\",\"+SignalSMA+\")\");
        SetIndexLabel(0,\"MACD\");
        SetIndexLabel(1,\"Signal\");
        SetIndexLabel(2,\"穿\");
    //---- initialization done
        return(0);
       }
       
       
    //+------------------------------------------------------------------+
    int start()
       {
        int limit,mark=0, m;
        int counted_bars=IndicatorCounted();
        if(counted_bars>0) counted_bars--;
        limit=Bars-counted_bars;
    //---- -------------------------------------
        for(int i=0; i
    ""
    还没有人打赏,支持一下
    回复

    举报

     

    回答|共 15 个

    不要找他 LV5

    发表于 2012-11-25 16:39:06 | 显示全部楼层

    好人一个  

    西点 LV4

    发表于 2012-11-25 16:39:06 | 显示全部楼层

    #无语  

    amy328 LV9

    发表于 2012-11-25 16:39:06 | 显示全部楼层

    加油站加油  

    稳赚 LV4

    发表于 2012-11-25 16:39:06 | 显示全部楼层

    就为赚分嘛  

    仓木 LV4

    发表于 2012-11-25 16:39:06 | 显示全部楼层

    这个不可信,没有保险的保赚钱的软件   

    wh34 LV5

    发表于 2012-11-25 16:39:06 | 显示全部楼层

    希望可以用些时间了~````  

    左手起茧 LV5

    发表于 2012-11-25 16:39:06 | 显示全部楼层

    不知道说些什么  

    向露之梦 LV5

    发表于 2015-2-14 19:27:33 | 显示全部楼层


    呵呵

    侯丁直即 LV3

    发表于 2015-2-14 19:37:06 | 显示全部楼层

    多谢分享 看看是什么
    12下一页
    您需要登录后才可以回帖 登录 | 注册

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

    微信二维码

    有问题联系客服