Strategy library · Trend and breakouts

Inside bar breakout backtest on NQ and ES futures

Inside bar breakout

Also called: inside bar strategy, inside candle breakout, mother bar breakout, buy when price breaks above the mother bar's high after an inside bar, short when price breaks below the mother bar's low after an inside bar

What happens if you buy NQ every time price breaks above the mother bar's high after an inside bar?

What it is

An inside bar is a bar whose range sits inside the range of the previous bar, called the mother bar. After an inside bar, this strategy goes long on a break of the mother bar's high and short on a break of its low, with the stop at the other side of the mother bar and a target of 2R.

What it did

On NQ futures from 2024-10-08 to 2026-10-07, the inside bar breakout strategy took 436 trades on the 15-minute chart, won 45.9% of them and finished 2,121.00 points ($42,420 on one NQ contract), before commission and slippage. From 2024-10-08 to 2026-10-07 on NQ, the 230 long trades on the 15-minute chart won 51.7% and made 2,777.00 points ($55,540 on one NQ contract), before commission and slippage. On ES futures from 2024-08-28 to 2026-08-27, the inside bar breakout strategy took 379 trades on the 15-minute chart, won 41.4% of them and finished 99.00 points ($4,950 on one ES contract), before commission and slippage. The 5-minute, 1-hour and daily results for both markets are in the table on this page.

How it was tested

CE Market Solutions tested the inside bar breakout strategy on NQ (2024-10-08 to 2026-10-07) and ES (2024-08-28 to 2026-08-27) futures, before commission and slippage, with each signal filled at the next bar's open, intraday positions flat at 15:59 ET and textbook default indicator settings; the NQ trades are listed on this page and the ES trades under the ES tab.

See it tested with one change · $19

Tested by CE Market Solutions on 2026-10-26. The trades are listed below, one market at a time. Gross, no commission or slippage. Last 2 years.

Results

Rule as tested: After an inside bar, long on a break of the mother bar's high; short on a break of its low. Exit: Stop at the other side of the mother bar, target 2R.

TimeframeNQ · 2024-10-08 to 2026-10-07ES · 2024-08-28 to 2026-08-27
TradesWin %Avg ptsProfit factorNet ptsNet $ (1 NQ)Max DD ptsTradesWin %Avg ptsProfit factorNet ptsNet $ (1 ES)Max DD pts
5 minute101835.2%−5.480.850−5,575.00−$111,5006,787.0093537.2%−0.010.998−13.50−$675795.25
5 minute · longs only53634.5%——−4,996.75−$99,9355,468.2548336.2%——−439.25−$21,962784.75
5 minute · shorts only48235.9%——−578.25−$11,5652,831.7545238.3%——425.75$21,288210.25
15 minute43645.9%4.861.1132,121.00$42,4202,099.2537941.4%0.261.02899.00$4,950655.00
15 minute · longs only23051.7%——2,777.00$55,5401,211.2520445.1%——173.50$8,675257.50
15 minute · shorts only20639.3%——−656.00−$13,1202,768.7517537.1%——−74.50−$3,725691.75
1 hour10547.6%−3.270.936−343.75−$6,8752,257.7511451.8%3.451.352393.50$19,675325.00
1 hour · longs only6453.1%——1,717.00$34,340335.006352.4%——433.25$21,663137.75
1 hour · shorts only4139.0%——−2,060.75−$41,2152,583.005151.0%——−39.75−$1,987343.75
Daily1145.5%799.683.6318,796.50$175,9302,087.501526.7%−18.580.792−278.75−$13,937619.50
Daily · longs only728.6%——4,063.25$81,2652,087.50837.5%——241.25$12,063353.75
Daily · shorts only475.0%——4,733.25$94,665549.25714.3%——−520.00−$26,000565.50

NQ Daily: small sample (11 trades). ES Daily: small sample (15 trades).

Free to use with credit to CE Market Solutions (CC BY 4.0).

ES 15 minute: the equity line

Inside bar breakout, ES 15 minute, 2024-08-28 to 2026-08-27. Cumulative points after each trade; low −82.00, high 585.25, last 99.00.

Long and short

SideTradesNet pts
Long204173.50
Short175−74.50

By month

MonthTradesNet pts
2024-082−21.00
2024-0910−11.75
2024-101236.75
2024-111493.50
2024-12179.75
2025-011433.50
2025-0216108.75
2025-0317−166.50
2025-0420450.25
2025-0519−129.25
2025-0616−138.00
2025-0713−54.25
2025-081975.00
2025-0918−83.75
2025-101625.50
2025-1120−134.75
2025-1212−49.00
2026-011318.75
2026-021136.75
2026-0318−130.75
2026-04226.25
2026-05178.25
2026-061845.25
2026-071369.25
2026-08120.50
Every trade, ES 15 minute379 trades

Pick any of the 379 charted trades with Previous, Next or a date, or click a row in the trades table below, to see it drawn on the real 1-minute bars. Drag the chart sideways to move through the sessions around it.

Chart unavailable. The trades are in the table below.

All trades (379), newest first

Times are New York time; points are gross. Click a row to draw that trade in the chart above.

Session dateSideEntry (ET)Entry priceExit (ET)Exit priceExit reasonPoints
2025-02-19long15:006165.2515:096159.50stop−5.75
2025-02-19long10:456139.2514:146159.25target20.00
2025-02-13long10:156091.2515:176133.25target42.00
2025-02-12short15:306072.2515:596072.75end of day 15:59−0.50
2025-02-12short11:156048.5011:586072.25stop−23.75
2025-02-11long09:456074.0015:596092.50end of day 15:5918.50
2025-02-10long10:156084.7515:596088.25end of day 15:593.50
2025-02-06long15:306091.2515:596107.00end of day 15:5915.75
2025-02-05long14:156079.5015:596086.00end of day 15:596.50
2025-02-04long11:156059.0012:216046.50stop−12.50
2025-01-31short14:456075.5015:596064.75end of day 15:5910.75
2025-01-29short14:156050.2514:416076.75stop−26.50
2025-01-28long11:006082.0015:596096.00end of day 15:5914.00
2025-01-23long10:456121.2515:506139.75target18.50
2025-01-20short12:006055.7512:266044.25target11.50
2025-01-15long13:305984.0015:595988.50end of day 15:594.50
2025-01-13long13:005855.2515:595875.25end of day 15:5920.00
2025-01-08short12:155938.5014:245965.25stop−26.75
2025-01-07short10:155998.2515:595955.00end of day 15:5943.25
2025-01-06short13:456034.2515:486007.25target27.00
2025-01-06long11:306065.7512:286055.00stop−10.75
2025-01-03long11:455977.5015:595988.00end of day 15:5910.50
2025-01-02long11:455951.7512:275924.00stop−27.75
2025-01-02short09:455944.0010:005978.75stop−34.75
2024-12-30long12:155971.7515:595958.00end of day 15:59−13.75
2024-12-30short09:455937.0011:345960.00stop−23.00
2024-12-24long11:456084.2513:146099.00early close14.75
2024-12-23long14:156030.5014:396022.50stop−8.00
2024-12-20short13:156030.0015:335991.50target38.50
2024-12-17long11:006125.2515:196117.00stop−8.25
2024-12-16long12:456084.7515:466078.25stop−6.50
2024-12-12short11:456080.5014:226066.00target14.50
2024-12-11long12:156098.0015:596091.75stop−6.25
2024-12-10short11:456062.7515:266046.25target16.50
2024-12-06long13:156101.7514:116090.50stop−11.25
2024-12-06short12:456092.2513:066098.75stop−6.50
2024-12-05short13:306095.5015:596088.75end of day 15:596.75
2024-12-05long12:006100.0013:246091.75stop−8.25
2024-12-04long14:306091.5015:596099.00end of day 15:597.50
2024-12-04long11:156087.0013:306078.50stop−8.50
2024-12-03long12:306053.7514:516065.25target11.50
2024-11-27short10:156026.7512:026006.25target20.50
2024-11-26long15:156034.0015:596037.00end of day 15:593.00
2024-11-21short15:455977.0015:595970.00end of day 15:597.00
2024-11-19long10:305900.5015:595939.00end of day 15:5938.50
2024-11-18long10:155905.7515:595920.25end of day 15:5914.50
2024-11-14long14:455995.5015:045980.25stop−15.25
2024-11-13long13:006034.2514:186023.25stop−11.00
2024-11-12short10:456019.0012:585990.00target29.00
2024-11-08long14:306036.2515:016029.75stop−6.50

← NewerPage 7 of 8Older →

Questions and answers

What happens if you buy NQ every time price breaks above the mother bar's high after an inside bar?

From 2024-10-08 to 2026-10-07 on the NQ 15-minute chart, the inside bar breakout strategy took 230 long trades, won 51.7% of them and made 2,777.00 points ($55,540 on one NQ contract), before commission and slippage. From 2024-10-08 to 2026-10-07 on NQ, its long trades also made -4,996.75 points on 536 trades on the 5-minute chart, 1,717.00 points on 64 trades on the 1-hour chart and 4,063.25 points on 7 trades on the daily chart, before commission and slippage.

What happens if you short ES every time price breaks below the mother bar's low after an inside bar?

From 2024-08-28 to 2026-08-27 on the ES 15-minute chart, the inside bar breakout strategy took 175 short trades, won 37.1% of them and made -74.50 points (-$3,725 on one ES contract), before commission and slippage. From 2024-08-28 to 2026-08-27 on ES, its short trades also made 425.75 points on 452 trades on the 5-minute chart, -39.75 points on 51 trades on the 1-hour chart and -520.00 points on 7 trades on the daily chart, before commission and slippage.

Does the inside bar breakout strategy work on Nasdaq futures?

On NQ futures from 2024-10-08 to 2026-10-07, the inside bar breakout strategy on the 15-minute chart took 436 trades, won 45.9% of them and finished 2,121.00 points ($42,420 on one NQ contract), before commission and slippage.

What is the win rate of Inside bar breakout on ES futures?

The inside bar breakout strategy won 41.4% of its 379 trades on the ES 15-minute chart from 2024-08-28 to 2026-08-27, before commission and slippage. On ES from 2024-08-28 to 2026-08-27 it also won 37.2% of 935 trades on the 5-minute chart, 51.8% of 114 trades on the 1-hour chart and 26.7% of 15 trades on the daily chart, before commission and slippage.

Is the inside bar breakout strategy better on the 5-minute, 15-minute, 1-hour or daily chart for NQ?

On NQ from 2024-10-08 to 2026-10-07, the inside bar breakout strategy made -5,575.00 points on 1,018 trades on the 5-minute chart, 2,121.00 points on 436 trades on the 15-minute chart, -343.75 points on 105 trades on the 1-hour chart and 8,796.50 points on 11 trades on the daily chart, before commission and slippage.

Is it better to only buy or only sell inside bar breakout signals on NQ?

On the NQ 15-minute chart from 2024-10-08 to 2026-10-07, the long trades made 2,777.00 points on 230 trades (51.7% won) and the short trades made -656.00 points on 206 trades (39.3% won), before commission and slippage.

How many trades does the inside bar breakout strategy take on NQ in two years?

The inside bar breakout strategy took 436 trades on the NQ 15-minute chart from 2024-10-08 to 2026-10-07, before commission and slippage. On NQ from 2024-10-08 to 2026-10-07 it also took 1,018 on the 5-minute chart, 105 on the 1-hour chart and 11 on the daily chart, before commission and slippage.

What is the max drawdown of the inside bar breakout strategy on NQ?

The inside bar breakout strategy had a max drawdown of 2,099.25 points ($41,985 on one NQ contract) on the NQ 15-minute chart from 2024-10-08 to 2026-10-07, before commission and slippage. On NQ from 2024-10-08 to 2026-10-07 its max drawdown was also 6,787.00 points on the 5-minute chart, 2,257.75 points on the 1-hour chart and 2,087.50 points on the daily chart, before commission and slippage.

How does the inside bar breakout strategy do on ES compared with NQ?

On the ES 15-minute chart from 2024-08-28 to 2026-08-27, the inside bar breakout strategy took 379 trades, won 41.4% of them and made 99.00 points ($4,950 on one ES contract), before commission and slippage. On the NQ 15-minute chart from 2024-10-08 to 2026-10-07, the inside bar breakout strategy took 436 trades, won 45.9% of them and made 2,121.00 points ($42,420 on one NQ contract), before commission and slippage.

How these were run

  • Gross: no commission and no slippage.
  • The last 2 years of each market, from the first to the last session of its window.
  • A signal on a closed bar fills at the next bar’s open.
  • A stop and a target touched in the same minute count as the stop.
  • Intraday positions are flat at 15:59 ET.
  • Textbook TradingView default settings for every indicator; nothing is tuned.

Want your own rules tested the same way?