Worked example of an Inside Bar (price-action definition, mechanics, and limits)

Explore What is a worked: mechanics, differences, limitations, and practical checks.

What is an Inside Bar?

An Inside Bar is a simple candlestick relationship. It occurs when a second candle’s entire price range lies within the first candle’s high–low range.

  • Candle 1 (mother bar): has a high and a low.
  • Candle 2 (inside bar): has a high that is less than or equal to candle 1’s high, and a low that is greater than or equal to candle 1’s low.

This definition is mechanical: it depends only on the two candles’ high and low values on a chosen chart timeframe.

How the Inside Bar works in a worked numerical example

Below is a fully transparent scenario using made-up prices. No real-time data is used.

Assumptions

  1. You are using a specific timeframe (for example, 1-hour candles), and both candles are measured on that same timeframe.
  2. “Inside” is defined with inclusive boundaries:
    • inside high ≤ mother high
    • inside low ≥ mother low
  3. We do not model bid/ask, slippage, spreads, commissions, or taxes. Those are discussed later as limitations.
  4. We only demonstrate the pattern detection, not any trading outcome.

Scenario (two candles)

  • Candle 1 (mother bar):

    • High = 1.2000
    • Low = 1.1950
    • Range = 1.2000 − 1.1950 = 0.0050
  • Candle 2 (candidate inside bar):

    • High = 1.1985
    • Low = 1.1960

Check the inside condition

  • Inside high test: 1.1985 ≤ 1.2000 → passes
  • Inside low test: 1.1960 ≥ 1.1950 → passes

Because both conditions hold, candle 2 is an Inside Bar relative to candle 1.

What you can (and cannot) infer from detection

  • You can say: “On this timeframe, these two candles satisfy the Inside Bar relationship.”
  • You cannot say: “Price will move in a particular direction,” “it will be profitable,” or “it signals certainty.” The detection alone describes structure, not a guaranteed outcome.

Limitations and risks (what can go wrong)

1) Market outcome is not determined by the pattern

Inside Bars can occur in many market conditions. Even if the pattern is detected correctly, the future path is not fixed; outcomes vary with broader price context.

2) Costs and execution can change real results

Even though the worked example above only checks candlestick ranges, real trading involves bid/ask spreads, commissions, and possible execution delays. These factors can materially affect the realized results compared with a purely theoretical exercise.

3) Timeframe and data definitions can cause “false” recognition

Inside Bar detection depends on the exact chart timeframe and data. Common failure modes include:

  • Using the wrong timeframe (for example, mistaking a smaller pattern on a lower timeframe for a larger one).
  • Different data feeds producing slightly different high/low values.
  • Ambiguity about whether equality at boundaries counts (inclusive vs. strict comparisons). In the scenario above, equality is allowed.

4) Single-pattern thinking can be misleading

Treating an Inside Bar as a standalone signal ignores that it is only a range relationship between two candles. Without additional, explicitly defined context and verification steps, it is easy to over-interpret a common structure.

Verification: how to independently confirm the example

To verify, replicate the arithmetic on any chart that has two consecutive candles with these properties (on the chosen timeframe):

  1. Measure candle 1’s high and low.
  2. Measure candle 2’s high and low.
  3. Confirm candle 2’s high is not above candle 1’s high and candle 2’s low is not below candle 1’s low.

If you want the worked example to include more than detection—such as adding explicit assumptions about triggers and risk limits—state those assumptions clearly, because they change the meaning of the calculation.

Trading foreign exchange and CFDs involves substantial risk. Information on FoxiForex is educational and is not personal financial advice. Sponsored placements are labelled clearly.