Trend 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%
Random-date null check (20-day): Bullish: inside null (p=0.687)

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.

Range Breakout (range_breakout) — trigger count distribution by per-stock regime quadrant (trending/non-trending × high/low realized volatility) for bullish triggers, global universe

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.

Range Breakout (range_breakout) — mean 20-day alpha versus S&P 500 Equal Weight by per-stock regime quadrant, bullish triggers side by side
Trending + Low vol
Stock in a clean directional move with low realized volatility. Textbook "trend-following paradise" — smooth grind with little whipsaw risk.
Trending + High vol
Violent directional moves — parabolic rallies, crisis selloffs. Trend exists but the path is noisy. Signal timing may be imprecise.
Non-trending + Low vol
Quiet chop, summer doldrums, consolidations. No directional bias but also no big swings — small edges become reliable if they exist at all.
Non-trending + High vol
Choppy and violent — the classical "whipsaw zone" for momentum signals. Crossovers and breakouts fire repeatedly without follow-through.

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.

Range Breakout (range_breakout) — 20-day alpha split by historical sub-period (2015-2019, 2020-2022, 2023+) to check consistency across market regimes

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.

60-day alpha by stock regime

Range Breakout (range_breakout) — mean 60-day alpha versus S&P 500 Equal Weight by per-stock regime quadrant

60-day alpha by era

Range Breakout (range_breakout) — 60-day alpha split by historical sub-period

1-year alpha by stock regime

Range Breakout (range_breakout) — mean 1-year (252 trading day) alpha versus S&P 500 Equal Weight by per-stock regime quadrant

1-year alpha by era

Range Breakout (range_breakout) — 1-year alpha split by historical sub-period

1-year observed lift vs random-date null — bullish side

Observed 1-year lift (vertical line) against the null distribution of random-date firing. If the line is deep inside the null cloud, the signal adds no information. If it sits in the right tail, the signal is doing real work in that direction; in the left tail it ran inverted — random dates served the bullish case better than its own triggers did.
Range Breakout (range_breakout) — bullish 1-year observed lift versus the random-date permutation null distribution

↑ 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
Observed 20-day lift (vertical line) against the null distribution of random-date firing. If the line is deep inside the null cloud, the signal adds no information. If it sits in the right tail, the signal is doing real work in that direction; in the left tail it ran inverted — random dates served the bullish case better than its own triggers did.
Range Breakout (range_breakout) — bullish 20-day observed lift versus random-date permutation null (200 iterations)
Permutation null detail — all horizons × each benchmark
200-iteration null: for each ticker, sample N random dates from its history (matching observed trigger count) and compute the same alpha. Both observed and null are baseline-centered per ticker (each ticker's own baseline alpha is subtracted), which removes the universe-selection lift that all surviving names share, so the comparison is about the trigger's timing. It does not put the null at zero: that baseline is a median, while a random date's expectation is the ticker's mean, so the null settles at the gap between the two — the right-skew of the ticker's own alpha distribution, positive for equities. Read observed minus null, not the absolute position of either column — which is also why these figures do not match the α columns in the tables above (those are raw, uncentered means). pperm = one-sided fraction of null iters with mean in the "signal was right" tail (right for bullish, left for bearish), so it runs from a floor of 0.005 (trigger dates beat every random draw in the claimed direction) to a 1.000 ceiling (every random draw served the claimed direction better — a reliably inverted signal, not an absent one). The floor is 1/(iterations + 1) and moves with the iteration count; the ceiling does not. Either end says the result was reliable, not that it was large: the gap between the line and the cloud can be a fraction of a percent and still reach an endpoint, and the transaction-cost floor in the caveats below would swallow a gap that small. Read the size off the α and hit-rate columns, the reliability off pperm.
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)
Each quadrant groups triggers by the stock's own ADX(14) and RV(20) at the trigger date — the textbook conditioning variable (not market-level). Stock %, bench %, alpha %, and HAC p-value shown for each benchmark.
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)
Historical clustering check. If alpha concentrates in one era, the signal's robustness is questionable.
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

No edge at the horizons you would actually trade
Over 1 to 60 trading days this signal is indistinguishable from picking random dates on the same stocks. At 20 days the triggers averaged +0.12% alpha against a random-date null of +0.19%; at 60 days, +0.48% against +0.47%. At one day it is significantly negative. Whatever the pattern suggests visually, the measured short- and medium-term result is that the breakout date carries no information.
The one positive number is a tail, on a flattering universe
The single exception is the 252-day mean alpha of +6.02% against a +0.46% random-date null. Read it carefully before trusting it. The median trigger returned -4.45% and only 45.0% beat the benchmark, so that average is carried by a small number of very large winners rather than by typical behaviour. Roughly half of it is not the signal at all: buying the same stocks on random days, matched year for year to when this signal fired, returns +2.95% over the same horizon, leaving a genuine excess of +3.06 points rather than +6.02. At the horizons most people trade it is worse than that random comparison outright - at 20 days the random dates beat it on both average return and hit rate. It is also measured on today's active tickers with delisted losers pruned - the survivorship bias noted in the caveats under the tables. A separate study applying a point-in-time liquidity gate across 29,231 names found this pattern's tail capture indistinguishable from the pool (lift 0.96 in selection, 0.98 held out).
Fire counts here will not match any research table
The study de-duplicated repeat triggers on a fixed 252-day window. Production uses an active-boundary rule instead: once the signal fires at a level it will not fire again until price falls back through that level and re-arms. The two rules produce different counts on the same price history, so per-name and per-period totals from the research are not comparable to what this screen returns.
Production universe is wider than the tested universe
The measured numbers come from a research study run on 29,231 tickers with a point-in-time liquidity gate of $10M/day and known data-defect names excluded. Production applies neither filter: the screen runs on the full active universe, so it will fire on illiquid and defect-prone names the study never measured. Treat a fire on a thinly traded name as outside the tested set.

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 aloneAt 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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.