Dear Forex Community,
I'm excited to share Reverser, a MetaTrader 4 Expert Advisor (EA) I’ve been working with, designed for traders who are interested in grid-based hedging strategies. This EA aims to capitalize on market volatility by placing buy and sell orders in a structured grid, making it suitable for ranging markets. I’d love to get your feedback, suggestions, or experiences if you decide to test it!What is Reverser EA?Reverser is a grid-based hedging EA that opens simultaneous buy and sell orders at predefined price intervals, using a Fibonacci-like lot size progression. It closes all positions when a collective profit target is reached, making it a market-neutral strategy that doesn’t rely on predicting market direction. Key features include:
I'm excited to share Reverser, a MetaTrader 4 Expert Advisor (EA) I’ve been working with, designed for traders who are interested in grid-based hedging strategies. This EA aims to capitalize on market volatility by placing buy and sell orders in a structured grid, making it suitable for ranging markets. I’d love to get your feedback, suggestions, or experiences if you decide to test it!What is Reverser EA?Reverser is a grid-based hedging EA that opens simultaneous buy and sell orders at predefined price intervals, using a Fibonacci-like lot size progression. It closes all positions when a collective profit target is reached, making it a market-neutral strategy that doesn’t rely on predicting market direction. Key features include:
- Hedging Approach: Opens both buy and sell orders to capture profits from price oscillations.
- Grid System: Places pending buy stop and sell stop orders at fixed intervals (default: 20 pips) up to 14 levels.
- Fibonacci Lot Sizing: Lot sizes increase progressively (0.01, 0.01, 0.02, ..., 3.77) to recover losses.
- Profit Target: Closes all trades when the total profit reaches a user-defined amount (default: 27 in account currency).
- Trailing Stop: Dynamically adjusts stop losses to the best levels among open orders.
- Spread Filter: Avoids trading in high-spread conditions (default: max 4 pips).
- ECN/Non-ECN Support: Compatible with both broker types.
- LevelDistance: Distance between grid levels (default: 20 pips).
- StopLoss: Fixed stop loss per order (default: 1000 pips).
- MoneyTakeProfit: Collective profit target (default: 27).
- TradeAgainAfterProfit: Option to resume trading after hitting the profit target.
- Lot Sizes: Configurable for each grid level.
- MagicNumber: Unique order identifier (default: 100).
- When no open trades exist and the spread is acceptable, Reverser opens one market buy and one market sell order.
- It places up to 14 buy stop and 14 sell stop orders above and below the current price, forming a grid.
- As price moves, pending orders are triggered, and the EA monitors the total profit.
- When the profit target is reached, all open and pending orders are closed.
- A trailing stop adjusts stop losses to minimize losses as more orders are triggered.
- Aggressive Lot Progression: The Fibonacci-like lot sizing (up to 3.77 lots) can lead to significant drawdowns.
- Large Stop Loss: Default 1000-pip stop loss per order increases risk exposure.
- Trending Markets: Grid strategies can accumulate losses if the market moves strongly in one direction.
- Broker Dependency: Performance varies based on spread, slippage, and broker type (ECN/non-ECN).
- Optimize Parameters: Adjust LevelDistance, StopLoss, MoneyTakeProfit, and lot sizes to suit your risk tolerance.
- Use a Trend Filter: Consider adding a trend indicator (e.g., moving average) to avoid trading in strong trends.
- Monitor Margin: The increasing lot sizes require sufficient account equity.
- Run it on a demo account before going live.