MetaTrader 5 · XAUUSD · Breakout EAs

London Breakout EA for MT5

GoldLab London Breakout is a London breakout EA for MT5 that marks the Asian session range on XAUUSD and trades the first clean break of it after the London open - one trade per side per day, a stop-loss on every order and an exit before the session ends.

GoldLab London Breakout - london breakout ea mt5
GoldLab London Breakout logo
$99One-time purchase · no subscription · free demo on MQL5
Buy on MQL5 Market →

GoldLab London Breakout is a fully automated Expert Advisor for MetaTrader 5. It is designed for XAUUSD (gold) and also runs on other symbols such as EURUSD.

How it trades

  1. Builds the Asian range - the highest high and lowest low between the Range start hour and Range end hour (server time, default 00:00-07:00), measured on M15 bars.
  2. Filters the range - the range must be between a minimum and maximum size relative to the Daily ATR, so dead-quiet and already-exploded sessions are skipped.
  3. Trades the breakout at the London open - between the range end and the No new entries hour (default 07:00-12:00), a buy opens when price breaks above the range high plus a small buffer, a sell when it breaks below the range low.
  4. One trade per side per day - at most one buy and one sell breakout per day, and only one position at a time. Late breakouts (price already far beyond the level) are skipped.
  5. Stop-loss on the other side of the range (or an ATR-based stop, selectable). Take-profit at a multiple of the risk (default 2R). Optional break-even at 1R.
  6. Session-end exit - any open trade is closed at the Close hour (default 20:00 server time).

Risk management (built in)

  • Every trade is opened with a stop-loss. There is no martingale, no grid and no averaging down.
  • Position size from risk % of balance (default 1%) or a fixed lot; lots are normalised to the broker's min / max / step and reduced if free margin is not enough.
  • Daily loss limit: no new trades for the rest of the day once equity is down the set % from the day-start balance.
  • Max spread filter, optional trading-hours filter, and no orders while the market is closed or trading on the symbol is disabled.
  • Stop-loss / take-profit are always placed outside the broker's stops and freeze levels.
  • Works on hedging and netting accounts (on netting accounts it opens only when the symbol has no position).

Inputs and default settings

InputDefaultDescription
Range start hour0Asian range start (server time)
Range end hour7Asian range end = London open (server time)
Range timeframeM15Bars used to measure the range
No new entries from hour12End of the breakout window
Close hour20Close open trades at this hour (-1 = off)
Breakout buffer (points)5Distance beyond the range required for a breakout
Max chase (range widths)0.5Skip a breakout if price is already this far beyond the level
Min / Max range (x Daily ATR)0.10 / 1.50Range size filter (0 = off)
Stop-loss placementOther side of rangeOr ATR multiple from entry
ATR period14H1 ATR for stops, D1 ATR for the range filter
Stop-loss ATR x1.5Used in ATR stop mode
Take-profit (R)2.0Target as a multiple of the stop distance
Break-even at (R)1.0Move stop to entry at this profit (0 = off)
Risk per trade (%)1.0Risk as % of balance, used when Fixed lot = 0
Fixed lot0.0Fixed lot size (0 = use Risk %)
Maximum lot10.0Upper cap per trade
Use minimum lot if risk lot is too smalltrueOn small accounts trade the broker minimum instead of skipping
Magic number20271001Change it to run several copies on one account
Daily loss limit (%)3.0Stop opening trades for the day at this loss (0 = off)
Max spread (points)602-digit gold / 4-digit FX scale (100 = 1.00 USD on gold); 0 = off
Restrict to trading hoursfalseOptional start / end hour (server time) for new entries
Max slippage (points)30Same scale as spread
Show info panelfalseOptional status panel on the chart

Recommended setup

  • Symbol / timeframe: XAUUSD (designed for gold), also major FX pairs such as EURUSD / GBPUSD. Attach to any timeframe chart (M15 or H1 recommended for viewing) - the range is always measured on the Range timeframe input.
  • Account: any (hedging or netting), any deposit that allows the broker's minimum lot with a sensible risk %.
  • VPS: recommended for uninterrupted operation.

Honest notes

  • No trading system can guarantee profit. Past performance, in the tester or live, does not guarantee future results.
  • Always test the EA in the MetaTrader 5 Strategy Tester and then on a demo account before using real money, with your broker's own data and spread.
  • Session hours are in your broker's server time - check your broker's time zone and adjust the hour inputs if needed.
  • Start with a low risk % and use money you can afford to lose.
How GoldLab London Breakout trades - illustration
How it trades (illustration, not real trading results).
GoldLab London Breakout risk management features
Built-in risk management.

Plan your risk before you run it

FAQ

What time does the London breakout EA trade?

By default it builds the range from 00:00 to 07:00 server time, opens new trades only between 07:00 and 12:00 and closes any open trade at 20:00. All hours are inputs, so you can match them to your broker's time zone.

Is there a free demo?

Yes. Every MQL5 Market product has a free demo that runs in the MetaTrader 5 Strategy Tester, so you can test it on your broker's own data before buying.

Does it use martingale, grid or averaging down?

No. Every position is opened with a stop-loss, the lot size comes from your risk % (or a fixed lot), and there is a daily loss limit.

Which broker and account do I need?

Any MetaTrader 5 broker that offers XAUUSD, on a hedging or netting account. A low-spread account and a VPS for 24/5 operation are recommended.

Can this EA guarantee profits?

No. No trading system wins every trade, and backtest or past results do not guarantee future results. Start on a demo account with the default risk.

Trading gold, forex and CFDs is high risk and you can lose your capital. This page is for information only and is not investment advice. Illustrations are not trading results.