+ Reply to Thread
Page 3 of 15 1 2 3 4 5 13 ...
Results 21 to 30 of 141

 

Thread: اسأل اى سؤال فى الـ mql4

  • Thread Tools
  1. #21 Collapse post
    ahmedkaka is offline
    عضو جديد Array
    Join Date
    Jun 2012
    Posts
    17
    Accrued Payments
    2 USD
    Thanks
    0
    Thanked 0 Times in 0 Posts
    SubscribeSubscribe
    subscribed 0
    نعم ياريت تعملنا دورة
    لانى واحد من الناس معندهوش خبرة فى البرمجة
    ياريت لو تكرمت وتفضلت وعملتلنا شرح مطول عن البرمجة

    Though trading on financial markets involves high risk, it can still generate extra income in case you apply the right approach. By choosing a reliable broker such as InstaForex you get access to the international financial markets and open your way towards financial independence. You can sign up here.


  2. #22 Collapse post
    Sakr is offline
    عضو نشيط Array
    Join Date
    May 2012
    Posts
    99
    Accrued Payments
    38 USD
    Thanks
    0
    Thanked 1 Time in 1 Post
    SubscribeSubscribe
    subscribed 0
    Quote Originally Posted by mohamed eldamnhorey
    انا عايز اتعلم اكتب الكود ده من دماغى
    بدون ما اعمل كوبى وباست

    عايز افسره حاجه حاجه واكتبه من دماغى
    ؟؟
    لو عندك خلفية عن لغات برمجة تانية اعتقد حتقدر تتعامل مع اللغة دى بكل سهولة وتفهمها بسرعة
    لإنها اسهل من لغات برمجة تانية كتييير

    لو مافيش ان شاء الله ححاول اعمل دورة بس المشكلة انى فاشل فى الشرح
    بس والله ححاول على قد ما اقدر


    Quote Originally Posted by elssayed
    مشكور ياغالي علي الموضوع القيم ده
    وان شاء الله يجتمع هنا اعضاء كثير ذوي خبرة مثلك
    واي حاجة هسالك ان شاء الله
    وانا فى انتظار اسألتك فى اى وقت
    Quote Originally Posted by ahmedkaka
    نعم ياريت تعملنا دورة
    لانى واحد من الناس معندهوش خبرة فى البرمجة
    ياريت لو تكرمت وتفضلت وعملتلنا شرح مطول عن البرمجة
    ان شاء الله حعمل دورة

    Though trading on financial markets involves high risk, it can still generate extra income in case you apply the right approach. By choosing a reliable broker such as InstaForex you get access to the international financial markets and open your way towards financial independence. You can sign up here.


  3. #23 Collapse post
    21cent is offline
    عضو نشيط Array
    Join Date
    Jun 2012
    Posts
    128
    Accrued Payments
    25 USD
    Thanks
    0
    Thanked 9 Times in 7 Posts
    SubscribeSubscribe
    subscribed 0
    اخى ممكن الكود الاوامر المعلقة بحيث اذا جاب الهاى لليوم السابق باربع نقط يفتح شراء استوب بهدف والاستوب واذا تفعل الصفقة يقوم بوضع
    امر معلق بيع استوب على الاستوب للصفقة اللى فاتت
    مش عارف اعملها دى فى اللغة مع العلم انى لسة جديد

    Though trading on financial markets involves high risk, it can still generate extra income in case you apply the right approach. By choosing a reliable broker such as InstaForex you get access to the international financial markets and open your way towards financial independence. You can sign up here.


  4. #24 Collapse post
    mohamed eldamnhorey is offline
    فنــــان فوركس مصــــر Array
    Join Date
    May 2012
    Posts
    5,086
    Accrued Payments
    918 USD
    Thanks
    0
    Thanked 112 Times in 53 Posts
    SubscribeSubscribe
    subscribed 0
    اهم شئ اننا نعرف نكتب الكود البرمجى ده من دمغنا

    ونبقا فاهمين احنا بنعمل ايه ياصقر مش يافرحتى ناخد كوبى وباست من الاكواد بدون فهم ومعرفه

    Though trading on financial markets involves high risk, it can still generate extra income in case you apply the right approach. By choosing a reliable broker such as InstaForex you get access to the international financial markets and open your way towards financial independence. You can sign up here.


  5. #25 Collapse post
    ahscience2007 is offline
    عضو نشيط Array
    Join Date
    Jul 2012
    Posts
    281
    Accrued Payments
    56 USD
    Thanks
    0
    Thanked 3 Times in 3 Posts
    SubscribeSubscribe
    subscribed 0
    Quote Originally Posted by Sakr
    السلام عليكم ورحمة الله وبركاته

    انا حبيت افتح الموضوع ده لو حد عنده اى سؤال فى الـ
    mql4

    ان شاء الله ححاول اجاوبه عليه

    لست خبير برمجى لكن عندى خبرة معقولة فيها
    ممكن مقدرتش اجاوب على اسإلتكم لكن ححاول على قد ما اقدر ادور على حلول
    وبدل ما تدور لوحدك على فكرة لكود او حل لمشكلة معينه
    يبقى اتنين بيفكرو احسن من واحد لوحده

    وبالتوفيق للجميع ان شاء الله
    أنا عندي سؤال في مؤشر عملته عايزه يطرح سعر اغلاق الشمعة قبل السابقة من الشمعة السابقة .....وللأسف بعد ما عملت المؤشر لا أدري لماذا ينفذ على البيانات السابقة ويعطيني خطين منطبقين في البيانات الحالية.....ممكن تساعدني في حل هذه المشكلة ولك جزيل الشكر وهذا هو كود المؤشر

    Code:
    //+------------------------------------------------------------------+
    //|                                                   Divergence.mq4 |
    //|                                                    Ahmed Mostafa |
    //|                                     http://www.aman4x.com/forum/ |
    //+------------------------------------------------------------------+
    #property copyright "Ahmed Mostafa"
    #property link      "http://www.aman4x.com/forum/"
    
    #property indicator_separate_window
    #property indicator_buffers 2
    #property indicator_color1 Yellow
    #property indicator_color2 Red
    //---- indicator parameters
    extern int FastEMA=3;
    extern int SlowEMA=26;
    extern int SignalSMA=1;
    //--- buffers
    double MacdBuffer[];
    double PriceBuffer[];
    //+------------------------------------------------------------------+
    //| Custom indicator initialization function                         |
    //+------------------------------------------------------------------+
    int init()
      {
    //---- indicators
       SetIndexStyle(0,DRAW_LINE);
       SetIndexBuffer(0,MacdBuffer);
       SetIndexStyle(1,DRAW_LINE);
       SetIndexBuffer(1,PriceBuffer);
    //---- name for DataWindow and indicator subwindow label
       IndicatorShortName("MACD("+FastEMA+","+SlowEMA+","+SignalSMA+")");
       SetIndexLabel(0,"MACD");
       SetIndexLabel(1,"Price");
    //---- initialization done   
       return(0);
      }
    //+------------------------------------------------------------------+
    //| Custom indicator deinitialization function                       |
    //+------------------------------------------------------------------+
    int deinit()
      {
    //----
       
    //----
       return(0);
      }
    //+------------------------------------------------------------------+
    //| Custom indicator iteration function                              |
    //+------------------------------------------------------------------+
    int start()
      {
       int limit;
       int counted_bars=IndicatorCounted();
       double Macd1,Macd2,Price1,Price2,Macdspeed,Pricespeed;
    //---- last counted bar will be recounted
       if(counted_bars>0) counted_bars--;
       limit=Bars-counted_bars;
    //---- count the gradient of MACD and Price close
       for(int i=0; i<limit; i++)
       {
       Macd1=iMACD(NULL,0,FastEMA,SlowEMA,SignalSMA,PRICE_CLOSE,MODE_SIGNAL,i-1);
       Macd2=iMACD(NULL,0,FastEMA,SlowEMA,SignalSMA,PRICE_CLOSE,MODE_SIGNAL,i-2);
       Price1=iClose(NULL,0,1);
       Price2=iClose(NULL,0,2);
       Macdspeed=Macd1-Macd2;
       Pricespeed=Price1-Price2;
       MacdBuffer[i]=Macdspeed;
       PriceBuffer[i]=Pricespeed;
       }
    //---- done
       return(0);
      }
    //+------------------------------------------------------------------+


    ---------- Post added at 11:01 PM ---------- Previous post was at 10:55 PM ----------

    Quote Originally Posted by 21cent
    اخى ممكن الكود الاوامر المعلقة بحيث اذا جاب الهاى لليوم السابق باربع نقط يفتح شراء استوب بهدف والاستوب واذا تفعل الصفقة يقوم بوضع
    امر معلق بيع استوب على الاستوب للصفقة اللى فاتت
    مش عارف اعملها دى فى اللغة مع العلم انى لسة جديد
    أمر شراء ستوب معلق
    Code:
    OrderSend(Symbol(),OP_BUYSTOP,Lots,BuyPrice,3,BuySL,BuyTP,"",Magicnumber,0,Green);
    وهذا شرح الكود:
    Lots
    قيمة اللوت الذي يجب تعريفه في اعلى البرنامج

    BuyPrice
    هو السعر الذي سيتم منه الشراء

    BuySL
    هو الاستوب لوز

    BuyTP
    سعر جني الارباح

    ---------- Post added at 11:05 PM ---------- Previous post was at 11:01 PM ----------

    بالنسبة الى أمر البيع المعلق....هو كما يلي

    Code:
    OrderSend(Symbol(),OP_SELLSTOP,Lots,SellPrice,3,SellSL,SellTP,"",Magicnumber,0,Green);
    الشرح
    Lots
    قيمة اللوت المطلوب

    SellPrice
    السعر الذي سيتم فتح عنده صفقة البيع المعلق

    SellSL
    الاستوب لوز

    SellTP
    السعر الذي سيتم عنده جني الاربح

    أتمنى أن يكون الاكواد واضحة

    Though trading on financial markets involves high risk, it can still generate extra income in case you apply the right approach. By choosing a reliable broker such as InstaForex you get access to the international financial markets and open your way towards financial independence. You can sign up here.


  6. #26 Collapse post
    Shady Moustafa is offline
    عضو محترف Array
    Join Date
    Apr 2012
    Location
    Egypt
    Posts
    608
    Accrued Payments
    153 USD
    Thanks
    2
    Thanked 6 Times in 6 Posts
    SubscribeSubscribe
    subscribed 0
    Quote Originally Posted by ahscience2007
    أنا عندي سؤال في مؤشر عملته عايزه يطرح سعر اغلاق الشمعة قبل السابقة من الشمعة السابقة .....وللأسف بعد ما عملت المؤشر لا أدري لماذا ينفذ على البيانات السابقة ويعطيني خطين منطبقين في البيانات الحالية.....ممكن تساعدني في حل هذه المشكلة ولك جزيل الشكر وهذا هو كود المؤشر

    Code:
    //+------------------------------------------------------------------+
    //|                                                   Divergence.mq4 |
    //|                                                    Ahmed Mostafa |
    //|                                     http://www.aman4x.com/forum/ |
    //+------------------------------------------------------------------+
    #property copyright "Ahmed Mostafa"
    #property link      "http://www.aman4x.com/forum/"
    
    #property indicator_separate_window
    #property indicator_buffers 2
    #property indicator_color1 Yellow
    #property indicator_color2 Red
    //---- indicator parameters
    extern int FastEMA=3;
    extern int SlowEMA=26;
    extern int SignalSMA=1;
    //--- buffers
    double MacdBuffer[];
    double PriceBuffer[];
    //+------------------------------------------------------------------+
    //| Custom indicator initialization function                         |
    //+------------------------------------------------------------------+
    int init()
      {
    //---- indicators
       SetIndexStyle(0,DRAW_LINE);
       SetIndexBuffer(0,MacdBuffer);
       SetIndexStyle(1,DRAW_LINE);
       SetIndexBuffer(1,PriceBuffer);
    //---- name for DataWindow and indicator subwindow label
       IndicatorShortName("MACD("+FastEMA+","+SlowEMA+","+SignalSMA+")");
       SetIndexLabel(0,"MACD");
       SetIndexLabel(1,"Price");
    //---- initialization done   
       return(0);
      }
    //+------------------------------------------------------------------+
    //| Custom indicator deinitialization function                       |
    //+------------------------------------------------------------------+
    int deinit()
      {
    //----
       
    //----
       return(0);
      }
    //+------------------------------------------------------------------+
    //| Custom indicator iteration function                              |
    //+------------------------------------------------------------------+
    int start()
      {
       int limit;
       int counted_bars=IndicatorCounted();
       double Macd1,Macd2,Price1,Price2,Macdspeed,Pricespeed;
    //---- last counted bar will be recounted
       if(counted_bars>0) counted_bars--;
       limit=Bars-counted_bars;
    //---- count the gradient of MACD and Price close
       for(int i=0; i<limit; i++)
       {
       Macd1=iMACD(NULL,0,FastEMA,SlowEMA,SignalSMA,PRICE_CLOSE,MODE_SIGNAL,i-1);
       Macd2=iMACD(NULL,0,FastEMA,SlowEMA,SignalSMA,PRICE_CLOSE,MODE_SIGNAL,i-2);
       Price1=iClose(NULL,0,1);
       Price2=iClose(NULL,0,2);
       Macdspeed=Macd1-Macd2;
       Pricespeed=Price1-Price2;
       MacdBuffer[i]=Macdspeed;
       PriceBuffer[i]=Pricespeed;
       }
    //---- done
       return(0);
      }
    //+------------------------------------------------------------------+


    ---------- Post added at 11:01 PM ---------- Previous post was at 10:55 PM ----------



    أمر شراء ستوب معلق
    Code:
    OrderSend(Symbol(),OP_BUYSTOP,Lots,BuyPrice,3,BuySL,BuyTP,"",Magicnumber,0,Green);
    وهذا شرح الكود:
    Lots
    قيمة اللوت الذي يجب تعريفه في اعلى البرنامج

    BuyPrice
    هو السعر الذي سيتم منه الشراء

    BuySL
    هو الاستوب لوز

    BuyTP
    سعر جني الارباح
    هو رقم 3 تبع ال
    BuyPrice
    وال 0 تبع
    Magicnumber
    صح كده ؟

    Though trading on financial markets involves high risk, it can still generate extra income in case you apply the right approach. By choosing a reliable broker such as InstaForex you get access to the international financial markets and open your way towards financial independence. You can sign up here.


  7. #27 Collapse post
    ahscience2007 is offline
    عضو نشيط Array
    Join Date
    Jul 2012
    Posts
    281
    Accrued Payments
    56 USD
    Thanks
    0
    Thanked 3 Times in 3 Posts
    SubscribeSubscribe
    subscribed 0
    الأكواد التي عن طريقها نعرف قيمة الهاي وقيمة اللو وسعر الافتتاح وسعر الاغلاق
    لمعرفة سعر الاغلاق
    Code:
    iClose( NULL,0, 1)
    NULL
    معناها العملة التي على الشارت
    0
    معناها الفريم الزمني المفتوح على الشارت
    1
    معناها الشمعة السابقة....لو غيرتها الى 2 تكون الشمعة قبل السابقة وهكذا


    Code:
    iOpen( NULL,0, 1)
    لمعرفة سعر فتح الشمعة

    Code:
    iHigh( NULL,0, 1)
    لمعرفة الهاي للشمعة السابقة

    Code:
    iLow( NULL,0, 1)
    لمعرفة لو الشمعة السابقة

    ---------- Post added at 11:34 PM ---------- Previous post was at 11:30 PM ----------

    Quote Originally Posted by Shady Moustafa
    هو رقم 3 تبع ال
    BuyPrice
    وال 0 تبع
    Magicnumber
    صح كده ؟
    لأ
    الرقم 3 معناها عدد النقاط المسموح بها اذا تحرك السعر حول نقطة الدخول فان الاكسبيرت يفتح الصفقة بعيدا عن النقطة المحددة له ولكن بشرط ان لا يكون أكثر من 3 نقاط.....فهمتني؟

    أما الرقم 0 معناه أن هذه الصفقة ليس له تاريخ صلاحية....بمعنى تستمر مفتوحة حتى يتحقق التارجت أو يضرب الاستوب لوز

    Though trading on financial markets involves high risk, it can still generate extra income in case you apply the right approach. By choosing a reliable broker such as InstaForex you get access to the international financial markets and open your way towards financial independence. You can sign up here.


  8. #28 Collapse post
    momo is offline
    عضو جديد Array
    Join Date
    Jul 2012
    Posts
    25
    Accrued Payments
    4 USD
    Thanks
    0
    Thanked 0 Times in 0 Posts
    SubscribeSubscribe
    subscribed 0
    يا باشا فهم الناس انك مشرف فى المنتدى فقط مش شغال فى قسم الحسابات لشركة انستا عشان محدش يبعتلك برايفت تانى لنفس السؤال

    ---------- Post added at 09:38 AM ---------- Previous post was at 09:31 AM ----------

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

    Though trading on financial markets involves high risk, it can still generate extra income in case you apply the right approach. By choosing a reliable broker such as InstaForex you get access to the international financial markets and open your way towards financial independence. You can sign up here.


  9. #29 Collapse post
    Shady Moustafa is offline
    عضو محترف Array
    Join Date
    Apr 2012
    Location
    Egypt
    Posts
    608
    Accrued Payments
    153 USD
    Thanks
    2
    Thanked 6 Times in 6 Posts
    SubscribeSubscribe
    subscribed 0
    Quote Originally Posted by ahscience2007
    الأكواد التي عن طريقها نعرف قيمة الهاي وقيمة اللو وسعر الافتتاح وسعر الاغلاق
    لمعرفة سعر الاغلاق
    Code:
    iClose( NULL,0, 1)
    NULL
    معناها العملة التي على الشارت
    0
    معناها الفريم الزمني المفتوح على الشارت
    1
    معناها الشمعة السابقة....لو غيرتها الى 2 تكون الشمعة قبل السابقة وهكذا


    Code:
    iOpen( NULL,0, 1)
    لمعرفة سعر فتح الشمعة

    Code:
    iHigh( NULL,0, 1)
    لمعرفة الهاي للشمعة السابقة

    Code:
    iLow( NULL,0, 1)
    لمعرفة لو الشمعة السابقة

    ---------- Post added at 11:34 PM ---------- Previous post was at 11:30 PM ----------


    لأ
    الرقم 3 معناها عدد النقاط المسموح بها اذا تحرك السعر حول نقطة الدخول فان الاكسبيرت يفتح الصفقة بعيدا عن النقطة المحددة له ولكن بشرط ان لا يكون أكثر من 3 نقاط.....فهمتني؟

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

    OrderSend(Symbol(),OP_BUYSTOP,Lots,BuyPrice,3,BuyS L,BuyTP,"",Magicnumber,0,Green);

    Though trading on financial markets involves high risk, it can still generate extra income in case you apply the right approach. By choosing a reliable broker such as InstaForex you get access to the international financial markets and open your way towards financial independence. You can sign up here.


  10. #30 Collapse post
    ymn30 is offline
    عضو محترف Array
    Join Date
    May 2012
    Posts
    601
    Accrued Payments
    120 USD
    Thanks
    0
    Thanked 1 Time in 1 Post
    SubscribeSubscribe
    subscribed 0
    Quote Originally Posted by Sakr
    يااااااااه اخيراً انا لقيت حد مهتم بالبرمجة :D

    والله يا غالى انا معنديش اى مانع بس زى ما ذكرت فى اول الموضوع انا مش خبير فى البرمجة
    يعنى مش محترف بمعنى الكلمة
    لكن عندى خبرة معقولة الى حد ما فى برمجة الـ mql4

    وطبعاً لو فى ناس عايزة تتعلم برمجة انا معنديش اى مانع اننا نعمل دورة لتعليم البرمجة
    بس اهم حاجة يبقى فى ناس فعلاً عايزة تتعلم البرمجة ويبفى فى تفاعل
    مش حكلم نفسى يعنى :)
    انا معاك ياخى كتير جدا الواحد بيكون عندة افكار على مؤشرات ونفسه يطلعها على الواقع بس بيكون بعيد عنة علشان كدة فكرة دورة هنا فى المنتدا من الاول الى الاحتراف ياريت

    Though trading on financial markets involves high risk, it can still generate extra income in case you apply the right approach. By choosing a reliable broker such as InstaForex you get access to the international financial markets and open your way towards financial independence. You can sign up here.


+ Reply to Thread
Page 3 of 15 1 2 3 4 5 13 ...

Subscribe to this Thread (3)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Threads

Posts

Members