Opening Multiple Trades
Please help me write the simplest code that when my signal is triggered it opens one market order and four other pending orders at an interval of 25 pips at the same time. The target for all the five orders is 50 pips from the entry price. No stop loss for all the orders.
Documentation on MQL5: Standard Constants, Enumerations and Structures / Trade Constants / Order Properties
- www.mql5.com
Standard Constants, Enumerations and Structures / Trade Constants / Order Properties - Documentation on MQL5
- Opening Multiple Trades
- Multiple pending orders
- [WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you.
Silah:
Please help me write the simplest code that when my signal is triggered it opens one market order and four other pending orders at an interval of 25 pips at the same time. The target for all the five orders is 50 pips from the entry price. No stop loss for all the orders.
Where are you stuck ?
Please help me write the simplest code that when my signal is triggered it opens one market order and four other pending orders at an interval of 25 pips at the same time. The target for all the five orders is 50 pips from the entry price. No stop loss for all the orders.
RaptorUK:
Where are you stuck ?
Already solved the problem. Thank you though. Had entered the wrong parameters in OrderSend()
Where are you stuck ?
Silah:
Already solved the problem. Thank you though. Had entered the wrong parameters in OrderSend()
Do not double post, even across Forums: https://www.mql5.com/en/forum/146527 this forum is for MT5 mql5 questions and general trading
Already solved the problem. Thank you though. Had entered the wrong parameters in OrderSend()