Open two market orders in opposite directions - MetaTrader 4 Script | Trading Script Download - MT4/MT5 Resources


This simple script opens two market orders in two opposite directions. The essence is that when trading news, price tends to break out in one direction. So, ideally, executing this script shortly before the news is released means that if a breakout occurs in one direction, one of the market orders (the one in the wrong direction) will be closed at the price that triggered the stop loss, while the order will remain open to accumulate profits.
It should be noted that this is not always the case, but the above example is just an illustration where such a script may be required.
what else? This script is %100 compatible with ECN accounts that do not allow setting of Stop Loss next to the OrderSend function.
Attachment download
📎 open_two_opposite_orders_v1.1.mq4 (6.63 KB)
Source: MQL5 #20192
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •