النتائج 1 إلى 3 من 3
  1. #1
    الصورة الرمزية forex_man_55
    forex_man_55 غير متواجد حالياً عضو المتداول العربي
    تاريخ التسجيل
    Jul 2019
    الإقامة
    العراق
    المشاركات
    456

    افتراضي لماذا لا يتحدث المؤشر

    السلام عليكم مرفق مؤشر كنت قد برمجته قبل سنوات وكان يتحدث مع كل تك الان حملته على ميتاتريد وهو لا يتحدث مع كل تك فقط عند التحميل والتحديث فهل حصل تغيير في لغة mql يمنعه من التحديث مع كا تك
    مرفق صورة للمؤشر مع الكود المصدري

    كود:
    //+------------------------------------------------------------------+
    //|                                                          AAA.mq4 |
    //|                      Copyright © 2008, MetaQuotes Software Corp. |
    //|                                        http://www.metaquotes.net |
    //+------------------------------------------------------------------+
    #property copyright "Copyright © 2008, [email protected]."
    #property link      "[email protected]"
    
    #property indicator_separate_window
    #property indicator_buffers 8
    #property indicator_color1 Red
    #property indicator_color2 Magenta
    #property indicator_color3 SkyBlue
    #property indicator_color4 DeepSkyBlue
    #property indicator_color5 Orange
    #property indicator_color6 Yellow
    #property indicator_color7 Lime
    #property indicator_color8 White
    //---- buffers
    extern string Programmer="[email protected]";
    extern int No=15;
    extern bool USDJPY=true;
    double ExtMapBuffer1[];
    double ExtMapBuffer2[];
    double ExtMapBuffer3[];
    double ExtMapBuffer4[];
    double ExtMapBuffer5[];
    double ExtMapBuffer6[];
    double ExtMapBuffer7[];
    double ExtMapBuffer8[];
    //+------------------------------------------------------------------+
    //| 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);
       SetIndexStyle(6,DRAW_LINE);
       SetIndexBuffer(6,ExtMapBuffer7);
       SetIndexStyle(7,DRAW_LINE);
       SetIndexBuffer(7,ExtMapBuffer8);
       SetLevelValue(0,0);
        
      
       SetIndexLabel(0,"USDJPY");
       SetIndexLabel(1,"GBPUSD");
       SetIndexLabel(2,"AUDUSD");
       SetIndexLabel(3,"USDCAD");
       SetIndexLabel(4,"USDCHF");
       SetIndexLabel(5,"EURUSD");
       SetIndexLabel(6,"USDNZD");
       SetIndexLabel(7,"الدولار اندكس");
    
    //----
       return(0);
      }
    //+------------------------------------------------------------------+
    //| Custom indicator deinitialization function                       |
    //+------------------------------------------------------------------+
    int deinit()
      {
    //----
       
    //----
       return(0);
      } 
    //+------------------------------------------------------------------+
    //| Custom indicator iteration function                              |
    //+------------------------------------------------------------------+
    int start()
      {
       int    counted_bars=IndicatorCounted();
    //----
          for(int i=0 ;i<=Bars; i++)
       { 
       double USDJPY=(iMA("USDJPY",NULL ,No,0,MODE_SMA,PRICE_CLOSE,i))/iClose("USDJPY",NULL,i)-1;
    
       double GBPUSD=(iMA("GBPUSD",NULL ,No,0,MODE_SMA,PRICE_CLOSE,i))/iClose("GBPUSD",NULL,i)-1;
    
       double AUDUSD=(iMA("AUDUSD",NULL ,No,0,MODE_SMA,PRICE_CLOSE,i))/iClose("AUDUSD",NULL,i)-1;
       
       double USDCAD=(iMA("USDCAD",NULL ,No,0,MODE_SMA,PRICE_CLOSE,i))/iClose("USDCAD",NULL,i)-1;
       
       double USDCHF=(iMA("USDCHF",NULL ,No,0,MODE_SMA,PRICE_CLOSE,i))/iClose("USDCHF",NULL,i)-1;
       
       double EURUSD=(iMA("EURUSD",NULL ,No,0,MODE_SMA,PRICE_CLOSE,i))/iClose("EURUSD",NULL,i)-1;
    
       double NZDUSD=(iMA("NZDUSD",NULL ,No,0,MODE_SMA,PRICE_CLOSE,i))/iClose("NZDUSD",NULL,i)-1;
    
       ExtMapBuffer1[i]=-USDJPY;
       ExtMapBuffer2[i]=GBPUSD;
       ExtMapBuffer3[i]=AUDUSD;
       ExtMapBuffer4[i]=-USDCAD;
       ExtMapBuffer5[i]=-USDCHF;
       ExtMapBuffer6[i]=EURUSD;
       ExtMapBuffer7[i]=NZDUSD;
       ExtMapBuffer8[i]=-(USDJPY-GBPUSD-AUDUSD+USDCAD+USDCHF-EURUSD-NZDUSD)/7;
    
       
       
       }
    //----
       return(0);
      }
    //+------------------------------------------------------------------+
    اضغط على الصورة لعرض أكبر

الاســـم:	1.png
المشاهدات:	25
الحجـــم:	33.5 كيلوبايت
الرقم:	556580

  2. #2
    الصورة الرمزية forex_man_55
    forex_man_55 غير متواجد حالياً عضو المتداول العربي
    تاريخ التسجيل
    Jul 2019
    الإقامة
    العراق
    المشاركات
    456

    افتراضي

    لا زلت بانتظار المساعدة

  3. #3
    الصورة الرمزية forex_man_55
    forex_man_55 غير متواجد حالياً عضو المتداول العربي
    تاريخ التسجيل
    Jul 2019
    الإقامة
    العراق
    المشاركات
    456

    افتراضي

    ممكن احد الاخوة الاعزاء ممن يرى الموضوع يساعد
    المشكلة ان المؤشر لا يتحدث مع كل تك علما انه كان شغال طبيعي منذ سنوات


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17