range_breakout
Range Breakout
Price breaks out above a tight trading range it has held for months, with the moving averages already rising underneath it. Only the first break counts — it will not fire again until price falls back through the level. A screen for a common chart condition, not a claim that it outperforms; the docs page has the detail.
Signal family
Trend — Signals that fire when price is continuing or reversing an established directional move. Momentum-following by nature.
Parameters
| Name | Description | Default | Range |
|---|---|---|---|
| min_channel_days | Channel length (days) | 252 | 60–504 |
| breakout_buffer_pct | Breakout buffer above the channel top | 0.02 | 0.0–0.1 |
| channel_width_max_pct | Maximum channel width | 0.6 | 0.1–2.0 |
Historical context
55,561 triggers on 16,817 tickers, 1998-01-20 → 2026-09-08. Universe: global — all covered exchanges (mcap ≥ $100,000,000, price ≥ $1). Long-only convention: BUY at open T+1, hold the horizon, compare to S&P 500 Equal Weight over the same window.
Methodology footnotes
Benchmarks shown in the detail tables: spxew (S&P 500 Equal Weight — primary, median-stock view, avoids the 2020+ megacap-concentration distortion), spx (S&P 500 cap-weighted, distorted post-2020), msci (MSCI World USD). Per-stock regime tags: trending = ADX(14) ≥ 25, high vol = 20d realized annualized vol ≥ 20%. 1d return = intraday T+1 open→close; 20d = open T+1 to close T+20.
At a glance — alpha vs S&P 500 Equal Weight, global universe
Holding-period sensitivity. Bullish columns: positive = signal worked (long the trigger beat the index). Bearish columns: negative = signal worked (the flagged stock underperformed).
| Horizon | Bullish α |
|---|---|
| 5-day | -0.13% |
| 20-day | +0.12% |
| 60-day | +0.48% |
| 1-year | +6.02% |
Range Breakout is a single-direction signal — only the bullish side is meaningful.
Where does RANGE_BREAKOUT actually fire?
The bucket distribution often reveals what the signal really is, regardless of its textbook label. Heavy concentration in "non-trending + high vol" = it's mostly a chop-market event. Heavy in "trending + low vol" = it picks up the smooth grinds. Read the chart before the alpha numbers — context shapes everything that follows.
Does it work in every regime?
Trigger alpha split by the host stock's own regime on the trigger date — trending or ranging, high-vol or low-vol. This is the 20-day alpha a trade taken on the trigger would have captured. This signal is bullish-only, so positive bars mark the regimes where it worked and negative bars mark regimes to avoid. One strong bar beside three flat ones is not a "20-day alpha" signal — it is a "20-day alpha when the stock is X" signal. Bar labels carry the sample size; a cell built on a handful of triggers is noise, not a regime finding.
Does it work in every era?
A multi-year average can hide major instability. The sample splits into three windows: 2015–2019 (pre-COVID), 2020–2022 (pandemic + 2022 bear), and 2023+ (post-ZIRP + AI megacap rally). All three carrying the sign that favours the trade means the signal is durable; one era doing all the work means a regime-specific edge that may not repeat. The greater the variance across eras, the smaller the position it justifies. Long-history signal: requires 254 trading days of prior data per ticker. The earliest era may show fewer triggers as a result.
Longer-horizon views
This signal carries a long lookback window (254 trading days of prior history required per ticker), suggesting it's designed to catch moves that play out over months, not days. The charts below repeat the quadrant and sub-period analyses at the 60-day and 1-year (252-day) horizons, showing how the signal's relationship with the benchmark evolves with holding period.
1-year observed lift vs random-date null — bullish side
↑ Bullish triggers
| Bench | Metric | 1d | 5d | 20d | 60d | 252d |
|---|---|---|---|---|---|---|
| spxew | Stock % | -0.02% | +0.12% | +1.15% | +3.82% | +19.69% |
| Bench % | +0.01% | +0.12% | +0.55% | +1.71% | +9.67% | |
| Alpha % | -0.09% | -0.13% | +0.12% | +0.48% | +6.02% | |
| Median alpha | -0.23% | -0.57% | -1.25% | -2.42% | -4.45% | |
| Hit rate (α>0) | 45.5% | 45.4% | 45.1% | 44.3% | 45.0% | |
| p (naive) | <0.001 | 0.0013 | 0.1259 | 0.0003 | <0.001 | |
| p (HAC) | <0.001 | 0.0059 | 0.3337 | 0.0861 | <0.001 | |
| N | 29,520 | 28,376 | 28,389 | 27,874 | 25,074 | |
| spx | Stock % | -0.02% | +0.12% | +1.15% | +3.82% | +19.69% |
| Bench % | +0.01% | +0.17% | +0.87% | +2.80% | +13.33% | |
| Alpha % | -0.09% | -0.19% | -0.26% | -0.65% | +2.19% | |
| Median alpha | -0.23% | -0.66% | -1.63% | -3.54% | -8.44% | |
| Hit rate (α>0) | 45.4% | 44.8% | 43.7% | 41.8% | 41.1% | |
| p (naive) | <0.001 | <0.001 | 0.0007 | <0.001 | <0.001 | |
| p (HAC) | <0.001 | <0.001 | 0.0294 | 0.0170 | 0.0351 | |
| N | 29,670 | 28,633 | 28,624 | 28,063 | 25,327 | |
| msci | Stock % | -0.02% | +0.12% | +1.15% | +3.82% | +19.69% |
| Bench % | +0.03% | +0.16% | +0.74% | +2.29% | +10.82% | |
| Alpha % | -0.11% | -0.18% | -0.13% | -0.14% | +4.79% | |
| Median alpha | -0.25% | -0.63% | -1.50% | -3.12% | -5.84% | |
| Hit rate (α>0) | 44.9% | 44.8% | 44.1% | 42.8% | 43.6% | |
| p (naive) | <0.001 | <0.001 | 0.0854 | 0.2979 | <0.001 | |
| p (HAC) | <0.001 | <0.001 | 0.2544 | 0.5943 | <0.001 | |
| N | 29,715 | 28,720 | 28,693 | 28,110 | 25,371 |
Permutation null detail — all horizons × each benchmark
| Horizon | Bench | Observed lift | Null mean | Null 95% CI | pperm |
|---|---|---|---|---|---|
| 1d | spxew | +0.03% | +0.06% | [+0.04%, +0.09%] | 1.000 |
| 1d | spx | +0.02% | +0.07% | [+0.05%, +0.10%] | 1.000 |
| 1d | msci | +0.03% | +0.08% | [+0.05%, +0.11%] | 1.000 |
| 5d | spxew | +0.18% | +0.29% | [+0.22%, +0.35%] | 1.000 |
| 5d | spx | +0.15% | +0.30% | [+0.24%, +0.36%] | 1.000 |
| 5d | msci | +0.16% | +0.31% | [+0.25%, +0.37%] | 1.000 |
| 20d | spxew | +0.93% | +0.96% | [+0.83%, +1.13%] | 0.687 |
| 20d | spx | +0.75% | +0.99% | [+0.85%, +1.16%] | 0.995 |
| 20d | msci | +0.77% | +1.01% | [+0.87%, +1.17%] | 0.995 |
| 60d | spxew | +2.04% | +2.25% | [+2.03%, +2.48%] | 0.965 |
| 60d | spx | +1.63% | +2.30% | [+2.07%, +2.51%] | 1.000 |
| 60d | msci | +1.66% | +2.33% | [+2.10%, +2.54%] | 1.000 |
| 252d | spxew | +5.83% | +4.76% | [+4.38%, +5.22%] | 0.005 |
| 252d | spx | +5.69% | +4.99% | [+4.58%, +5.43%] | 0.005 |
| 252d | msci | +5.58% | +4.89% | [+4.47%, +5.32%] | 0.005 |
Example triggers on US large-caps (2023+, mcap ≥ $30B)
Six recent bullish RANGE_BREAKOUT triggers on US mega-caps, ranked within this sample of six: the top three and the bottom three, with extreme outliers excluded. Ranking is relative, not absolute — where the signal did well across the sampled names, even the bottom three can have beaten the benchmark, so the alpha printed on each panel is what settles it. Both groups are tail outcomes by construction; read them as the range, not the typical result.
Best three of the six sampled
Weakest three of the six sampled — not necessarily losses
Stock-regime quadrants (2×2 per-stock, 20d alpha detail table)
| Quadrant | N | Stock % (spxew) | Bench % (spxew) | Alpha % (spxew) | p (HAC) | Stock % (spx) | Bench % (spx) | Alpha % (spx) | p (HAC) | Stock % (msci) | Bench % (msci) | Alpha % (msci) | p (HAC) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Trending + Low vol Clean directional grind, low whipsaw | 3,117 | +1.42% | +0.39% | +0.64% | 0.0100 | +1.42% | +0.76% | +0.25% | 0.3498 | +1.42% | +0.64% | +0.44% | 0.0812 |
| Trending + High vol Crisis selloff or parabolic rally | 42,050 | +1.12% | +0.50% | +0.02% | 0.9038 | +1.12% | +0.84% | -0.39% | 0.0067 | +1.12% | +0.71% | -0.27% | 0.0567 |
| Non-trending + Low vol Quiet chop, summer doldrums | 454 | +2.31% | +0.69% | +0.98% | 0.0356 | +2.31% | +0.97% | +0.61% | 0.2051 | +2.31% | +0.88% | +0.75% | 0.1113 |
| Non-trending + High vol Classical "whipsaw zone" for momentum | 9,940 | +1.18% | +0.79% | +0.41% | 0.1599 | +1.18% | +1.03% | +0.13% | 0.6339 | +1.18% | +0.90% | +0.25% | 0.3605 |
Sub-period breakdown table (20d alpha)
| Period | N | Alpha % (spxew) | p (HAC) | Alpha % (spx) | p (HAC) | Alpha % (msci) | p (HAC) |
|---|---|---|---|---|---|---|---|
| 2015-2019 2015-01-01 → 2020-01-01 | 10,779 | +0.67% | 0.0006 | +0.38% | 0.0496 | +0.49% | 0.0101 |
| 2020-2022 2020-01-01 → 2023-01-01 | 7,092 | -0.43% | 0.1585 | -0.41% | 0.1386 | -0.23% | 0.3977 |
| 2023-2026 2023-01-01 → 2099-01-01 | 12,823 | -0.05% | 0.7870 | -0.75% | <0.001 | -0.62% | 0.0002 |
Methodology and caveats
How to read. Entry at open of T+1 (one trading day after the signal fires on close of T). 20d = open T+1 to close T+20. Alpha = stock return − benchmark return over the same window (Convention A, single-sided, textbook). For bullish triggers, POSITIVE alpha = signal was right. For bearish triggers, NEGATIVE alpha = signal was right (stock underperformed market). No sign-flipping; the direction of the bet determines what "good" looks like. Per-stock regime is each stock's own ADX(14) and RV(20) at the trigger date — not market-wide state.
Three p-values, three robustness tests. (a) p_naive: scipy one-sample t-test on winsorized alphas. Optimistic because overlapping 20d windows on the same ticker inflate effective N. (b) p_hac: Newey-West HAC with lag = horizon — corrects for the overlap and is the academic-finance standard. (c) p_perm: one-sided fraction of 200 random-date null iterations falling in the “signal was right” tail (mean ≥ observed for bullish; mean ≤ observed for bearish). Tests whether the signal beats random date selection at all. A signal that clears all three (pnaive, phac, pperm all < 0.05) has real information; a signal that fails pperm has not beaten random timing whatever the t-test says — and because the test is one-sided, a pperm up at its 1.000 ceiling is not "no edge" but inverted edge: every random draw served the claimed direction better than the trigger dates did.
Caveats. (i) Universe reflects today's active tickers; delisted losers pruned → survivorship bias. (ii) Mcap ≥ $100M filter uses today's snapshot, not point-in-time — mild lookahead on which stocks enter the sample, not on returns. (iii) Means and p-values use winsorized alphas (1/99 percentile) to prevent data errors from dominating. Medians and hit rates use raw data. (iv) Zero transaction costs assumed. Realistic bid-ask + commissions remove 20–40bps from 20d alpha on US large-caps, more on small-cap. Sub-20bps alpha is noise in practice. (v) Past performance does not predict future results.
How to use this
1 · When to reach for this signal
Not a standalone entry trigger at 20 days. Bullish 20d alpha is +0.12% — inside the null : indistinguishable from random timing. This signal fires bullish-only — there is no bearish variant. Fires are screening context inside a composite (section 4), not entries.
These verdicts are 20-day holds vs S&P 500 Equal Weight. Longer horizons can differ in either direction — check the permutation detail tables below before extrapolating.
2 · When it works — the setups that drive it
- Best bullish setup: Trending + Low vol — alpha +0.64% / 20d on 3,117 historical triggers.
- Best era for bullish: 2015-2019 — alpha +0.67% / 20d on 10,779 triggers.
3 · When it fails — common false positives
- Weakest bullish cell: Trending + High vol — alpha +0.02% / 20d on 42,050 triggers.
- Worst era for bullish: 2020-2022 — alpha -0.43% / 20d on 7,092 triggers.
Signal-specific failure patterns
4 · Pairing inside a screen
The statements below describe how this signal relates to others by construction — which indicator family it belongs to, and where same-family redundancy might reduce the independence of evidence inside a Daily Report. These are taxonomic classifications drawn from standard technical-analysis texts; they are not pairing backtests. This signal was not part of the tested set in the pair backtest run, so its pairing behaviour remains unmeasured.
Use it as context, not as the reason
Because the breakout carries no edge at tradeable horizons, its value is as a condition you combine with something that does. Pair it with your own catalyst, fundamental screen, or another signal, and let the breakout confirm rather than lead.
What would likely rescue this signal
This block calls out the data or conditions that could turn a technically weak signal into a usable one in a composite screen. Based on signal mechanics and the observed failure patterns above; individual combinations are not yet backtested.
- Do not size it on the pattern alone — At 20 and 60 days the triggers matched the random-date null almost exactly. If a breakout is the whole thesis, there is no measured reason to expect an edge over simply picking a date. Require independent evidence before acting.
See also Why technical-only signals don't survive on their own for the broader argument.
5 · Before acting — a 5-point checklist
- Normal trading day? Rule out earnings (within ±3 days), ex-dividend, or known corporate-action dates — the signal is almost certainly reading noise, not momentum, in those windows.
- Where is price vs its own 50 / 200 DMA? A trend signal is only as credible as the underlying trend it claims to confirm. Check the 200DMA orientation before acting.
- What's the sector breadth doing? An isolated signal in a broadly down-trending sector is a lower-confidence setup than one firing with the rest of its peer group.
- Is ADV20 enough for the intended size? A $1M notional order in a $500M name moves the tape by itself. A useful floor is adv20d ≥ 5% of the intended position.
- What invalidates the trade? Define a price level in advance (for longs: a close below the trigger-day low; for shorts: a close above the trigger-day high) and honour it. The backtest alpha is an average; any single trade can land at either tail.
Execution notes
Fires when the close exceeds the top of its prior trading range by at least 2%, where that range has held for at least 252 sessions and is no wider than 60% top-to-bottom, with the moving averages already rising underneath. Only the first break of a given level counts; the signal re-arms only after price retraces back through that level. Long-only - there is no bearish side.