• 注册
  • 靓号站
    • 中文
    • English
  • 注册
  • 马丁 马丁 关注:0 内容:5286

    (呼唤牛版)小弟快哭了,一个指标编了俩星期还没编好

  • 查看作者
  • 打赏作者
  • 马丁
  • Lv.9
    神隐会员
    靓号:1322336
    EA+

    泪奔啊,编了俩星期还是没箭头
      哪位高手帮帮小弟
      指标
            

    (呼唤牛版)小弟快哭了,一个指标编了俩星期还没编好

          jingybMACD.mq4    (3.03 KB, 下载次数: 27)        2009-5-24 11:13 上传
      点击文件名下载附件  
    下载积分: 金币 -2   
      
      
          
                  jMACD82113.mq4    (3.02 KB, 下载次数: 26)        2009-5-24 11:13 上传
      点击文件名下载附件  
    下载积分: 金币 -2   
      
      
          
                  wideMACD.mq4    (3.02 KB, 下载次数: 26)        2009-5-24 11:13 上传
      点击文件名下载附件  
    下载积分: 金币 -2   
      
      
          

    //+——————————————————————+
      //|                                               三窗MACD_Alert.mq4 |
      //|                       Copyright ?2009, MetaQuotes Software Corp. |
      //|                                        链接 |
      //+——————————————————————+
      #property copyright “Copyright ?2009, MetaQuotes Software Corp.”
      #property link      “http://www.metaquotes.net”
      
      #property indicator_chart_window
      #property  indicator_buffers 2
      #property  indicator_color1  Red  
      #property  indicator_color2  Lime
      #property  indicator_width1  2
      #property  indicator_width2  2
      
      extern bool alert=true;
      
      double UpArrow[];
      double DownArrow[];
      double Up[];
      double Down[];
      double jingybMACD[];
      double jMACD[];
      double wideMACD[];
      double sound;
      //+——————————————————————+
      //| Custom indicator initialization function                         |
      //+——————————————————————+
      int init()
        {
      //—- indicators
         SetIndexStyle(0,DRAW_ARROW);
         SetIndexArrow(0,233);
         SetIndexBuffer(0,UpArrow);
         SetIndexStyle(1,DRAW_ARROW);
         SetIndexArrow(1,234);
         SetIndexBuffer(1,DownArrow);
      //—-
         return(0);
        }
      //+——————————————————————+
      //| Custom indicator deinitialization function                       |
      //+——————————————————————+
      int deinit()
        {
      //—-
         
      //—-
         return(0);
        }
      //+——————————————————————+
      //| Custom indicator iteration function                              |
      //+——————————————————————+
      int start()
        {
         int limit;
         int counted_bars=IndicatorCounted();
         if(counted_bars0) counted_bars–;
         limit=Bars-counted_bars;
      //—-
         for(int i=0; ijingybMACD[t+2]&&((jingybMACD[t+2]>0&&jingybMACD[t+3]0&&jingybMACD[t+2]0&&jingybMACD[t+1]jMACD[t+1]&&jMACD[t+1]>jMACD[t+2])&&(wideMACD[t]>wideMACD[t+1]&&wideMACD[t+1]>wideMACD[t+2]))
                  Up[t]=Low[t]-Point*3;
               }
                
             if(jingybMACD[t]

    请登录之后再进行评论

    登录

    WordPress后台-外观-小工具 进行配置小工具

  • 发布
  • 做任务
  • 实时动态
  • 偏好设置
  • 帖子间隔 侧栏位置: