QuantForg Gold Breakout

QuantForg Gold Breakout is a simple, transparent Expert Advisor for gold (XAUUSD) on MetaTrader 5. It trades a trend-filtered breakout with a stop loss and take profit on every trade.

How it works

  • Trend: H1 EMA 50 versus EMA 200 decides the allowed direction.
  • Entry: a confirmed M15 close beyond the high or low of the last 40 bars, checked once per new M15 bar.
  • Stop loss: 2.0 x ATR(14) on M15. Take profit: 2.5 x the risk.
  • The reward is checked after spread; trades with poor net reward-to-risk are skipped.
  • Session: 07:00 to 12:00 UTC, Monday to Friday. One position at a time.

Risk controls

  • No martingale, no grid, no averaging down.
  • Lot size is reduced (never raised) so a stop-out stays under your maximum risk percent.
  • Spread filter and daily stop that pauses new trades for the day.

Setup

  1. Open an XAUUSD chart on the M15 timeframe.
  2. Attach the EA and enable Algo Trading.
  3. Start with the default lot 0.01 on a demo account.
  4. Keep the terminal running during the trading session (a VPS is recommended).

Inputs

  • InpLot: trade size (default 0.01)
  • InpMaxRiskPct: maximum loss at the stop, percent of equity
  • InpDailyStopPct: daily loss that pauses new trades
  • InpMinRR: minimum reward to risk after spread
  • InpMaxSpread: maximum allowed spread in price units
  • InpStartHourUTC / InpEndHourUTC: trading window
  • InpSwingBars, InpAtrPeriod, InpAtrSlMult, InpRR: breakout lookback, ATR settings and reward ratio
  • InpMagic: magic number

Test results

Strategy Tester, XAUUSD M15, 2025-12 to 2026-11, 3000 USD deposit, every tick based on real ticks (history quality 63%): 88 trades, win rate 44%, profit factor 2.02, maximum equity drawdown 4.4%. Earlier periods tested in our research were weaker, losing streaks of several trades occur, and results depend on broker, spread and execution.

Risk warning: trading gold with leverage is high risk and you can lose your capital. Tested performance does not guarantee future results. Test on a demo account first.

Website and support: quantforg.com

Filtrele:
Değerlendirme yok
Değerlendirmeye yanıt