Crown Pips

Algorithms › Gold London Breakout

Betaversion 1.10

Gold London Breakout

Trades the break of the Asia range on XAU/USD at the London open, with a trend filter and hard risk limits.

MarketGold (XAU/USD)
TimeframeM5 (ATR on M15, trend on H1)
StyleSession breakout
Risk levelMedium risk

How it works

Between 00:00 and 07:00 UTC the algorithm measures the Asia range on XAU/USD. From 07:00 to 11:00 UTC it waits for a break of that range by a small buffer (0.10 x ATR) and opens at most one trade per direction.

Filters

  • The range must be between 0.8 and 6 x ATR(14, M15) wide, so very quiet and very wild nights are skipped.
  • Trend filter: longs only above the 200 EMA on H1, shorts only below it.
  • No entry while the spread is wider than the limit.

Exits

  • Stop loss 1.5 x ATR(14, M15), sent with the order so it sits on the broker's server.
  • Take profit at 2R.
  • Stop to break-even and trailing from 1R.
  • Everything still open is closed at 20:00 UTC, and before the weekend.

Risk limits

  • Risk per trade from your risk profile (Standard: 0.5% of equity).
  • At most 3 trades a day, and no new trades after a 2% loss day.
  • Never adds to a losing position.

Beta

The rules are fixed and public. There is no public track record yet, so we show no performance figures. Start on a demo account.

Parameters

Defaults the EA receives; risk comes from your risk profile.
Parameters of Gold London Breakout with their defaults and allowed range
ParameterDefaultRange
Risk per trade (% of equity)Position size is calculated so a stop-out loses about this much.risk_percent 0.5 0.05 – 2
Max loss per day (% of start-of-day equity)No new trades for the rest of the UTC day once reached.max_daily_loss_pct 2 0.5 – 10
Max trades per daymax_trades_per_day 3 1 – 10
Max spread (points, 0 = off)Skips an entry while the spread is wider.max_spread_points 60 0 – 500
Skip if the minimum lot risks more than plannedskip_if_min_lot_too_big On on / off
Asia range start (hour UTC)asia_start_utc 00:00 UTC 00:00 UTC – 23:00 UTC
Asia range end (hour UTC)asia_end_utc 07:00 UTC 01:00 UTC – 24:00 UTC
Entry window start (hour UTC)trade_start_utc 07:00 UTC 00:00 UTC – 23:00 UTC
Entry window end (hour UTC)No new trades after this hour.trade_end_utc 11:00 UTC 01:00 UTC – 24:00 UTC
Breakout buffer beyond the range (x ATR)breakout_buffer_atr 0.1 0 – 1
Min Asia range width (x ATR)min_range_atr 0.8 0.1 – 5
Max Asia range width (x ATR)max_range_atr 6 1 – 15
EMA trend filterOnly long above the EMA, only short below it.use_trend_filter On on / off
Trend filter timeframetrend_tf H1 M15 · M30 · H1 · H4
EMA periodema_period 200 20 – 400
Max one trade per direction per dayone_trade_per_side On on / off
ATR timeframeatr_tf M15 M5 · M15 · M30 · H1
ATR periodatr_period 14 5 – 50
Stop loss (x ATR)sl_atr_mult 1.5 0.5 – 5
Take profit (x R, 0 = no fixed target)tp_r 2 0 – 6
Stop to break-even after (x R, 0 = off)break_even_r 1 0 – 5
Trailing starts after (x R, 0 = off)trail_start_r 1 0 – 5
Trailing distance (x ATR)trail_atr_mult 1 0.2 – 5
Close all positions at (hour UTC, -1 = off)close_hour_utc 20:00 UTC off – 23:00 UTC
Also close on Friday at that hourclose_before_weekend On on / off