London breakout strategy
On 6E futures from January 2016 to July 2026, the London breakout lost $46,204 after costs and made money in 2 of 11 years.
BreakoutIntraday1-second barsBacktested Nov 6, 2026
London breakout backtest, the result
Contract
Euro FX
-
−$46.2K
Net after costs
After $45,704 in fees and slippage
-
2 of 11
Years that made money
January 2016 to July 2026
-
−$51.9K
Largest drawdown
Peak to trough, 1 contract
-
−$17
Average trade
2,707 trades
Net after costs by month, January 2016 to July 2026.
London breakout rules
Take the range of the quiet hours before London opens, then trade the first close outside it once Europe is trading.
A drawing of the rules on a made-up day, not a result.
- The range is the high and low from midnight to 3:00 New York, before London opens.
- From 3:00 until 11:00 New York, the first one-second close above the range buys and the first below it sells short, once a day.
- The stop is the other side of the range.
- Whatever is still open is closed at 11:00 New York.
- Decides on
- 1-second bars
- Holds
- Nothing overnight
- Parameters
- range start 0, range end 180, exit minute 660
Results by year
It made money in 2 of 11 years on 6E. Its best year was 2020, +$2,456, and its worst 2019, −$17,638.
| Year | Net | Trades | Win rate | Drawdown | Buy and hold |
|---|---|---|---|---|---|
| 2016 | −$1,600 | 240 | 36% | −$8,180 | −$6,181 |
| 2017 | −$1,741 | 254 | 39% | −$6,349 | +$15,614 |
| 2018 | −$11,834 | 256 | 38% | −$15,941 | −$10,542 |
| 2019 | −$17,638 | 258 | 28% | −$19,096 | −$7,479 |
| 2020 | +$2,456 | 258 | 40% | −$8,283 | +$9,077 |
| 2021 | −$1,804 | 259 | 37% | −$6,577 | −$11,686 |
| 2022 | −$5,706 | 258 | 39% | −$10,174 | −$10,904 |
| 2023 | −$1,894 | 258 | 36% | −$7,603 | +$858 |
| 2024 | −$4,154 | 259 | 38% | −$6,127 | −$10,729 |
| 2025 | +$821 | 256 | 39% | −$5,822 | +$14,871 |
| 2026, Jan to Jul | −$3,109 | 151 | 41% | −$5,826 | −$4,846 |
London breakout backtest results
On 6E it lost $500 before costs, then paid $45,704 in fees and slippage.
- Net = before costs − fees − slippage
- 6E: −$500 − $11,467 − $34,238 = −$46,204
The whole interval is under zero: after costs, the average trade lost money.
London breakout code and Pine Script
The strategy as the backtest ran it, and the Pine Script our compiler wrote from it for TradingView.
1from atlantive import BUY, NEW_YORK, SELL, Bars, Session, Strategy2 3 4class LondonBreakout(Strategy):5 """London breakout of the early range, New York time, decided on one-second bars.6 7 The range is the high and low from midnight to 3:00 New York, the hours before London opens.8 From 3:00 until 11:00, the first one-second close above the range buys and the first close below9 it sells short, once a day. The stop is the other side of the range, tested on every one-second10 close, and whatever is still open at 11:00 is closed.11 """12 13 data = "bars"14 15 class Params:16 range_start: int = 017 range_end: int = 18018 exit_minute: int = 66019 clip: int = 120 21 class State:22 clock: Session(zone=NEW_YORK)23 bars: Bars(interval_ns=1_000_000_000)24 hi: float25 lo: float26 range_day: int27 traded_day: int28 29 def on_event(self, view, ev, orders):30 self.clock.update(ev)31 if not self.bars.update(ev):32 return33 minute = self.clock.prev_minute34 second = self.clock.prev_second35 day = self.clock.prev_day36 high = float(self.bars.prev_high)37 low = float(self.bars.prev_low)38 close = float(self.bars.prev_close)39 late = second + 1 >= self.p.exit_minute * 60 or day != self.traded_day40 if view.position > 0:41 if close <= self.lo or late:42 orders.ioc(side=SELL, qty=self.p.clip)43 elif view.position < 0:44 if close >= self.hi or late:45 orders.ioc(side=BUY, qty=self.p.clip)46 if minute >= self.p.range_start and minute < self.p.range_end:47 if self.range_day != day:48 self.range_day = day49 self.hi = high50 self.lo = low51 else:52 self.hi = max(self.hi, high)53 self.lo = min(self.lo, low)54 return55 if view.position == 0 and self.range_day == day and self.traded_day != day:56 if minute >= self.p.range_end and second + 1 < self.p.exit_minute * 60:57 if close > self.hi:58 orders.ioc(side=BUY, qty=self.p.clip)59 self.traded_day = day60 elif close < self.lo:61 orders.ioc(side=SELL, qty=self.p.clip)62 self.traded_day = day 1//@version=62// LondonBreakout, exported from Atlantive.3// Chart simulation: decisions use completed bars; market orders fill at the next bar open.4// Native fills, fees, data gaps and session boundaries can differ. Re-test on the target symbol.5// Use standard time-based candles and the strategy's timeframe, not synthetic chart prices.6// Pine v6 trims old trade records at its order limit; the strategy keeps calculating.7// Margin is explicitly disabled to retain the native signal simulation's sizing.8strategy("LondonBreakout", overlay=true, initial_capital=100000.0, commission_type=strategy.commission.cash_per_contract, commission_value=2.11, default_qty_type=strategy.fixed, default_qty_value=1, calc_on_every_tick=false, process_orders_on_close=false, slippage=0, margin_long=0, margin_short=0)9 10if timeframe.in_seconds() != 111 runtime.error("LondonBreakout was exported for the 1 second timeframe; set the chart to 1S.")12 13range_start = input.int(0, "range_start", minval=-9007199254740991, maxval=9007199254740991)14range_end = input.int(180, "range_end", minval=-9007199254740991, maxval=9007199254740991)15exit_minute = input.int(660, "exit_minute", minval=-9007199254740991, maxval=9007199254740991)16clip = input.int(1, "clip", minval=-9007199254740991, maxval=9007199254740991)17 18_q_safe_int(x) =>19 if math.abs(x) > 900719925474099120 runtime.error("an integer left the exact chart range; this run cannot be compared faithfully")21 int(x)22_q_int(x) => _q_safe_int(x < 0 ? math.ceil(x) : math.floor(x))23_q_iadd(a, b) => _q_safe_int(a + b)24_q_imul(a, b) =>25 if a != 0 and math.abs(b) > 9007199254740991 / math.abs(a)26 runtime.error("an integer multiplication left the exact chart range; this run cannot be compared faithfully")27 _q_safe_int(a * b)28 29_q_high = _q_int(math.round(high * 1000000000.0))30_q_low = _q_int(math.round(low * 1000000000.0))31_q_close = _q_int(math.round(close * 1000000000.0))32 33var float hi = 0.034var float lo = 0.035var int range_day = 036var int traded_day = 037// clock: completed chart bar's opening timestamp (America/New_York).38_q_clock_prev_minute = hour(time, "America/New_York") * 60 + minute(time, "America/New_York")39_q_clock_prev_second = _q_clock_prev_minute * 60 + second(time, "America/New_York")40_q_clock_prev_weekday = (dayofweek(time, "America/New_York") + 5) % 741_q_clock_prev_day = int(timestamp("UTC", year(time, "America/New_York"), month(time, "America/New_York"), dayofmonth(time, "America/New_York"), 0, 0) / 86400000)42// Current clock: this chart bar's scheduled close, known without a future bar.43// A native next event after a data gap can carry a later time.44_q_clock_minute = hour(time_close, "America/New_York") * 60 + minute(time_close, "America/New_York")45_q_clock_second = _q_clock_minute * 60 + second(time_close, "America/New_York")46_q_clock_weekday = (dayofweek(time_close, "America/New_York") + 5) % 747_q_clock_day = int(timestamp("UTC", year(time_close, "America/New_York"), month(time_close, "America/New_York"), dayofmonth(time_close, "America/New_York"), 0, 0) / 86400000)48_q_clock_seen = 149int minute_l = na50int second_l = na51int day = na52float high_l = na53float low_l = na54float close_l = na55bool late = false56 57bool _q_running = true58minute_l := _q_int(_q_clock_prev_minute)59second_l := _q_int(_q_clock_prev_second)60day := _q_int(_q_clock_prev_day)61high_l := _q_high * 1.062low_l := _q_low * 1.063close_l := _q_close * 1.064late := _q_iadd(second_l, 1) >= _q_imul(exit_minute, 60) or day != traded_day65if _q_int(strategy.position_size) > 066 if close_l <= lo or late67 _q_qty1 = _q_int(clip)68 if _q_qty1 <= 069 runtime.error("market order quantity must be a positive whole unit")70 _q_pos1 = _q_int(strategy.position_size)71 if _q_pos1 < 0 or _q_pos1 > 0 and _q_qty1 < _q_pos172 runtime.error("this order would add to or partially reduce a position, so its trade ledger would not be faithful")73 strategy.order("q1", strategy.short, _q_qty1)74else if _q_int(strategy.position_size) < 075 if close_l >= hi or late76 _q_qty2 = _q_int(clip)77 if _q_qty2 <= 078 runtime.error("market order quantity must be a positive whole unit")79 _q_pos2 = _q_int(strategy.position_size)80 if _q_pos2 > 0 or _q_pos2 < 0 and _q_qty2 < -_q_pos281 runtime.error("this order would add to or partially reduce a position, so its trade ledger would not be faithful")82 strategy.order("q2", strategy.long, _q_qty2)83if minute_l >= range_start and minute_l < range_end84 if range_day != day85 range_day := _q_int(day)86 hi := high_l87 lo := low_l88 else89 hi := math.max(hi, high_l)90 lo := math.min(lo, low_l)91 _q_running := false92if _q_running93 if _q_int(strategy.position_size) == 0 and range_day == day and traded_day != day94 if minute_l >= range_end and _q_iadd(second_l, 1) < _q_imul(exit_minute, 60)95 if close_l > hi96 _q_qty3 = _q_int(clip)97 if _q_qty3 <= 098 runtime.error("market order quantity must be a positive whole unit")99 _q_pos3 = _q_int(strategy.position_size)100 if _q_pos3 > 0 or _q_pos3 < 0 and _q_qty3 < -_q_pos3101 runtime.error("this order would add to or partially reduce a position, so its trade ledger would not be faithful")102 strategy.order("q3", strategy.long, _q_qty3)103 traded_day := _q_int(day)104 else if close_l < lo105 _q_qty4 = _q_int(clip)106 if _q_qty4 <= 0107 runtime.error("market order quantity must be a positive whole unit")108 _q_pos4 = _q_int(strategy.position_size)109 if _q_pos4 < 0 or _q_pos4 > 0 and _q_qty4 < _q_pos4110 runtime.error("this order would add to or partially reduce a position, so its trade ledger would not be faithful")111 strategy.order("q4", strategy.short, _q_qty4)112 traded_day := _q_int(day) How it was tested
The published rules, never tuned on the data, with real costs on every fill. Every strategy here is tested the same way.
- Market data
- CME Globex 1-second bars, Jan 2, 2016 to Jul 31, 2026
- Rules
- As published, with the published parameters, never tuned on this data
- Size
- 1 contract on every trade
- Contract
- The most traded one, rolled as the market moved
- Fees
- The broker's $0.50 a side, plus CME's and the NFA's fees when the window opens
- Slippage
- 1 tick a side on ES, 2 in NQ's regular session and 3 outside it, 1 on other markets, where it was not measured
- Stops and entries
- Tested on 1-second closes and filled at the next bar
- Contracts traded
- 6E: 43 contracts, 6EH6 to 6EU6GC: 54 contracts, GCG6 to GCQ6
- Costs paid
- 6E: $11,467 in fees, $34,238 in slippageGC: $11,133 in fees, $54,160 in slippage
- Warm-up
- None: each contract reads only its own bars
- Flagged days
- 6E: NoneGC: None Days the data holds too few bars for. Flagged, not removed.
Could you pass
a prop firm challenge
with the London breakout?
A backtest says whether a strategy makes money. Our AI runs its trades through the rules of every prop firm account, then tells you which one it would pass and at what size.
No card needed. Free credits every month.
- Most money: Blue Guardian Futures Direct 50K, $5,084
- Best payout odds: Funded Futures Family Straight to Funded 50K, 98%
- Fastest pass: Phidias Express to Live 50K, 11 days
$5,084
Median net across 2,000 simulated runs
- Evaluation
- None
- First payout
- 97%
- Fees paid
- $1,521
Median net across 2,000 simulated runs
Questions about the London breakout
What is the London breakout?
Take the range of the quiet hours before London opens, then trade the first close outside it once Europe is trading. Atlantive backtested it on CME futures from January 2016 to July 2026 after costs.
Is the London breakout profitable on 6E futures?
Not in this backtest: on 6E futures from January 2016 to July 2026 it lost $46,204 after costs, over 2,707 trades, positive in 2 of 11 years; on GC it lost $8,313. Buying and holding one 6E contract over the same window lost $21,949. The average trade was −$17, its 95% interval −$31 to −$3. These are hypothetical results of a backtest, not of trading.
What are the London breakout's rules?
The range is the high and low from midnight to 3:00 New York, before London opens. From 3:00 until 11:00 New York, the first one-second close above the range buys and the first below it sells short, once a day. The stop is the other side of the range. Whatever is still open is closed at 11:00 New York. Its parameters are the published ones, never tuned on the data it was tested on.
How was the London breakout backtested?
On CME Globex data from January 2016 to July 2026, one contract, on 1-second bars, rolled to the most traded contract as the market moved, with the broker's and CME's fees and the slippage measured on each market. Stops and entries were tested on 1-second closes and filled at the next bar. Nothing was fitted to the data.
Can I run the London breakout in TradingView?
Yes. The page carries its Pine Script, written by Atlantive's compiler from the same code the backtest ran, for TradingView's strategy tester. A chart's fills and fees can differ from the backtest's, so test it again on the symbol you trade.
Can I change the London breakout and test it again?
Yes. Rerun it in Atlantive: a new chat opens with the strategy's rules in the box, for you to read, change and send. The agent writes the code, backtests it on the market and window you name, and reports the result with its costs.