Does anything beat buy & hold on O’Reilly Automotive (ORLY)?
Every setup we tested on O’Reilly Automotive (ORLY) — ranked out-of-sample, corrected for multiple testing, and forward-tracked in public from the day this page published. The honest answer is the headline.
No setup beat simply holding once tested honestly. We say so plainly.
Its best setup trailed buy-and-hold out-of-sample. Buy-and-hold benchmark: +21.1% CAGR over 33.1 years (+17.9% CAGR in the out-of-sample window).
Educational research from historical backtests — not investment advice. Past performance does not predict future results.
ORLY: we tested 749 setups and none beat simply holding O’Reilly Automotive
For O’Reilly Automotive (ORLY), we ran 749 indicator configurations against a plain buy-and-hold benchmark, and none of them earned the right to replace it. Individual stocks carry idiosyncratic risk — earnings surprises, guidance changes, sector rotation — that indicators built on price history cannot see coming. The best-looking setup, Inside-Bar Breakout on the daily timeframe, ranked at the top in-sample but delivered an out-of-sample Sharpe of 0.85, short of our hurdle of 1.16. Buy-and-hold returned +21.1% annualized over the test period; the top strategies mostly captured pieces of that same move while adding trading friction.
How to read this honestly: when you test 749 setups and keep the best one, something will always look impressive by chance alone. That is why we require the survivor to clear 1.16 out of sample. Inside-Bar Breakout managed 0.85, with out-of-sample alpha of -11.2% across 9.9 years and 143 trades, and only 0.1% of everything we tested beat the benchmark on unseen data — roughly what luck would produce. None of this predicts anything: the regime that generated these numbers can shift, and single stocks shift faster than most. Treat this page as a record of what failed under honest testing, not a forecast.
Every figure above is computed from our own backtests — nothing is estimated or invented. Hypothetical results; not investment advice.
The least-bad setups — shown with their failure numbers
Nothing here earned a verdict — these are the best of a losing field, published so you can see exactly how "best" still failed.
Inside-Bar Breakout
Mechanical rule (exactly as backtested): Volatility breakout - an inside (mother) bar forms, go long on a break above the mother bar's high. Signals are evaluated at daily-bar close, the position changes on the NEXT bar, 0.08% cost per side, long/flat only — no leverage, no shorting.
Out-of-sample (last ~30% of the window, never used to pick this setup): Sharpe 0.85 · alpha -11.2% · 45 trades over 9.9 yrs.
MA Envelope
Mechanical rule (exactly as backtested): Percent envelope around an EMA — buy the dip below the lower band, exit back at the mean. Signals are evaluated at daily-bar close, the position changes on the NEXT bar, 0.08% cost per side, long/flat only — no leverage, no shorting.
Out-of-sample (last ~30% of the window, never used to pick this setup): Sharpe 0.8 · alpha -5.0% · 57 trades over 9.9 yrs.
Fisher Transform
Mechanical rule (exactly as backtested): Long while the Fisher Transform turns up above its trigger. Signals are evaluated at weekly-bar close, the position changes on the NEXT bar, 0.08% cost per side, long/flat only — no leverage, no shorting.
Out-of-sample (last ~30% of the window, never used to pick this setup): Sharpe 0.78 · alpha -4.2% · 43 trades over 10.0 yrs.
Since publication — including if it loses
The forward record is just getting started — the gap between the two is the honest score. Marked to market nightly from real prices, rules frozen at publication, as of 2026-07-02. Currently LONG.
We tested 749 setups (indicator × parameters × timeframe) on O’Reilly Automotive (ORLY). Only setups with ≥30 trades qualify (669 did). Setups are ranked by out-of-sample Sharpe — the last ~30% of history, which standard-parameter rules never saw during selection. Because picking the best of 749 tries mines even the holdout, the VALIDATED verdict additionally requires the top setup’s OOS Sharpe to clear a selection hurdle of 1.16 (√(2 ln N)/√T) AND positive alpha in both windows. Of the eligible setups, 0.1% had positive out-of-sample alpha (median OOS Sharpe 0.39) — the table below is truncated, but this summary covers all of them. Full recipe: methodology · the engine’s contract lives in the repo as STRATEGY_METHODOLOGY.md.
Top 20 of 669 eligible setups
Ranked by out-of-sample Sharpe. Full + out-of-sample columns, costs included. Hypothetical.
| # | Setup | TF | Total ret | Sharpe | Max DD | Win | Trades | α vs B&H | OOS Sharpe | OOS α | OOS trades |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Inside-Bar Breakout | Daily | +260.7% | 0.42 | -29.4% | 46.9% | 143 | -17.1% | 0.85 | -11.2% | 45 |
| 2 | MA Envelope | Daily | >+999% | 0.58 | -50.2% | 72.6% | 201 | -10.7% | 0.8 | -5.0% | 57 |
| 3 | Fisher Transform | Weekly | >+999% | 0.53 | -47.9% | 58.0% | 162 | -11.3% | 0.78 | -4.2% | 43 |
| 4 | Connors RSI-2 | Daily | >+999% | 0.54 | -36.0% | 60.3% | 343 | -13.3% | 0.78 | -9.0% | 99 |
| 5 | Bullish Engulfing | Weekly | +659.9% | 0.44 | -56.3% | 60.2% | 88 | -14.7% | 0.78 | -9.6% | 22 |
| 6 | Negative Volume Index | Daily | >+999% | 0.54 | -56.3% | 47.2% | 89 | -10.1% | 0.77 | +0.1% | 13 |
| 7 | KDJ | Weekly | >+999% | 0.56 | -40.5% | 55.5% | 173 | -10.9% | 0.77 | -5.3% | 45 |
| 8 | FRAMA 10/30 Cross | Weekly | >+999% | 0.7 | -51.3% | 55.4% | 130 | -7.6% | 0.76 | -4.3% | 42 |
| 9 | Detrended Price Osc. | Weekly | >+999% | 0.85 | -43.2% | 60.5% | 195 | -2.2% | 0.75 | -2.8% | 64 |
| 10 | Momentum (50) | Weekly | >+999% | 0.69 | -42.0% | 48.6% | 35 | -6.4% | 0.75 | -3.1% | 10 |
| 11 | T3 10/40 Cross | Daily | >+999% | 0.51 | -51.2% | 52.0% | 100 | -11.9% | 0.75 | -5.8% | 29 |
| 12 | Projection Bands | Daily | >+999% | 0.7 | -51.0% | 66.8% | 298 | -7.8% | 0.75 | -5.9% | 82 |
| 13 | McGinley Dynamic | Weekly | >+999% | 0.65 | -56.6% | 51.7% | 58 | -6.1% | 0.73 | -3.5% | 18 |
| 14 | TSI (13,7) | Weekly | >+999% | 0.63 | -62.8% | 57.8% | 45 | -8.6% | 0.73 | -4.5% | 13 |
| 15 | Aroon | Daily | +450.2% | 0.34 | -51.3% | 49.1% | 287 | -15.8% | 0.73 | -6.5% | 83 |
| 16 | Aroon Oscillator | Daily | +450.2% | 0.34 | -51.3% | 49.1% | 287 | -15.8% | 0.73 | -6.5% | 83 |
| 17 | Volatility Stop (ATR) | Weekly | >+999% | 0.67 | -50.2% | 69.8% | 43 | -7.2% | 0.72 | -4.1% | 13 |
| 18 | SMA 20/50 Cross | Daily | >+999% | 0.55 | -58.5% | 50.0% | 90 | -10.6% | 0.71 | -6.2% | 26 |
| 19 | Fibonacci Pivots | Daily | >+999% | 0.62 | -44.4% | 50.3% | 1,291 | -10.3% | 0.71 | -7.4% | 395 |
| 20 | TEMA 30 Trend | Weekly | +732.1% | 0.43 | -52.2% | 55.8% | 156 | -14.4% | 0.71 | -7.8% | 44 |
Hypothetical backtests with 0.08%/side costs. Not investment advice — see the full disclaimer.
These are historical backtests of mechanical rules. They are educational research, not investment advice, not a recommendation, and not tailored to you. Educational information only — not investment advice. Hypothetical backtested results; past performance does not guarantee future results. Trading involves risk of loss.