Open two pending orders - MetaTrader 4 Expert | MT4 EA Download - MetaTrader 4 Resources


The Expert Advisor is designed to automatically place Buy Stop and Sell Stop orders simultaneously, and set Stop Loss and Take Profit at user-specified levels. When the ask price crosses this level, once a long position (BUY) is opened, the remaining pending orders (SELLSTOP) will be deleted. Vice versa, if a short position (sell) is opened when the bid price crosses this level, the remaining pending orders (buy stop) will be deleted. After the order has been closed, it will place two pending orders again. Therefore, widening spreads are not dangerous. However, you need to use this EA to prevent accidentally hitting the stop loss level.
Specified entry, stop-loss and take-profit levels are marked on the chart by lines of different colors.


Attachment download
📎 open_two_pending_orders.mq4 (5.21 KB)
Source: MQL5 #19057
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •