Hedgers - MetaTrader 5 Expert | MT5 EA Download - MetaTrader 5 Resources

Idea from: Eugene Rust
mq5 code: Barabashkakon
The EA hedges positions that are too loss-making.
Suppose there is an open buy position for a given symbol (the position has been opened by another EA or manually). As soon as the loss (in pips) of the position exceeds the predefined level retracement (establishing a hedge) , the EA will open a hedged sell position with the same lot size. The new sell position will then be tracked and the EA will close this hedged sell position once its loss (in points) exceeds the predetermined level of retracement (closing the hedge) .

To demonstrate how it works, the buy opening operation has been added only for the test mode.
Attachment download
📎 hedger.mq5 (43.44 KB)
Source: MQL5 #23511
Hedger - MetaTrader 5 Expert | MT5 EA Download - MetaTrader 5 Resource Usage and Screening Suggestions
Hedger - MetaTrader 5 Expert | MT5 EA Download - MetaTrader 5 resources are MT5 EA related resources. Before downloading or referencing, it is recommended to confirm the platform version, transaction type, time period, whether DLL is required, whether source code is included, parameter description and historical update records.
Both automated trading tools and foreign exchange indicators should first undergo backtesting, simulated account observation, and small capital verification. Pay special attention to spreads, slippages, maximum drawdowns, position opening frequency, stop loss methods, trading periods and broker rules, and avoid direct real-time execution based only on titles or short-term profit descriptions.
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •