+ Reply to Thread
Page 4 of 15 ... 2 3 4 5 6 14 ...
Results 31 to 40 of 141

 

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

  • Thread Tools
  1. #31 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 Shady Moustafa
    شكرا ليك على الشرح والتوضيح طب معلش سؤال كمان هو ترتيب الحجات اللى فى الكود ده اللى ما بين الاقواس لازم يكونوا بنفس الترتيب ولا عادى

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

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


    ---------- Post added at 06:00 PM ---------- Previous post was at 05:54 PM ----------

    Code:
    OrderSend( string symbol, int cmd, double volume, double price, int slippage, double stoploss, double takeprofit, string comment=NULL, int magic=0, datetime expiration=0, color arrow_color=CLR_NONE)
    The main function used to open a position or place a pending order.


    Parameters:
    symbol Symbol for trading.
    cmd Operation type. It can be any of the Trade operation enumeration.
    volume Number of lots.
    price Preferred price of the trade.
    slippage Maximum price slippage for buy or sell orders.
    stoploss Stop loss level.
    takeprofit Take profit level.
    comment Order comment text. Last part of the comment may be changed by server.
    magic Order magic number. May be used as user defined identifier.
    expiration Order expiration time (for pending orders only).
    arrow_color Color of the opening arrow on the chart. If parameter is missing or has CLR_NONE value opening arrow is not drawn on the chart.

    Sample:
    Code:
    int ticket;
      if(iRSI(NULL,0,14,PRICE_CLOSE,0)<25)
        {
         ticket=OrderSend(Symbol(),OP_BUY,1,Ask,3,Ask-25*Point,Ask+25*Point,"My order #2",16384,0,Green);
         if(ticket<0)
           {
            Print("OrderSend failed with error #",GetLastError());
            return(0);
           }
        }


    ---------- Post added at 06:06 PM ---------- Previous post was at 06:00 PM ----------

    لو عايز تقفل الصفقة المفتوحة التي لم تصل بعد للهدف أو الاستوب لوز تعمل ايه؟

    تستخدم الأمر التالي

    Code:
    OrderClose( int ticket, double lots, double price, int slippage, color Color=CLR_NONE)
    Parameters:
    ticket - Unique number of the order ticket.
    lots - Number of lots.
    price - Preferred closing price.
    slippage - Value of the maximum price slippage in points.
    Color - Color of the closing arrow on the chart. If the parameter is missing or has CLR_NONE value closing arrow will not be drawn on the chart.

    Sample:
    Code:
     if(iRSI(NULL,0,14,PRICE_CLOSE,0)>75)
        {
         OrderClose(order_id,1,Ask,3,Red);
         return(0);
        }
    يارب تكون مفهومة.......لو في أي حاجة مش واضحة اسأل فيها:)

    ---------- Post added at 06:09 PM ---------- Previous post was at 06:06 PM ----------

    لو فتحت أمر صفقة معلقة وعايز تحذفها تعمل ايه؟!!!!!!!!

    Code:
    OrderDelete( int ticket, color Color=CLR_NONE)
    Parameters:
    ticket - Unique number of the order ticket.
    Color - Color of the arrow on the chart. If the parameter is missing or has CLR_NONE value arrow will not be drawn on the chart.

    Sample:
    Code:
    if(Ask>var1)
        {
         OrderDelete(order_ticket);
         return(0);
        }


    ---------- Post added at 06:15 PM ---------- Previous post was at 06:09 PM ----------

    شرح كيفية معرفة سعر اغلاق الشمعة
    Code:
    iClose( string symbol, int timeframe, int shift)
    double iClose( string symbol, int timeframe, int shift)
    Returns Close value for the bar of indicated symbol with timeframe and shift.


    Parameters:
    symbol - Symbol the data of which should be used to calculate indicator. NULL means the current symbol.
    timeframe - Timeframe. It can be any of Timeframe enumeration values. 0 means the current chart timeframe.
    shift - Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).

    Sample:
    Print("Current bar for USDCHF H1: ",iTime("USDCHF",PERIOD_H1,i),", ", iOpen("USDCHF",PERIOD_H1,i),", ",
    iHigh("USDCHF",PERIOD_H1,i),", ", iLow("USDCHF",PERIOD_H1,i),", ",
    iClose("USDCHF",PERIOD_H1,i),", ", iVolume("USDCHF",PERIOD_H1,i));

    ---------- Post added at 06:26 PM ---------- Previous post was at 06:15 PM ----------

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

    Code:
    iOpen( string symbol, int timeframe, int shift)
    Code:
    iLow( string symbol, int timeframe, int shift)
    Code:
     iHigh( string symbol, int timeframe, int shift)

    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. #32 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 ahscience2007

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


    ---------- Post added at 06:00 PM ---------- Previous post was at 05:54 PM ----------

    Code:
    OrderSend( string symbol, int cmd, double volume, double price, int slippage, double stoploss, double takeprofit, string comment=NULL, int magic=0, datetime expiration=0, color arrow_color=CLR_NONE)
    The main function used to open a position or place a pending order.


    Parameters:
    symbol Symbol for trading.
    cmd Operation type. It can be any of the Trade operation enumeration.
    volume Number of lots.
    price Preferred price of the trade.
    slippage Maximum price slippage for buy or sell orders.
    stoploss Stop loss level.
    takeprofit Take profit level.
    comment Order comment text. Last part of the comment may be changed by server.
    magic Order magic number. May be used as user defined identifier.
    expiration Order expiration time (for pending orders only).
    arrow_color Color of the opening arrow on the chart. If parameter is missing or has CLR_NONE value opening arrow is not drawn on the chart.

    Sample:
    Code:
    int ticket;
      if(iRSI(NULL,0,14,PRICE_CLOSE,0)<25)
        {
         ticket=OrderSend(Symbol(),OP_BUY,1,Ask,3,Ask-25*Point,Ask+25*Point,"My order #2",16384,0,Green);
         if(ticket<0)
           {
            Print("OrderSend failed with error #",GetLastError());
            return(0);
           }
        }


    ---------- Post added at 06:06 PM ---------- Previous post was at 06:00 PM ----------

    لو عايز تقفل الصفقة المفتوحة التي لم تصل بعد للهدف أو الاستوب لوز تعمل ايه؟

    تستخدم الأمر التالي

    Code:
    OrderClose( int ticket, double lots, double price, int slippage, color Color=CLR_NONE)
    Parameters:
    ticket - Unique number of the order ticket.
    lots - Number of lots.
    price - Preferred closing price.
    slippage - Value of the maximum price slippage in points.
    Color - Color of the closing arrow on the chart. If the parameter is missing or has CLR_NONE value closing arrow will not be drawn on the chart.

    Sample:
    Code:
     if(iRSI(NULL,0,14,PRICE_CLOSE,0)>75)
        {
         OrderClose(order_id,1,Ask,3,Red);
         return(0);
        }
    يارب تكون مفهومة.......لو في أي حاجة مش واضحة اسأل فيها:)

    ---------- Post added at 06:09 PM ---------- Previous post was at 06:06 PM ----------

    لو فتحت أمر صفقة معلقة وعايز تحذفها تعمل ايه؟!!!!!!!!

    Code:
    OrderDelete( int ticket, color Color=CLR_NONE)
    Parameters:
    ticket - Unique number of the order ticket.
    Color - Color of the arrow on the chart. If the parameter is missing or has CLR_NONE value arrow will not be drawn on the chart.

    Sample:
    Code:
    if(Ask>var1)
        {
         OrderDelete(order_ticket);
         return(0);
        }


    ---------- Post added at 06:15 PM ---------- Previous post was at 06:09 PM ----------

    شرح كيفية معرفة سعر اغلاق الشمعة
    Code:
    iClose( string symbol, int timeframe, int shift)
    double iClose( string symbol, int timeframe, int shift)
    Returns Close value for the bar of indicated symbol with timeframe and shift.


    Parameters:
    symbol - Symbol the data of which should be used to calculate indicator. NULL means the current symbol.
    timeframe - Timeframe. It can be any of Timeframe enumeration values. 0 means the current chart timeframe.
    shift - Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).

    Sample:
    Print("Current bar for USDCHF H1: ",iTime("USDCHF",PERIOD_H1,i),", ", iOpen("USDCHF",PERIOD_H1,i),", ",
    iHigh("USDCHF",PERIOD_H1,i),", ", iLow("USDCHF",PERIOD_H1,i),", ",
    iClose("USDCHF",PERIOD_H1,i),", ", iVolume("USDCHF",PERIOD_H1,i));

    ---------- Post added at 06:26 PM ---------- Previous post was at 06:15 PM ----------

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

    Code:
    iOpen( string symbol, int timeframe, int shift)
    Code:
    iLow( string symbol, int timeframe, int shift)
    Code:
     iHigh( string symbol, int timeframe, int shift)

    هذه بعض الأوامر المهمة.......وان شاء الله أكمل بكرة علشان ادي فرصة للأسئلة وأجاوب عليها علشان أطمن ان الكلام ده مفهوم

    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. #33 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
    شكرا ليك شرح رائع ومفصل ومنظم
    إن شاء الله اتعلم اللغه
    لانها مفيده
    وفيه موقع ال
    mq4
    كاتب الاكواد كلها
    http://docs.mql4.com/index
    إن شاء الله حتابع الموقع وحتابع الموضوع ده عشان الحجات اللى تقف قصادى ومحتاجه تفسير
    وشكرا ليك مره تانيه
    Last edited by Shady Moustafa; 07-06-2012 at 20:11.

  4. #34 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 Shady Moustafa
    شكرا ليك شرح رائع ومفصل ومنظم
    إن شاء الله اتعلم اللغه
    لانها مفيده
    وفيه موقع ال
    mq4
    كاتب الاكواد كلها
    http://docs.mql4.com/index
    إن شاء الله حتابع الموقع وحتابع الموضوع ده عشان الحجات اللى تقف قصادى ومحتاجه تفسير
    وشكرا ليك مره تانيه
    العفو ياباشا....أنصحك أن تقرأ اكسبيرت مكتوب وتفهمه بحيث تفهم كل أمر في مكانه .....بكده هتقدر تفهم برمجة كويس وأنا هبدأ أشرح اكسبيرت وان شاء الله تستفيدوا منه

    ---------- Post added 07-07-2012 at 01:03 PM ---------- Previous post was 07-06-2012 at 11:57 PM ----------

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

    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. #35 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
    العفو ياباشا....أنصحك أن تقرأ اكسبيرت مكتوب وتفهمه بحيث تفهم كل أمر في مكانه .....بكده هتقدر تفهم برمجة كويس وأنا هبدأ أشرح اكسبيرت وان شاء الله تستفيدوا منه

    ---------- Post added 07-07-2012 at 01:03 PM ---------- Previous post was 07-06-2012 at 11:57 PM ----------

    ما رأيكم نبدأ مع بعض نعمل اكسبيرت يقوم بفتح صفقات بيع وشراء بشروط معينة ....مثلا هاي اليوم السابق .....أو لو اليوم السابق .....وبعد مانخلصه نعمل له باك تست يبقى كده تعلمنا كيف نعمل اكسبيرت من الالف للياء
    أو ممكن تعمل كود لاكسبرت بيفتح ثفقات بناء على تقاطع خطين موفينج افريج ويكون فى خصائصه نتحكم فى خصائص الموفينج والتريلينج ستوب والستوب لوس والتيك بروفت والبريك ايفين والموف استوب تو ساعتها حيبقى الاكسبرت ده لو اتشرح بنفس الطريقه اللى بتشرح بيها دى حنفهم كتير فى وقت قصير وشكرا ليك مره تانيه على تعبك معانا

    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. #36 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
    في موضع تعليم البرمجة الذي فتحته في المنتدى ان شاء الله هنتعلم فيه كل حاجة.....ازاي نعرف تقاطع الموفينج وازاي نفتح صفقة وازاي نحدد التيك بروفت والاستوب لوز وهنفهم كل حاجة ان شاء الله

    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. #37 Collapse post
    msh4egy is offline
    Banned Array
    Join Date
    Jul 2012
    Posts
    489
    Accrued Payments
    100 USD
    Thanks
    0
    Thanked 1 Time in 1 Post
    هل يمكن برمجة اضافة لمنصة التداول تقوم باغلاق جميع الصفقات الرابحة في وقت واحد
    لاني في بعض الاحيان حينما اغلق صفقات تكون رابحة ينخض المؤشر وتصبح الاخرى خاسرة

    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. #38 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 msh4egy
    هل يمكن برمجة اضافة لمنصة التداول تقوم باغلاق جميع الصفقات الرابحة في وقت واحد
    لاني في بعض الاحيان حينما اغلق صفقات تكون رابحة ينخض المؤشر وتصبح الاخرى خاسرة
    ممكن توجد اسكريبتات موجودة في الميتاتريدر لهذا الغرض ولكن بعض الشركات لا تنفذ الاسكريبتات مثل شركة الباري لاني جربتها ولم تنفذ الامر واضطررت الى غلقها يدوي ......ممكن تسأل فيها الدعم الفني في الشركة

    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. #39 Collapse post
    aboushnb is offline
    عضو محترف Array
    Join Date
    Jul 2012
    Location
    القاهرة المحلة الكبرة
    Posts
    467
    Accrued Payments
    96 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.


  10. #40 Collapse post
    Aker001 is offline
    عضو ماسى Array
    Join Date
    Jul 2012
    Location
    تونس
    Posts
    2,340
    Accrued Payments
    489 USD
    Thanks
    0
    Thanked 7 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.


+ Reply to Thread
Page 4 of 15 ... 2 3 4 5 6 14 ...

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