Candlestick Patterns · Original research · June 1, 2025 – June 1, 2026 (12 months)

Inside bar breakout: exact rules and the backtest plan

An inside bar is a candle whose entire range fits inside the previous candle’s range — the market compressing after a move, with that previous candle (the "mother bar") marking the boundaries that matter. The breakout version of the trade is old and simple: when price finally leaves the mother bar’s range, go with the break, betting that compression resolves into expansion.

Simple to describe is not the same as pinned down. Does a tie at the high still count? If three inside bars stack up, which one is the mother? Do you trade the break of the inside bar’s range or the mother’s? Stop orders through the level, or a close beyond it? Every published "inside bar strategy" answers these differently — usually without saying so. Below are the exact rules we will run, and the honest status: inside-bar detection is not yet a primitive in our engine, so the 12-month results publish here the moment it ships, produced by the same deterministic engine and the same real data as every other number on this site.

The exact rules we’ll test

  1. Inside bar: a candle whose full range sits strictly inside the prior candle’s range — high below the mother bar’s high AND low above the mother bar’s low (ties do not count; that choice is pinned, not assumed).
  2. The setup arms when the inside bar closes; the levels that matter are the MOTHER bar’s high and low, not the inside bar’s.
  3. Long on the first close above the mother-bar high; short on the first close below the mother-bar low; the setup cancels if neither side triggers within 5 bars.
  4. Stop at the opposite end of the mother bar; target 2R; planned timeframe: 1-hour candles, 24/7.
  5. Risk 1% of equity per trade; 0.05% commission per side; 10× max notional leverage.
  6. Missing primitive: inside-bar detection with armed-breakout-and-cancel semantics is not yet supported by the engine — results publish here the moment it ships.

Backtest data: in the queue

We publish only numbers our own deterministic engine produced on real data — no borrowed or estimated stats. This setup needs a detection primitive the engine doesn’t ship yet, so its 12-month results will appear here the moment that lands. The strategies with completed research are on the strategies hub, and you can already practice this setup bar-by-bar in the free replay demo.

Why "inside bar strategy" results never agree

The pattern hides more definitional forks than any two-candle setup should: whether ties at the high or low count (≤ versus <), what happens when inside bars nest (is the mother the original wide candle or the latest one?), whether the breakout level is the inside bar’s range or the mother’s, whether entry is a stop order through the level or a confirmed close beyond it, and whether an un-triggered setup expires. Each fork produces a different trade list from the same chart — so two articles can both "backtest the inside bar" and share barely a trade.

Timeframe is the quiet variable on top. Daily inside bars are rare, widely watched events; 5-minute inside bars appear constantly and are mostly noise, because lower-timeframe candles overlap naturally. Discretionary traders patch this with context filters — only trade breaks aligned with an EMA-defined trend, only after a strong directional leg, only when the mother bar is itself a meaningful candle rather than doji-on-doji compression. All of that is testable as variants, but only after the unfiltered baseline exists — which is exactly what our queued run will publish.

How to backtest the inside bar breakout on Secuora

You can build a real sample by hand today, with a supported automated control to compare against:

  • Open the free replay demo at /backtest/demo (no sign-up — it replays real BTC data) and set the timeframe to 1h to match the planned run.
  • Step through the chart bar by bar; each time a candle closes fully inside the prior candle’s range, box the mother bar’s high and low with the drawing tools.
  • Sign up free and trade the first close beyond the mother bar in the replay terminal — simulated stop-loss and take-profit orders, stop at the opposite end, 2R target — skipping the setup if nothing triggers within 5 bars.
  • In the AI backtester at /backtest/ai, run the nearest supported primitive — the N-bar breakout — as your control: if inside-bar entries cannot beat a plain breakout of the recent range, the pattern added nothing.
  • Journal the sample (rules, confluences, screenshots) and compare expectancy against the control after at least 30 replayed setups; the results table lands on this page automatically when the primitive ships.

Frequently asked questions

What is an inside bar?

A candle whose entire high-to-low range sits within the range of the candle before it — that wider previous candle is called the mother bar. The pattern marks compression: neither side managed to push price outside the prior period’s extremes. The common trade is the breakout of the mother bar’s range.

Do you trade the break of the inside bar or the mother bar?

Both versions exist in the wild, and articles rarely say which they use. We pin the mother bar, because the inside bar’s own range is by definition narrow and breaks of it trigger constantly on noise. Whichever you choose, choose it before testing — switching definitions mid-sample is how backtests quietly lie.

What win rate does the inside bar strategy have?

We do not publish a number yet: inside-bar detection is not a primitive in our engine, and we only publish statistics our own engine produced on real data. The 12-month run is queued and its results appear on this page when the primitive ships. Until then, treat any quoted inside-bar win rate that does not state its exact entry, tie and nesting rules as unverifiable.

What timeframe is best for inside bars?

There is a real trade-off rather than a best answer: higher timeframes produce rare, cleaner, more-watched inside bars; lower timeframes produce them constantly with far more noise. The honest approach is to pin one rule set and test it per timeframe instead of trusting a default — which is exactly what the replay demo and the queued engine run are for.

Run your own version of this test

Change the window, the stop, the target, the instrument — describe it in plain English and Secuora’s AI backtester runs it through the same engine that produced these numbers. Or replay the chart bar by bar and trade it yourself.

More strategy research

ICT / Smart Money
ICT Silver Bullet: backtest results on 12 months of real data
ICT / Smart Money
Fair Value Gap strategy: 12-month backtest stats
Breakout
Opening Range Breakout: 12-month backtest, win rate and stats
ICT / Smart Money
Liquidity sweep reversal: 12-month backtest results
Trend / Momentum
EMA 50/200 golden cross: what it does intraday (real results)
Sessions
London session breakout: 12-month backtest results
Sessions
Trading the New York open: two mechanical readings, 12 months of data
Sessions
NY opening drive: 12-month backtest results
Sessions
Power hour (15:00–16:00 NY): 12-month backtest results
ICT / Smart Money
Turtle Soup: backtest results for the intraday failed-breakout fade
ICT / Smart Money
Golden pocket: the 0.618–0.65 zone, pinned to testable rules
Price Action
Supply and demand zones: exact rules and the backtest plan
Price Action
Break and retest: exact rules and the backtest plan
Indicators
MACD cross: 12-month backtest results (zero-line vs signal-line)
Indicators
RSI divergence strategy: exact rules and the backtest plan
Candlestick Patterns
Engulfing candle strategy: exact rules and the backtest plan
Mean Reversion
Mean reversion with RSI: 12-month backtest results on real data
Scalping
Momentum scalping on 1-minute charts: what fees actually do
Indicators
VWAP bounce: the rules, the anchor problem, and the backtest plan
Breakout
Donchian 20-bar channel breakout: 12-month backtest on real data
Indicators
Stochastic %K/%D cross in oversold/overbought zones: 12-month backtest
Trend / Momentum
VWAP cross trend on 5-minute charts: what 24/7 markets do to it
Breakout
Previous-day high/low break: the closest-to-breakeven result in our research
Mean Reversion
Fading the stretch: 3% from the 50 SMA, mean reversion backtest
Trend / Momentum
Rate-of-change momentum: trading the 24-bar surge, 12-month backtest
Breakout
Bollinger squeeze breakout: trading the volatility expansion, 12-month test
Trend / Momentum
HTF trend filter + 20 EMA pullback: 12-month backtest on real data