Inside days on the Russell 2000: does the break follow through?
Micro E-mini Russell 2000 (M2K) · 5-minute bars · 2017 to 2026 · Breakout
Too few trades to judge: 29 out of sample.
- Profit factor, out of sample
- 0.74
- Average trade, out of sample
- −0.01R
- Win rate, out of sample
- 45%
- Trades, 10 years
- 91
- Max drawdown
- $2,282
- Pass odds, median plan
- 0.0%
Hypothetical results. These results are based on simulated or hypothetical performance results that have certain inherent limitations. Unlike the results shown in an actual performance record, these results do not represent actual trading. Also, because these trades have not actually been executed, these results may have under- or over-compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated or hypothetical trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profits or losses similar to these being shown.
Abstract
We backtested the inside-day breakout rules on Micro E-mini Russell 2000 (M2K) 5-minute bars from 2017-07-17 to 2026-10-30: 91 trades, with commission and a tick of slippage on every market and stop fill. In sample (to 2024-01-17) it made +0.01R per trade with a profit factor of 1.03; out of sample (from 2024-01-18) −0.01R per trade and 0.74 over 29 trades. 2 of the 16 parameter settings we tried were profitable out of sample. Sized at $250 of risk a trade, simulated 50K evaluations passed 0% to 0% of the time across 36 tracked plans.
1Hypothesis
An inside day stays within the previous day's range. The next day, trade the first break of the inside day's high or low, with the stop at the other side.
If an inside day is a pause that resolves in a trend, the break of its range should run one range-width more often than it fails.
2Data
- Instrument
- Micro E-mini Russell 2000 (M2K), traded on the RTY price series (RTY.v.0: the most traded contract, rolled on volume). CME Globex via Databento.
- Period
- 2017-07-17 to 2026-10-30: 2,396 sessions, 922,339 one-minute bars, built into 184,092 5-minute bars of the regular session (09:30 to 16:00 ET).
- Costs
- $0.75 commission a contract each way and 1 tick ($0.50) of slippage on every market and stop fill. Limit orders fill when price touches them; market orders fill at the next bar's open and stops at their price, each with one tick of slippage; when a bar touches both the stop and the target, the stop counts.
- Position size
- About $250 of risk a trade: micro contracts, rounded down, at least one. R is a trade's net P&L divided by its risk at entry.
- Out of sample
- The last 30% of weekdays: 2024-01-18 on (727 days), after 1,698 in-sample days. The rules were fixed before either side was run.
3Method
Our reading of the publicly described rules; the creator may trade it differently. The rules, exactly as the code runs them:
- An inside day's regular-session (09:30-16:00 ET) high is below the previous day's high and its low above the previous day's low.
- The day after an inside day, if the first 5-minute bar opens and closes inside the inside day's range, a buy stop goes in buffer_ticks (2) ticks above its high and a sell stop 2 ticks below its low. When one fills, the other is cancelled. Orders work from 09:35 to 15:30 ET.
- Stop: the other side of the inside day's range.
- Target: target_r (1) times the risk.
- Exit: the stop, the target, or flat at 15:55 ET. One trade a day.
- Size: about risk_usd dollars of risk a trade (micro contracts, rounded down, at least 1 and at most max_contracts).
"""Inside-day breakout on Micro E-mini Russell 2000 (M2K) 5-minute bars, regular session, New York time. Rules: 1. An inside day's regular-session (09:30-16:00 ET) high is below the previous day's high and its low above the previous day's low. 2. The day after an inside day, if the first 5-minute bar opens and closes inside the inside day's range, a buy stop goes in `buffer_ticks` (2) ticks above its high and a sell stop 2 ticks below its low. When one fills, the other is cancelled. Orders work from 09:35 to 15:30 ET. 3. Stop: the other side of the inside day's range. 4. Target: `target_r` (1) times the risk. 5. Exit: the stop, the target, or flat at 15:55 ET. One trade a day. 6. Size: about `risk_usd` dollars of risk a trade (micro contracts, rounded down, at least 1 and at most `max_contracts`)."""import qy class Bot(qy.Strategy): """Break of an inside day's range the next day.""" symbol = "M2K" timeframe = "5m" session = "rth" params = {"target_r": 1.0, "buffer_ticks": 2, "risk_usd": 250, "max_contracts": 50} max_position = 50 entry_window = ("09:35", "15:30") flatten_time = "15:55" overnight = False def setup(self): self.days = [] self.day = None self.h = self.l = None def _size(self, risk_points): per_contract = risk_points * self.point_value n = int(self.p.risk_usd // per_contract) if per_contract > 0 else 1 return max(1, min(self.p.max_contracts, n)) def on_fill(self, fill): if fill.kind == "entry": self.cancel_all() def on_bar(self, bar): if bar.date != self.day: if self.h is not None: self.days = (self.days + [(self.h, self.l)])[-5:] self.day, self.h, self.l = bar.date, bar.high, bar.low self._first_bar(bar) return self.h, self.l = max(self.h, bar.high), min(self.l, bar.low) def _first_bar(self, bar): if len(self.days) < 2: return (ph, pl), (yh, yl) = self.days[-2], self.days[-1] if not (yh < ph and yl > pl) or not (yl < bar.open < yh and yl < bar.close < yh): return buf = self.p.buffer_ticks * self.tick_size qty = self._size(yh - yl + 2 * buf) f = (yh - yl) / bar.close * 100 self.buy(qty, stop=yh + buf, stop_price=yl - buf, target_r=self.p.target_r, tag=f"Inside day long | f={f:.4f}") self.sell(qty, stop=yl - buf, stop_price=yh + buf, target_r=self.p.target_r, tag=f"Inside day short | f={f:.4f}")4Results
| Statistic | In sample | Out of sample | All |
|---|---|---|---|
| Trades | 62 | 29 | 91 |
| Net P&L | +$112 | −$505 | −$393 |
| Profit factor | 1.03 | 0.74 | 0.92 |
| Average trade | +0.01R | −0.01R | 0.00R |
| 95% interval of the average | −0.16 to 0.18 | −0.24 to 0.23 | −0.13 to 0.14 |
| t-statistic of trade R | 0.12 | −0.07 | 0.07 |
| Win rate | 56% | 45% | 53% |
| Average win / average loss | 0.80 | 0.91 | 0.83 |
| Max drawdown | $1,023 | $1,341 | $2,282 |
| Sharpe ratio (daily, annualized) | 0.22 | −1.56 | −0.47 |
| Longest losing streak | 5 | 3 | 5 |
| Long / short profit factor | 0.97 / 1.14 | 0.90 / 0.57 | 0.95 / 0.89 |
| Average holding time | 268 min | 429 min | 319 min |
| Commission paid | $216 | $81 | $297 |
Drag across the chart to zoom into a period, double-click to reset.
Averages: +0.01R in sample, −0.01R out of sample.
Drag a box to zoom, double-click to reset.
5Robustness
We reran the strategy on a grid of 16 settings of its two main parameters, each on the full history with the same split. 11 were profitable in sample and 2 out of sample.
Entry buffer (ticks) across, target (R) up. Solid outline: the defaults we tested; dashed: the in-sample best.
Hover a cell for both sides of the split.
Entry buffer (ticks) 1.00 to 8.00 across · Target (R) 0.50 to 2.00 in depth · Profit factor, out of sample 0.60 to 1.11 as height and shade. Drag or use the arrow keys to turn it.
Drag to rotate; ctrl or ⌘ and scroll to zoom.
What would change it
Nothing on the grid helps. Its in-sample best, entry buffer (ticks) 2 and target (R) 0.5, had profit factor 1.32 in sample but 0.96 out of sample, against 0.74 for the defaults.
6Prop-firm implications
The backtest's sessions run through the rules of 36 tracked 50K evaluations: 2,000 runs of up to 60 sessions each, with the drawdown and daily limits checked against each trade's intraday low. Intervals are Wilson 95% intervals of the simulation. A simulation of the past, not the chance that anyone passes.
| Plan | Pass odds, 95% interval | Pass | Fail | Out of time | Median sessions |
|---|---|---|---|---|---|
| Alpha Futures Advanced 50K Evaluation | 0.0% | 0% | 100% | n/a | |
| Alpha Futures Standard 50K Evaluation | 0.0% | 0% | 100% | n/a | |
| Alpha Futures Zero 50K Evaluation | 0.0% | 0% | 100% | n/a | |
| Apex Trader Funding 50K EOD Evaluation | 0.0% | 0% | 100% | n/a | |
| Apex Trader Funding 50K Intraday Trailing Drawdown Evaluation | 0.0% | 0% | 100% | n/a | |
| AquaFutures Beginner 50K Evaluation | 0.0% | 0% | 100% | n/a | |
| Bulenox 50K Qualification Account (Legacy, Option 1, trailing drawdown) | 0.0% | 0% | 100% | n/a | |
| Bulenox 50K Qualification Account (Legacy, Option 2, EOD drawdown) | 0.0% | 0% | 100% | n/a | |
| Earn2Trade Gauntlet Mini $50K | 0.0% | 0% | 100% | n/a | |
| Earn2Trade Trader Career Path TCP50 | 0.0% | 0% | 100% | n/a |
7Limitations
- Ranges are the regular session's only.
- Stop entries fill with a tick of slippage; fast breaks can slip more.
- One market (M2K).
- A backtest on the past, with fills simulated from one-minute bars; live fills, queues and outages differ.
8Conclusion
Too few trades to judge: 29 out of sample. Nothing on the grid helps. Its in-sample best, entry buffer (ticks) 2 and target (R) 0.5, had profit factor 1.32 in sample but 0.96 out of sample, against 0.74 for the defaults. The result is too close to break-even to tell apart from noise after costs.