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

    MT4 公式问题

    汇贸 LV3
    2019-11-05 · 1360 阅读
    如何在自己定公式增加一条10日均线



    ""
    还没有人打赏,支持一下
    回复

    举报

     

    回答|共 2 个

    hunter2018 LV1

    发表于 2019-11-9 09:04:03 | 显示全部楼层

    #property indicator_buffers 1
    #property indicator_type1   DRAW_LINE
    #property indicator_color1 Red
    #property indicator_style1  STYLE_SOLID
    #property indicator_label1  "MA10"
    extern int mPeriod=10;
    double mBuffer[];

    int init()
      {
       SetIndexBuffer(0,mBuffer);
       return(0);
      }
    您需要登录后才可以回帖 登录 | 注册

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

    微信二维码

    有问题联系客服