Intrabar Lab
Backtest study · NQ futures · intrabar data

What happens after an inside bar gets poked

A descriptive study of 5-minute inside-bar setups on Nasdaq-100 futures, measured with one-second price data so the order of every move inside a candle is known.

Market
NQ futures
Period
2023-07-22 → 2026-07-31
Raw data
1-second OHLC
Timeframe
5-minute candles
Setups
28,015

The setup

Three candles in a row. A mother bar, an inside bar that stays strictly within it, and a trigger candle that trades at least one tick beyond the inside bar. That first break is the poke. Every close afterwards is sorted into one of five zones.

above mother above inside inside below inside below mother mother high inside high inside low mother low mother inside trigger next first poke ≥ 1 tick
Mother barAny 5-minute candle. Split into trend (body larger than both wicks combined) and non-trend (body equal or smaller).
Inside barHigh strictly below the mother's high, low strictly above the mother's low.
PokeThe trigger candle trades at least one tick (0.25 points) beyond the inside bar's high or low.
SequenceUp only, down only, up then down, or down then up, read second by second.

Three outcomes that repeat

Each finding counts where candles closed. None of them is a trading rule. They describe how often the market behaved a certain way in this sample. Switch the mother bar type to see that the pattern holds for all of them.

50.4% 41.4% 8.2% inside trigger
Finding 1 · trigger close

After the first poke, the trigger rarely closes beyond the other side of the inside bar

91.8%of triggers did not close beyond the side opposite the first poke
Closed beyond the inside bar on the poke side50.4%
Closed back inside the inside bar41.4%
Closed beyond the opposite side8.2%
n = 25,301 poked triggers · bull and bear mothers combined
1st 2nd 49.1% 44.6% 6.3% inside trigger
Finding 2 · two-sided poke

When both sides get poked, the second poke decides the close

93.7%of two-sided triggers did not close back beyond the first poke
Closed beyond the inside bar on the second-poke side49.1%
Closed back inside the inside bar44.6%
Closed beyond the first-poke side6.3%
n = 4,234 triggers that poked up then down, or down then up
71.4% 23.0% 5.5% trigger next
Finding 3 · next candle

Once the trigger closes outside the inside bar, the next candle usually holds that side

71.4%of next candles closed on the same side as the trigger
Next candle closed on the same side71.4%
Next candle closed back inside23.0%
Next candle closed on the opposite side5.5%
n = 14,886 triggers that closed above or below the inside bar

Does the mother bar's body matter?

Barely. The headline share moves by one to three points between strong and weak mother bars.

FindingTrendNon-trendAll
1 · Did not close beyond the opposite side92.6%91.2%91.8%
2 · Did not close back beyond the first poke95.1%92.8%93.7%
3 · Next candle held the trigger's side71.6%71.3%71.4%
Setups12,63215,38328,015

How it was measured

One-second data

Every 5-minute candle is rebuilt from one-second bars. A normal 5-minute chart cannot show whether the high or the low came first; the second-by-second path can, so the poke order is measured, not guessed.

Exact definitions

Prices are converted to whole ticks before comparing, so a touch is a touch and a one-tick break is exactly one tick. Breaks are strict, and only consecutive 5-minute candles count.

Counting, not prediction

The results are plain frequencies, calculated on a local workstation from raw NQ futures data with Python, pandas and NumPy. No AI or machine-learning model produced the numbers.

Who did what

The research question, the definitions and the checks are mine. The Python script was written with AI assistance and reviewed against the raw data, including small test runs before every full run.

Checks

Results were compared across bull and bear mothers, trend and non-trend mothers, inside-bar size and position, and sample periods of one, two and three years.

These are descriptive statistics about where candles closed. They do not include entries, stops, costs or profit. Finding 3 is combined from separate above and below counts, so its three shares can differ from 100% by 0.1.