Quant Momentum Gold
- Experts
-
Iliya Nedelchev
I am a senior software engineer specializing in MetaTrader 5 trading systems, MQL5 development, Python integrations, execution infrastructure, risk controls and trading analytics. - 버전: 1.3
- 활성화: 10
Systematic Gold trading without grid or martingale
Gold can produce strong directional moves, but following them manually requires patience, consistent execution and strict risk control.
Quant Momentum Gold automates that process. The Expert Advisor waits for a confirmed price breakout, measures current volatility and opens a position only when its predefined conditions are met. It is designed for traders who want a clear, rule-based Gold strategy instead of constant chart watching or discretionary entries.
The strategy is intentionally transparent. It uses time-series momentum, Donchian price channels and ATR-based position management. There is no grid, martingale, averaging down, recovery sequence or hidden trade multiplier.
Why traders may choose Quant Momentum Gold
- A complete automated workflow from signal detection to position exit
- One understandable trend-following concept rather than a black-box score
- Both long and short trading on Gold
- Position size calculated from equity and stop distance
- Every new position receives a protective stop loss
- ATR trailing stop adapts to current Gold volatility
- Faster exit channel reacts when momentum weakens
- Spread-to-volatility filter avoids entries when trading costs are excessive
- Daily-loss and peak-equity entry guards
- No external DLL, WebRequest, subscription or additional service
- No grid, martingale or averaging into losing positions
The main benefit is discipline. The EA applies the same rules to every completed H1 bar and does not chase price, increase risk after a loss or enter because of emotion.
How the strategy works
Quant Momentum Gold evaluates completed H1 candles.
- The EA calculates an 80-bar Donchian price channel.
- A confirmed close beyond the channel creates a directional momentum signal.
- Current ATR defines the initial protective stop distance.
- Position volume is calculated from the selected percentage of account equity.
- An ATR trailing stop follows favorable movement.
- A faster 30-bar channel can close the position when momentum reverses.
The strategy may remain inactive while Gold is moving sideways. This is expected behavior. Trend-following systems accept multiple small losing trades while waiting for larger directional moves, and profitable periods are not evenly distributed.
Recommended setup
- Platform: MetaTrader 5
- Instrument: XAUUSD, GOLD or the broker's equivalent Gold symbol
- Timeframe: H1
- Recommended preset: Gold H1 Moderate
- Default risk per new position: 0.50% of current equity
- Minimum practical deposit: depends on the broker's Gold contract size and minimum lot
- Account type: netting or hedging
- VPS: recommended for uninterrupted operation
The signal timeframe is selected internally, so the EA can be attached to another chart timeframe. The supplied preset and historical evidence are designed for Gold H1.
Built-in risk controls
Risk is calculated before every entry. The EA estimates the monetary loss at the protective stop and normalizes volume to the broker's permitted lot step.
- Risk percentage per trade
- ATR stop multiplier
- ATR trailing-stop multiplier
- Maximum spread relative to ATR
- Maximum daily equity loss entry guard
- Maximum peak-equity drawdown entry guard
- Long and short direction switches
- Maximum execution deviation
- Unique magic number
The daily-loss and drawdown controls stop new entries after their thresholds are reached. They do not guarantee a maximum account loss because gaps, slippage, commissions and open-position movement can exceed the configured values.
Historical Strategy Tester evidence
The default parameters were evaluated in the native MetaTrader 5 Strategy Tester using the broker's Gold symbol, H1, an initial deposit of 10,000 USD and leverage of 1:100.
Development period: 1 January 2024 to 1 January 2026
- Test model: every tick based on real ticks
- History quality: 100%
- Simulated execution delay: 1000 ms
- Total net profit: 815.29 USD
- Profit factor: 1.31
- Sharpe ratio: 1.17
- Total trades: 135
- Maximum equity drawdown: 5.21%
Locked out-of-sample period: 1 January 2026 to 26 October 2026
- Test model: every tick based on real ticks
- History quality: 100%
- Simulated execution delay: 1000 ms
- Total net profit: 392.08 USD
- Profit factor: 1.68
- Sharpe ratio: 2.28
- Total trades: 23
- Maximum equity drawdown: 3.34%
The 2026 period was evaluated separately after the strategy parameters had been fixed. Screenshots contain the native Strategy Tester summary and equity curve.
What is included
- Ready-to-use Expert Advisor for MetaTrader 5
- Gold H1 Moderate preset
- Adjustable risk and execution controls
- Automatic long and short execution
- Free product updates through MQL5 Market
- Support through MQL5 product comments and private messages
Before using the EA
Backtest the demo version with your broker's Gold symbol and compare the contract size, spread, commissions, swaps and minimum volume. Start on a demo account. Use a risk setting appropriate for your own financial situation and risk tolerance.
Risk notice: Historical Strategy Tester results are simulations, not live trading results. They do not guarantee future performance. Different brokers, symbols, prices, costs, execution conditions and market regimes can produce materially different results. Automated trading involves risk and can result in losses.
