Technical analysis

Inside Bar: What It Is, How to Trade the Breakout, and What Real Data Show

The inside bar rule written out, how it differs from a harami, how traders play the mother bar breakout, and what that breakout did on real markets against random candles.

· Founder of PatternsWizard
Checked 11 min read
Inside bars (whole candle within the previous one) on S&P 500 ETF, dividend-adjusted prices, daily, August 5, 2026 to October 28, 2026. Real bars, each case marked by the rule; an illustration, not a backtest.
On this page
  1. What is an inside bar?
  2. How to trade the inside bar breakout
  3. How we tested the inside bar
  4. Which way does an inside bar break?
  5. Does the inside bar breakout make money?
  6. How to use an inside bar
  7. Frequently asked questions

Every pattern's results on one sheet

The only pattern cheat sheet with tested stats: 153 patterns, what the textbook says and what really happened on 6 markets. Free PDF, sent to your inbox.

The PDF by email, plus our newsletter: new tests and results that change. Unsubscribe anytime. Privacy.

An inside bar is a candle that trades entirely within the high and low of the candle before it, called the mother bar. Traders read it as a pause and trade the breakout of the mother bar's range. We applied a written inside bar rule to 1,979,371 inside bars on stocks, ETFs, indices, currencies and cryptos, from hourly to weekly bars, and compared which side broke, how far the move went and what the breakout trade earned after costs, against random candles.

Inside bars on a daily S&P 500 ETF chart, August to October 2026

Inside bars (whole candle within the previous one) on S&P 500 ETF, dividend-adjusted prices, daily, August 5, 2026 to October 28, 2026. Real bars, each case marked by the rule; an illustration, not a backtest.
  • Price, daily candles (hollow up, filled down)
  • Inside bar
Inside bars (whole candle within the previous one) on S&P 500 ETF, dividend-adjusted prices, daily, August 5, 2026 to October 28, 2026. Real bars, each case marked by the rule; an illustration, not a backtest.Each mark is an inside bar: a candle whose high and low both stay within the previous candle. The October 12, 2026 inside bar described below broke down two sessions later.

What is an inside bar?

An inside bar is a candle whose high is not above the previous candle's high and whose low is not below the previous candle's low. The previous candle is called the mother bar. LuxAlgo defines it as "a bar whose entire range sits within the range of the bar before it" and notes that the pattern "is direction-neutral; the breakout supplies the direction." On a daily chart it is an inside day: the market traded a narrower range than the day before.

The rule we use, written out so anyone can apply it: the high of the candle is at most the high of the mother bar, its low is at least the low of the mother bar, and its range is strictly smaller. Equal highs or equal lows count; LuxAlgo notes that strict definitions exclude them and that coded versions differ, so pick one rule and keep it. The color of either candle does not matter and no prior trend is required.

Inside barHaramiOutside day
What is comparedThe whole range, wicks includedThe real bodies onlyThe whole range, wicks included
Second candleHigh and low within the first candle's high and lowBody within the first candle's bodyHigh above and low below the first candle's
Usual readingA pause; the breakout gives the directionA possible reversal after a trendA wider swing, often read with the close
ColorFreeUsually opposite to the first candleFree

The inside bar is often confused with the harami candlestick pattern. The harami looks at the real bodies only: the second body sits inside the first, while its wicks can poke out. The inside bar looks at the full candle, wicks included. A harami is not always an inside bar, and an inside bar is not always a harami. The opposite shape, a candle that takes out both the previous high and the previous low, is an outside day. In The Strat patterns an inside bar is a type 1 bar, and the 2-1-2 setup is built around it.

How to trade the inside bar breakout

The usual inside bar strategy waits for the price to leave the mother bar's range. LuxAlgo describes "stop orders beyond the mother bar's extremes, sometimes bracketing both sides." In practice:

  • Entry. A buy stop at the mother bar's high and a sell stop at its low. The first one filled sets the direction; cancel the other.
  • Stop. At the other end of the mother bar. The risk per share is the mother bar's range, so a large mother bar means a wide stop.
  • Target. Often a multiple of the risk, such as twice the risk, or the next support and resistance level.
  • Time limit. Cancel both orders if nothing breaks within a few bars.

Two variants are common. Some traders only take the breakout in the direction of the trend, reading the inside bar as a one-bar pause; LuxAlgo writes that "inside a trend, an inside bar is a pause, a one-bar flag that often precedes continuation." Others trade the failure: the price breaks one side, comes back inside and runs the other way, which is the hikkake pattern. LuxAlgo puts it plainly: "inside-bar breaks fail routinely."

How we tested the inside bar

We applied the rule above to all our price data. Daily bars: 2,343 series, of which 1,674 US stocks, 46 ETFs, 15 stock indices, 25 currency pairs and 583 cryptos, from 1970 to October 28, 2026. Weekly bars: the same markets, 2,157 series. Hourly and 4-hour bars: 35 series, 25 currency pairs and 10 large cryptos, from February 2012. That gave 1,131,090 inside bars on daily bars, 216,987 on weekly bars, 126,946 on 4-hour bars and 504,348 on hourly bars. US stocks: current and former index members we could still find; many delisted companies are missing. No continuous futures contracts are used.

The measure, fixed before looking at any result: stop orders at the mother bar's high and low stay live for 3 bars after the inside bar. The first one filled opens the trade; the stop goes at the other end of the mother bar and the target at 2 times the risk. If the same bar hits both sides, we count an entry followed by the stop, a loss. Round-trip costs are deducted from each trade: 0.10% of the price on stocks, 0.05% on ETFs and indices, 0.03% on currencies and 0.20% on cryptos. Results are in R, multiples of the risk taken.

A result only means something against a baseline. We ran the same rule on random candles: the same candles as the real market, each flipped upside down or not at random, then chained: same sizes, same volatility, same drift, no memory. Nothing on those charts can predict the next bar, so any inside bar edge should show up as a gap between real prices and random candles. Each gap comes with a 95% interval, resampled by calendar quarter. On daily bars we also checked the result against a second generator, the one our test bench uses for its control runs.

Which way does an inside bar break?

Inside bars that broke out upward first

Inside bars that broke out upward first. 1-hour bars (25 currency pairs, 10 cryptos): Real prices 54.4%, Random candles 53.3%; 4-hour bars (same markets): Real prices 54.9%, Random candles 53.5%; Daily bars (stocks, ETFs, indices, forex, crypto): Real prices 54.2%, Random candles 53.2%; Weekly bars (same markets): Real prices 56.8%, Random candles 54.9%. Our computation; the inputs and the method are in the text.
  • Real prices
  • Random candles
Our computation; the inputs and the method are in the text.Share of triggered inside bars whose first break, within 3 bars, was above the mother bar. The random candles keep each market's average drift, so they also lean upward. Random candles: the same candles as each real market, each one flipped upside down or not at random, then chained, two draws per market.

Inside bars broke upward first a little more often on real prices than on random candles, on every timeframe. On daily bars, 54.2% of the triggered inside bars broke above the mother bar first, against 53.2% on random candles, a gap of 1.1 points (95% interval: 0.3 to 1.8). The lean came from stock indices (57.3% against 53.7%), ETFs and US stocks; on currencies and cryptos the gap was within chance. Against the bench's second generator the daily gap was within chance too. In plain terms: inside bars on rising stock markets resolved upward a little more often than their flipped candles.

The trend reading did not hold. On daily bars, 50.5% of the breakouts went in the direction of the trend before the mother bar (its close against the close 10 bars earlier), against 51.1% on random candles: slightly less often, not more (interval −0.9 to −0.1 points). Hourly and 4-hour bars gave the same small shortfall, and weekly bars no difference. And after the break, the move did not run further than chance: 10 bars after the breakout bar, the return in the direction of the break, net of each market's drift, was −0.11% on daily bars against −0.02% on random candles, a gap within chance.

Does the inside bar breakout make money?

Trading the inside bar breakout: average result per trade, after costs

Trading the inside bar breakout: average result per trade, after costs. 1-hour bars (25 currency pairs, 10 cryptos): Real prices −0.29R, Random candles −0.23R; 4-hour bars (same markets): Real prices −0.10R, Random candles −0.10R; Daily bars (stocks, ETFs, indices, forex, crypto): Real prices −0.03R, Random candles −0.03R; Weekly bars (same markets): Real prices +0.03R, Random candles +0.02R. Our computation; the inputs and the method are in the text.
  • Real prices
  • Random candles
Our computation; the inputs and the method are in the text.Stop orders above and below the mother bar for 3 bars, the first one filled opens the trade, stop at the other end of the mother bar, target twice the risk; a bar that hits both sides counts as a loss. Round-trip costs deducted. Result in R. Random candles: the same candles as each real market, each one flipped upside down or not at random, then chained, two draws per market.

No more than random candles do. On daily bars the breakout trade averaged −0.03R per trade after costs, against −0.03R on random candles; the gap sits inside its 95% interval of −0.01R to +0.01R. The target was reached on 33.6% of the trades, against 33.5% on random candles; with a target at twice the risk, one win in three is the break-even before costs. No market stood out on daily bars: indices averaged +0.09R against +0.06R on their random candles, cryptos +0.03R against 0.00R, both gaps within chance.

The 4-hour trade lost 0.10R per trade on average, like its random candles. Weekly bars showed a small gain, +0.03R, but random candles gave +0.02R: the long-run rise of stock markets helps the upward breakouts, whatever the pattern. Hourly bars were worst: −0.29R against −0.23R, below random candles. Hourly mother bars are small, so the costs eat a large share of each risk, on real and random candles alike; the extra shortfall comes from breakouts that failed more often on real prices: the target was reached on 31.9% of hourly trades, against 33.7% on random candles. The median mother bar measured 1.11 times the average true range on daily bars, a little more than an average candle, so the stop of this trade is usually wider than a typical day's range.

Against the bench's second generator, the daily trade lost a little less than its random paths (−0.03R against −0.05R). We do not read that as an edge: the trade still loses on average after costs, and against the flipped candles of the same markets the gap is zero within its interval.

How to use an inside bar

  • Read it as a range, not a signal. The mother bar's high and low are useful reference levels for an entry or a stop. The breakout alone gave no edge over random candles once costs were paid.
  • Size from the mother bar. The stop at the other end of the mother bar sets the risk; the position size follows from the money you accept to lose there.
  • Expect false breaks. Plan what you do when the price breaks one side and comes back, before it happens.
  • Mind costs on short timeframes. On hourly charts the mother bar is small and the spread and fees weigh heavily on each trade.

Other one or two-candle setups have their own pages: the pin bar, the outside day and the harami. Breakouts of larger ranges are covered in our price action trading guide. More setups and tools are gathered in technical analysis, and the way our test bench measures chart patterns against random entries is on our methodology.

Frequently asked questions

What is an inside bar?

A candle whose high is at or below the previous candle's high and whose low is at or above the previous candle's low, with a smaller range. The previous candle is called the mother bar. Wicks count.

What is the difference between an inside bar and a harami?

The harami compares the real bodies: the second body sits inside the first. The inside bar compares the whole candles, wicks included. A harami can have a wick that pokes outside the first candle, so it is not always an inside bar.

What is a mother bar?

The candle just before the inside bar, whose high and low contain it. Its high and low are the breakout levels, and its range sets the risk of the usual trade.

Is an inside bar bullish or bearish?

Neither by itself: the breakout gives the direction. On our daily data, 54.2% of inside bars broke upward first, against 53.2% on random candles with the same drift, a small lean that came from stock markets.

How do you trade an inside bar breakout?

A buy stop at the mother bar's high and a sell stop at its low; the first filled opens the trade, the stop goes at the other end of the mother bar, and the target is often twice the risk. On our daily data that trade averaged −0.03R after costs, against −0.03R on random candles.

Does the inside bar pattern work?

Not as a stand-alone edge on our data. The breakout trade did no better than on random candles on daily, 4-hour and weekly bars, and worse on hourly bars (−0.29R per trade after costs). Breakouts did not follow the prior trend more often than chance either.

Which timeframe is best for inside bars?

None stood out against random candles. Hourly bars were the worst after costs, because small mother bars make the spread and fees a large part of the risk; weekly bars showed a small gain, +0.03R, matched by random candles.

Sources

  1. LuxAlgo, Inside Bar
, Founder of PatternsWizard

Passionate about finance, quantitative trading and data analysis. Amaury built the PatternsWizard test bench, which detects each pattern on full price history and measures what happened next against random entries.

PatternsWizard tests chart and candlestick patterns on full market history, against random entries. How we test patterns.

179 patterns testedRandom-walk self-test passed

Related guides

All technical analysis articles