Guide · Backtesting method
Opening range breakout backtest: a written protocol
An opening range breakout (ORB) enters when price leaves the range of the session's first minutes. The idea is simple; the results depend almost entirely on details people skip — the exact window, how fills are assumed, and what to do when one bar hits both stop and target.
Short answer
Fix the range window (e.g. 9:30–9:44 New York time on 1-minute bars), enter with a stop order one tick beyond the range, assume at least one tick of slippage on stop fills, and when a single bar touches both stop and target, count the stop first unless finer data shows otherwise.
Rules to write down before the first trade
| Rule | Example choice |
|---|---|
| Market and contract | MNQ front month |
| Range window | Bars stamped 9:30–9:44 New York time (15 minutes) |
| Entry trigger | Buy stop 1 tick above range high / sell stop 1 tick below range low |
| Entry window | Until 11:00; no new entries after |
| Stop | Opposite side of the range, 1 tick beyond |
| Target | 2R from the assumed fill, or flat at 11:30 |
| Trades per day | First breakout only |
| Costs | Your actual round-trip fees per contract |
| Skip days | Early closes and holidays per the CME calendar |
Fill and slippage assumptions
- Stop entries and stop exits: fill at the trigger plus a fixed slippage (e.g. 1 tick). If the bar opens beyond the trigger (a gap), fill at that bar's open plus slippage.
- Limit targets: count as filled only if price trades through the limit by at least a tick; a bare touch may not have filled you.
- Time exits: use the open of the next bar after the exit time.
- Bar-based replay cannot show queue position or order-book depth; keep assumptions conservative and identical across every test.
Same-bar ambiguity
On OHLC bars you know a bar's high and low but not which came first. If one bar reaches both your stop and your target, you cannot tell from that bar whether the trade won or lost.
- Default: count it as a stop-out (the conservative assumption).
- If a lower timeframe is available for that day, use it to resolve the order and note that you did.
- Track how many trades were ambiguous. If many are, your stop and target are too close for the bar size you test on.
- The entry bar has the same problem: a bar that triggers your entry and also touches your stop may have stopped you out on that same bar.
Worked example
Hypothetical 15-minute range: 21,150.00 – 21,190.00 (40 points). Tick size 0.25.
| Item | Calculation | Price |
|---|---|---|
| Long trigger | 21,190.00 + 1 tick | 21,190.25 |
| Assumed fill | trigger + 1 tick slippage | 21,190.50 |
| Stop | 21,150.00 − 1 tick | 21,149.75 |
| 1R | 21,190.50 − 21,149.75 | 40.75 pts |
| 2R target | 21,190.50 + 2 × 40.75 | 21,272.00 |
| Stop-out result incl. 1 tick exit slippage | (21,149.50 − 21,190.50) ÷ 40.75 | −1.01R |
Log each trade's R-multiple and MAE/MFE, compare the result with your break-even win rate, and confirm on later sessions with a walk-forward test. Size positions with the position size calculator, and practise the routine in replay.
Frequently asked questions
Is ORB a proven edge?
No claim is made here. Toby Crabel wrote an early book on opening range breakouts, but whether any version works on today's markets is exactly what a careful, out-of-sample backtest has to find out.
Why assume slippage on stop entries?
A stop order becomes a market order when triggered, and breakouts often trigger in fast moves. Assuming the trigger price exactly tends to flatter results.
What if both sides of the range break?
Decide in advance: one trade per day, or allow a reversal. Changing the rule after seeing results is a form of curve-fitting.
References
- CME Group — E-mini Nasdaq-100 (NQ) contract specifications
- CME Group — Micro E-mini Nasdaq-100 (MNQ) contract specifications
- CME Group — Trading hours
- Toby Crabel, Day Trading with Short Term Price Patterns and Opening Range Breakout (Traders Press, 1990)