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

    请牛版帮帮忙!关于背景画线问题

    老张 LV7
    2011-09-25 · 5254 阅读
    牛版你好:
      
      我有个问题,想把顾比均线指标的几根线都画在k线下,但找了很多资料,都没能解决这个问题,
      它不像有的对象,设置一个ObjectSet(name, OBJPROP_BACK, TRUE);就能搞定;
      
      顾比均线挡住了K线,实在不方便,还得劳烦牛版,能否抽空给解决一下!
      
      拜托牛版,谢谢了!
      
      源代码如下:
      //+------------------------------------------------------------------+
      //|                        Guppy Mulitple Moving Average (Long).mq4 |
      //|                                  Code written by - Matt Trigwell |
      //|                                                                  |
      //+------------------------------------------------------------------+
      #property copyright \"Code written by - Matt Trigwell\"
      
      #property indicator_chart_window
      #property indicator_buffers 6
      #property indicator_color1 Blue//CLR_NONE
      #property indicator_color2 Blue//CLR_NONE
      #property indicator_color3 Blue//CLR_NONE
      #property indicator_color4 Blue
      #property indicator_color5 Blue
      #property indicator_color6 Blue
      
      //---- buffers
      double ExtMapBuffer1[];
      double ExtMapBuffer2[];
      double ExtMapBuffer3[];
      double ExtMapBuffer4[];
      double ExtMapBuffer5[];
      double ExtMapBuffer6[];
      
      //+------------------------------------------------------------------+
      //| Custom indicator initialization function                         |
      //+------------------------------------------------------------------+
      int init()
        {
      //---- indicators
         SetIndexStyle(0,DRAW_LINE);
         SetIndexBuffer(0,ExtMapBuffer1);
         SetIndexStyle(1,DRAW_LINE);
         SetIndexBuffer(1,ExtMapBuffer2);
         SetIndexStyle(2,DRAW_LINE);
         SetIndexBuffer(2,ExtMapBuffer3);
         SetIndexStyle(3,DRAW_LINE);
         SetIndexBuffer(3,ExtMapBuffer4);
         SetIndexStyle(4,DRAW_LINE);
         SetIndexBuffer(4,ExtMapBuffer5);
         SetIndexStyle(5,DRAW_LINE);
         SetIndexBuffer(5,ExtMapBuffer6);
      
      //----
         return(0);
        }
      
      int deinit()
        {
         return(0);
        }
      
      int start()
        {
         int i,j,limit,counted_bars=IndicatorCounted();
         
         if(counted_bars0) counted_bars--;
         limit=Bars-counted_bars;
         
         for(i=0; i
    ""
    还没有人打赏,支持一下
    回复

    举报

     

    回答|共 10 个

    你是否在笑 LV5

    发表于 2012-11-25 18:27:51 | 显示全部楼层

    我帮你 喝喝  

    樱子 LV4

    发表于 2012-11-25 18:27:51 | 显示全部楼层

    你好 , 写过很多ea了, 请看我用户名, 加后可提供博客看看我的ea介绍

    川跃k线 LV4

    发表于 2012-11-25 18:27:51 | 显示全部楼层

    支持~~  

    rainbow LV4

    发表于 2012-11-25 18:27:51 | 显示全部楼层

    挺好啊  

    45646 LV4

    发表于 2012-11-25 18:27:51 | 显示全部楼层

    嘿嘿  

    揭发fx110 LV4

    发表于 2012-11-25 18:27:51 | 显示全部楼层

    我有个EA,收费的,看哪个能破解  

    nanfeng LV3

    发表于 2015-4-5 01:33:21 | 显示全部楼层

    顶楼主~~~~~~~~~~~~~~~

    iwnn0263 LV3

    发表于 2015-4-16 03:38:29 | 显示全部楼层

    nice!!!!!!!!!!!!

    lovezyq LV3

    发表于 2015-4-24 02:38:47 | 显示全部楼层

    支持楼主
    12下一页
    您需要登录后才可以回帖 登录 | 注册

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

    微信二维码

    有问题联系客服