DualSide Grid Hedging EA
- Experts
- 버전: 2.10
- 업데이트됨: 23 6월 2026
- 활성화: 20
A fully automated dual-side grid and hedge Expert Advisor for gold (XAUUSD) on MetaTrader 5.
OVERVIEW
DualSide EA trades both directions on the same symbol at the same time. It opens paired buy and sell positions, adds to the grid by Distance steps as price moves, scales lot size with a martingale multiplier, and aims to close each cycle in profit using a trailing profit lock. An automatic session filter learns the broker's daily market break from tick data, so the EA pauses around the rollover instead of relying on a fixed, broker-specific time.
KEY FEATURES
- Dual-side grid and hedge logic on XAUUSD
- Trailing profit lock closes each cycle once floating profit peaks and pulls back
- Automatic session detection (data-driven, adapts to any broker's market break)
- Per-weekday trading switches
- On-chart information panel (floating P/L, peak, trigger progress, lot totals)
- Works on any broker and account type after you verify the point value and run a backtest
- Pure MQL5, no DLL and no external calls
REQUIREMENTS
- Platform: MetaTrader 5
- Symbol: XAUUSD (gold)
- Timeframe: M5
- Account: hedging mode
- A broker and balance suitable for grid/martingale exposure on gold
RECOMMENDED SETTINGS
The default inputs are tuned for an Exness Cent account, where gold is priced with 3 digits (1 point = 0.001, a Distance of 6000 points is about 6 USD). On any other broker or account type the point value and contract size can differ, so the same inputs behave differently. Before using the EA on a different broker or account type, check the point value and run a backtest first, then adjust Distance and lot size to your account.
Default summary: MA 100 SMA (Close) for direction, Distance 5000 points, Profit trigger 60 / trail 20 (USD), main lot 0.03 / hedge lot 0.01, lot multiplier 1.25, max lot 200, Auto-Session on with a 60-minute buffer.
BACKTEST PERFORMANCE (NOT LIVE RESULTS)
Conditions: XAUUSDc, M5, Exness, 100,000 USC deposit, 1:1000 leverage, modeling "Every tick based on real ticks", 2026.01.01 - 2026.06.22 (about 5.5 months).
- Net profit: +231,533 USC
- Max equity drawdown: 45,198 USC (19.01%)
- Profit factor: 1.15
These are backtest results, not live trading results. Past performance and backtests do not guarantee future results.
RISK WARNING
This is a grid and martingale system. In wide, choppy (sideways whipsawing) markets the grid can build deep positions on both sides and floating drawdown can grow large. Use risk capital only, size your lots to your balance, and test thoroughly in the Strategy Tester before going live. Trading leveraged products carries a high level of risk and is not suitable for every investor.
DOCUMENTATION
A full user manual is available in English and Thai (PDF), covering installation, every input, the information panel, the auto-session logic, the strategy, and risk management.
SUPPORT
Questions and feedback are welcome through the product comments and private messages.
