صفحة 1 من 2 12 الأخيرةالأخيرة
النتائج 1 إلى 15 من 27
  1. #1
    الصورة الرمزية الاستثنائي
    الاستثنائي غير متواجد حالياً عضو نشيط
    تاريخ التسجيل
    Jul 2017
    الإقامة
    البهاما
    المشاركات
    5,577

    افتراضي طلب مؤشر بسيط جدا

    سلام عليكم
    ارجو التكرم من اهل الشأن بهذا القسم اعطائي مؤشر يكتب بالارقام (الفارق) فقط بين الهاي واللو للشموع كلها تنكتب الارقام اعلى الشموع ونفس الامر كذلك يحسب الفارق بين الافتتاح والاغلاق لكل شمعة ع حدة ويظهره رقم اعلاها
    اتمنى يكون المؤشر للمنصة ذات خمسة ارقام بعد الفاصلة ولو في خاصية تسمح للحساب ع منصة اربع خانات بنفس المؤشر يكون تمام

    اول طلب واتمنى الرد سريعا للاهمية لي

  2. #2
    تاريخ التسجيل
    Jul 2011
    الإقامة
    السعودية
    المشاركات
    11,147

    افتراضي

    محجوز

  3. #3
    تاريخ التسجيل
    Jul 2011
    الإقامة
    السعودية
    المشاركات
    11,147

    افتراضي

    كود PHP:
    input string            InpFont="Arial";         // Font 
    int OnInit()
      {
    ObjectsDeleteAll();    

       return(
    INIT_SUCCEEDED);
      }
    //+------------------------------------------------------------------+ 
    bool TextCreate(const long              chart_ID=0,               // chart's ID 
                    
    const string            name="Text",              // object name 
                    
    const int               sub_window=0,             // subwindow index 
                    
    datetime                time=0,                   // anchor point time 
                    
    double                  price=0,                  // anchor point price 
                    
    const string            text="Text",              // the text itself 
                    
    const string            font="Arial",             // font 
                    
    const int               font_size=10,             // font size 
                    
    const color             clr=clrRed,               // color 
                    
    const double            angle=0.0,                // text slope 
                    
    const ENUM_ANCHOR_POINT anchor=ANCHOR_LEFT_UPPER// anchor type 
                    
    const bool              back=false,               // in the background 
                    
    const bool              selection=false,          // highlight to move 
                    
    const bool              hidden=true,              // hidden in the object list 
                    
    const long              z_order=0)                // priority for mouse click 
      

       
    ResetLastError(); 
       if(!
    ObjectCreate(chart_ID,name,OBJ_TEXT,sub_window,time,price)) 
         { 
          Print(
    __FUNCTION__
                
    ": failed to create "Text" object! Error code = ",GetLastError()); 
          return(
    false); 
         } 
       
    ObjectSetString(chart_ID,name,OBJPROP_TEXT,text); 
       
    ObjectSetString(chart_ID,name,OBJPROP_FONT,font); 
       
    ObjectSetInteger(chart_ID,name,OBJPROP_FONTSIZE,font_size); 
       
    ObjectSetDouble(chart_ID,name,OBJPROP_ANGLE,angle); 
       
    ObjectSetInteger(chart_ID,name,OBJPROP_ANCHOR,anchor); 
       
    ObjectSetInteger(chart_ID,name,OBJPROP_COLOR,clr); 
       
    ObjectSetInteger(chart_ID,name,OBJPROP_BACK,back); 
       
    ObjectSetInteger(chart_ID,name,OBJPROP_SELECTABLE,selection); 
       
    ObjectSetInteger(chart_ID,name,OBJPROP_SELECTED,selection); 
       
    ObjectSetInteger(chart_ID,name,OBJPROP_HIDDEN,hidden); 
       
    ObjectSetInteger(chart_ID,name,OBJPROP_ZORDER,z_order); 
       return(
    true); 
      } 
    //+------------------------------------------------------------------+ 
    void OnTick() 
      { 
       
    datetime date[]; // array for storing dates of visible bars 
       
    double   low[];  // array for storing Low prices of visible bars 
       
    double   high[]; // array for storing High prices of visible bars 
    //--- number of visible bars in the chart window 
       
    int bars=(int)ChartGetInteger(0,CHART_VISIBLE_BARS); 
    //--- memory allocation 
       
    ArrayResize(date,bars); 
       
    ArrayResize(low,bars); 
       
    ArrayResize(high,bars); 
    //--- fill the array of dates 
       
    ResetLastError(); 
       if(
    CopyTime(Symbol(),Period(),0,bars,date)==-1
         { 
          Print(
    "Failed to copy time values! Error code = ",GetLastError()); 
          return; 
         } 
    //--- fill the array of Low prices 
       
    if(CopyLow(Symbol(),Period(),0,bars,low)==-1
         { 
          Print(
    "Failed to copy the values of Low prices! Error code = ",GetLastError()); 
          return; 
         } 
    //--- fill the array of High prices 
       
    if(CopyHigh(Symbol(),Period(),0,bars,high)==-1
         { 
          Print(
    "Failed to copy the values of High prices! Error code = ",GetLastError()); 
          return; 
         } 
    //--- define how often texts are to be displayed 
       
    int scale=(int)ChartGetInteger(0,CHART_SCALE); 
    //--- define the step 
       
    int step=1
       switch(
    scale
         { 
          case 
    0
             
    step=12
             break; 
          case 
    1
             
    step=6
             break; 
          case 
    2
             
    step=4
             break; 
          case 
    3
             
    step=2
             break; 
         } 
    //--- create texts for High and Low bars' values (with gaps) 
    int Det=0;
    if(
    _Digits==|| _Digits==3Det=1;
       for(
    int i=0;i<bars;i+=step
         { 
          
    //--- create the texts 
          
    string H_L=DoubleToString(MathPow(10,_Digits-Det)*(iHighNULL,0,i) -iLow(NULL,0,i)),Det);
          
    string C_O=DoubleToString(MathPow(10,_Digits-Det)*(iClose(NULL,0,i)-iOpen(NULL,0,i)),Det);
    ObjectDelete(0,"TextHigh_"+(string)i) ;ObjectDelete(0,"TextLow_"+(string)i) ;

          if(!
    TextCreate(0,"TextHigh_"+(string)i,0,date[i],high[i],H_L,InpFont,10
             
    clrYellow,90,(ENUM_ANCHOR_POINT)ANCHOR_BOTTOM,false,false,true,0)) 
            { 
             return; 
            } 
          if(!
    TextCreate(0,"TextLow_"+(string)i,0,date[i],low[i],C_O,InpFont,10
             
    clrOrange,-90,(ENUM_ANCHOR_POINT)ANCHOR_BOTTOM,false,false,true,0)) 
            { 
             return; 
            } 
          
    //--- check if the script's operation has been forcefully disabled 
          
    if(IsStopped()) 
             return; 
          
    //--- redraw the chart 
          
    ChartRedraw(); 
          
    // 0.05 seconds of delay 
          
    Sleep(50); 
         } 
      }
      
    void OnDeinit(const int reason)
      {
    //--- destroy timer
    ObjectsDeleteAll();    
      } 
    الملفات المرفقة الملفات المرفقة
    • نوع الملف: ex4 AS.ex4‏ (12.6 كيلوبايت, المشاهدات 19)

  4. #4
    الصورة الرمزية الاستثنائي
    الاستثنائي غير متواجد حالياً عضو نشيط
    تاريخ التسجيل
    Jul 2017
    الإقامة
    البهاما
    المشاركات
    5,577

    افتراضي

    اقتباس المشاركة الأصلية كتبت بواسطة فيلسوف البادية مشاهدة المشاركة
    محجوز
    اقتباس المشاركة الأصلية كتبت بواسطة فيلسوف البادية مشاهدة المشاركة
    كود PHP:
    input string            InpFont="Arial";         // Font 
    int OnInit()
      {
    ObjectsDeleteAll();    

       return(
    INIT_SUCCEEDED);
      }
    //+------------------------------------------------------------------+ 
    bool TextCreate(const long              chart_ID=0,               // chart's ID 
                    
    const string            name="Text",              // object name 
                    
    const int               sub_window=0,             // subwindow index 
                    
    datetime                time=0,                   // anchor point time 
                    
    double                  price=0,                  // anchor point price 
                    
    const string            text="Text",              // the text itself 
                    
    const string            font="Arial",             // font 
                    
    const int               font_size=10,             // font size 
                    
    const color             clr=clrRed,               // color 
                    
    const double            angle=0.0,                // text slope 
                    
    const ENUM_ANCHOR_POINT anchor=ANCHOR_LEFT_UPPER// anchor type 
                    
    const bool              back=false,               // in the background 
                    
    const bool              selection=false,          // highlight to move 
                    
    const bool              hidden=true,              // hidden in the object list 
                    
    const long              z_order=0)                // priority for mouse click 
      

       
    ResetLastError(); 
       if(!
    ObjectCreate(chart_ID,name,OBJ_TEXT,sub_window,time,price)) 
         { 
          Print(
    __FUNCTION__
                
    ": failed to create "Text" object! Error code = ",GetLastError()); 
          return(
    false); 
         } 
       
    ObjectSetString(chart_ID,name,OBJPROP_TEXT,text); 
       
    ObjectSetString(chart_ID,name,OBJPROP_FONT,font); 
       
    ObjectSetInteger(chart_ID,name,OBJPROP_FONTSIZE,font_size); 
       
    ObjectSetDouble(chart_ID,name,OBJPROP_ANGLE,angle); 
       
    ObjectSetInteger(chart_ID,name,OBJPROP_ANCHOR,anchor); 
       
    ObjectSetInteger(chart_ID,name,OBJPROP_COLOR,clr); 
       
    ObjectSetInteger(chart_ID,name,OBJPROP_BACK,back); 
       
    ObjectSetInteger(chart_ID,name,OBJPROP_SELECTABLE,selection); 
       
    ObjectSetInteger(chart_ID,name,OBJPROP_SELECTED,selection); 
       
    ObjectSetInteger(chart_ID,name,OBJPROP_HIDDEN,hidden); 
       
    ObjectSetInteger(chart_ID,name,OBJPROP_ZORDER,z_order); 
       return(
    true); 
      } 
    //+------------------------------------------------------------------+ 
    void OnTick() 
      { 
       
    datetime date[]; // array for storing dates of visible bars 
       
    double   low[];  // array for storing Low prices of visible bars 
       
    double   high[]; // array for storing High prices of visible bars 
    //--- number of visible bars in the chart window 
       
    int bars=(int)ChartGetInteger(0,CHART_VISIBLE_BARS); 
    //--- memory allocation 
       
    ArrayResize(date,bars); 
       
    ArrayResize(low,bars); 
       
    ArrayResize(high,bars); 
    //--- fill the array of dates 
       
    ResetLastError(); 
       if(
    CopyTime(Symbol(),Period(),0,bars,date)==-1
         { 
          Print(
    "Failed to copy time values! Error code = ",GetLastError()); 
          return; 
         } 
    //--- fill the array of Low prices 
       
    if(CopyLow(Symbol(),Period(),0,bars,low)==-1
         { 
          Print(
    "Failed to copy the values of Low prices! Error code = ",GetLastError()); 
          return; 
         } 
    //--- fill the array of High prices 
       
    if(CopyHigh(Symbol(),Period(),0,bars,high)==-1
         { 
          Print(
    "Failed to copy the values of High prices! Error code = ",GetLastError()); 
          return; 
         } 
    //--- define how often texts are to be displayed 
       
    int scale=(int)ChartGetInteger(0,CHART_SCALE); 
    //--- define the step 
       
    int step=1
       switch(
    scale
         { 
          case 
    0
             
    step=12
             break; 
          case 
    1
             
    step=6
             break; 
          case 
    2
             
    step=4
             break; 
          case 
    3
             
    step=2
             break; 
         } 
    //--- create texts for High and Low bars' values (with gaps) 
    int Det=0;
    if(
    _Digits==|| _Digits==3Det=1;
       for(
    int i=0;i<bars;i+=step
         { 
          
    //--- create the texts 
          
    string H_L=DoubleToString(MathPow(10,_Digits-Det)*(iHighNULL,0,i) -iLow(NULL,0,i)),Det);
          
    string C_O=DoubleToString(MathPow(10,_Digits-Det)*(iClose(NULL,0,i)-iOpen(NULL,0,i)),Det);
    ObjectDelete(0,"TextHigh_"+(string)i) ;ObjectDelete(0,"TextLow_"+(string)i) ;

          if(!
    TextCreate(0,"TextHigh_"+(string)i,0,date[i],high[i],H_L,InpFont,10
             
    clrYellow,90,(ENUM_ANCHOR_POINT)ANCHOR_BOTTOM,false,false,true,0)) 
            { 
             return; 
            } 
          if(!
    TextCreate(0,"TextLow_"+(string)i,0,date[i],low[i],C_O,InpFont,10
             
    clrOrange,-90,(ENUM_ANCHOR_POINT)ANCHOR_BOTTOM,false,false,true,0)) 
            { 
             return; 
            } 
          
    //--- check if the script's operation has been forcefully disabled 
          
    if(IsStopped()) 
             return; 
          
    //--- redraw the chart 
          
    ChartRedraw(); 
          
    // 0.05 seconds of delay 
          
    Sleep(50); 
         } 
      }
      
    void OnDeinit(const int reason)
      {
    //--- destroy timer
    ObjectsDeleteAll();    
      } 
    كتب الله اجرك ورفع قدرك اخي
    جاري التجربة
    خذ هذه

  5. #5
    الصورة الرمزية الاستثنائي
    الاستثنائي غير متواجد حالياً عضو نشيط
    تاريخ التسجيل
    Jul 2017
    الإقامة
    البهاما
    المشاركات
    5,577

    افتراضي

    للاسف اخي فيلسوف المؤشر لا يعمل ع المنصة
    ع كل , ما قصرت ننتظر الاخ 500 دولار يساعدنا

  6. #6
    تاريخ التسجيل
    Jul 2011
    الإقامة
    السعودية
    المشاركات
    11,147

    افتراضي

    لا تتفلسف

    يحفظ تحت EXPERTS لأنه ليس مؤشر بل عرض معلومات.
    لايوجد شيء اسمه "لايعمل على المنصة"
    فكل برنامج تجده يعمل على المنصة---اذا وضع في مكانه الصحيح

  7. #7
    الصورة الرمزية ali_shadi
    ali_shadi غير متواجد حالياً عضو المتداول العربي
    تاريخ التسجيل
    Apr 2016
    الإقامة
    السويد
    العمر
    28
    المشاركات
    367

    افتراضي

    اقتباس المشاركة الأصلية كتبت بواسطة الاستثنائي مشاهدة المشاركة
    للاسف اخي فيلسوف المؤشر لا يعمل ع المنصة
    ع كل , ما قصرت ننتظر الاخ 500 دولار يساعدنا
    اضغط على الصورة لعرض أكبر

الاســـم:	PH.jpg
المشاهدات:	31
الحجـــم:	78.6 كيلوبايت
الرقم:	476343

  8. #8
    الصورة الرمزية الاستثنائي
    الاستثنائي غير متواجد حالياً عضو نشيط
    تاريخ التسجيل
    Jul 2017
    الإقامة
    البهاما
    المشاركات
    5,577

    افتراضي

    اقتباس المشاركة الأصلية كتبت بواسطة فيلسوف البادية مشاهدة المشاركة
    لا تتفلسف

    يحفظ تحت EXPERTS لأنه ليس مؤشر بل عرض معلومات.
    لايوجد شيء اسمه "لايعمل على المنصة"
    فكل برنامج تجده يعمل على المنصة---اذا وضع في مكانه الصحيح
    هههههه الله يسعدك يا شيخ -- ايش بي فاهم برمجة عشان أسوقها واتفلسف
    لا والله اني ع عماها -- بجرب الان نحطها بالاكسبرتات جزاك الله كل خير وزوجك بالثالثة
    تحياتي

  9. #9
    الصورة الرمزية الاستثنائي
    الاستثنائي غير متواجد حالياً عضو نشيط
    تاريخ التسجيل
    Jul 2017
    الإقامة
    البهاما
    المشاركات
    5,577

    افتراضي

    ما شتغل لا بمجلد الاكسبرتات ولا بمجلد الانديكيتورات ولا الديكورات
    اعتقد المشكلة بالصيغة لو تقدر تحولها افضل

  10. #10
    الصورة الرمزية الاستثنائي
    الاستثنائي غير متواجد حالياً عضو نشيط
    تاريخ التسجيل
    Jul 2017
    الإقامة
    البهاما
    المشاركات
    5,577

    افتراضي

    اقتباس المشاركة الأصلية كتبت بواسطة ali_shadi مشاهدة المشاركة
    اضغط على الصورة لعرض أكبر

الاســـم:	PH.jpg
المشاهدات:	31
الحجـــم:	78.6 كيلوبايت
الرقم:	476343
    طيب اشرح لي اخي علي كيف اضفت المؤشر للمنصة؟
    انا دخلت ملف mq4 ومنه لملف الاكسبيرت ونسخته هناك اعدت تشغيل المنصة كذا مرة دون ان يظهر
    في شيء ناقص ؟

  11. #11
    الصورة الرمزية الاستثنائي
    الاستثنائي غير متواجد حالياً عضو نشيط
    تاريخ التسجيل
    Jul 2017
    الإقامة
    البهاما
    المشاركات
    5,577

    افتراضي

    ببعض المرات يصدق علي :

    طايح (ن) حظه من القمة --- للطيان (جمع طين

  12. #12
    الصورة الرمزية الاستثنائي
    الاستثنائي غير متواجد حالياً عضو نشيط
    تاريخ التسجيل
    Jul 2017
    الإقامة
    البهاما
    المشاركات
    5,577

    افتراضي

    الحمد لله تم تشغيله بعد محاولات
    اضغط على الصورة لعرض أكبر

الاســـم:	اكسبرت.png
المشاهدات:	19
الحجـــم:	37.9 كيلوبايت
الرقم:	476355
    اخي فيلسوف الارقام لم افهمها ابدا
    انا مقصودي كمثال طرح الاوبن من الكلوز :1.18434-1.18110 = 324 ويظهر اعلى الشمعة هذا الرقم اي ع شموع منتهية تبدا من قبل الحالية الغير منتهية الى ما قبلها (منصة 5 ارقام) وكذلك الفرق بين الهاي واللو بنفس الامر
    الارقام تتغير عندي يبدو انها مربوطة بصعود وهبوط الشمعة الحالية -- ما اريده يسجل بعد انتهاء اي شمعة

    اتمنى وصلت الفكرة واسف لو كان ازعاج

  13. #13
    تاريخ التسجيل
    Jul 2011
    الإقامة
    السعودية
    المشاركات
    11,147

    افتراضي

    ممتاز--طلبك واضح--والبرنامج اعلاه يجيب سؤالك

    الارقامك العلوية الفرق بين الهاوي واللو لذا لاتتغير الا اذا تغير احدها لاخر شمعة--الشموع السابقة طبعا لاتتغير لانها منتهية او ميتة
    الارقام السفلية لا تتغير الا لاخر شمعة لانها الغلاق والافتتاح

    الارقام هي فرق النقاط-الببات
    يعني الفرق بين السعرين ضرب 10000

    ملحوظة=---غير الفريم ثم رجعه ليمسح القيم اللي جاية فوق بعض

  14. #14
    تاريخ التسجيل
    Jul 2011
    الإقامة
    السعودية
    المشاركات
    11,147

    افتراضي

    اعتقد المشكلة بالصيغة لو تقدر تحولها افضل
    لا تتفلسف
    --
    ليكون البرنامج اخف سيتم اختصار عدد الشموع التي يعرض الفروق لها ولتكن فقط اخر 100 شمعة

  15. #15
    الصورة الرمزية الاستثنائي
    الاستثنائي غير متواجد حالياً عضو نشيط
    تاريخ التسجيل
    Jul 2017
    الإقامة
    البهاما
    المشاركات
    5,577

    افتراضي

    اقتباس المشاركة الأصلية كتبت بواسطة فيلسوف البادية مشاهدة المشاركة
    لا تتفلسف
    --
    ليكون البرنامج اخف سيتم اختصار عدد الشموع التي يعرض الفروق لها ولتكن فقط اخر 100 شمعة
    ابشر ع هالخشم
    لكن يا خوي يا ما فهمتني زين يا انا اللي مانا بداري وين حاطني ربي
    خلك معاي دقيقة
    اخر شمعة لليورو دولار فريم الساعة اتركها - شوف الشمعة اللي قبلها 115900 افتتاحها واغلاقها 115863 المفروض يسجل لي اعلاها او تحتها -او محل ما يحب المؤشر - المفروض يسجل 37 فقط ! ناتج طرحهم اهو مسجل 26.2 ومسجل 15.8 ؟ كيف جات والله احترت !!!

صفحة 1 من 2 12 الأخيرةالأخيرة

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