Home / Strategies / O’Reilly Automotive (ORLY)
Stock · strategy report

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.

NOTHING BEAT BUY-AND-HOLD

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.

Failure exhibit

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.

#1 · Pattern · Daily

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.

+260.7%
Total return
0.42
Sharpe
-29.4%
Max DD
46.9%
Win rate
143
Trades
-17.1%
vs B&H

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.

#2 · Mean Reversion · Daily

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.

>+999%
Total return
0.58
Sharpe
-50.2%
Max DD
72.6%
Win rate
201
Trades
-10.7%
vs B&H

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.

#3 · Oscillator · Weekly

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.

>+999%
Total return
0.53
Sharpe
-47.9%
Max DD
58.0%
Win rate
162
Trades
-11.3%
vs B&H

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.

Forward test

Since publication — including if it loses

0.0%
the published setup, since 2026-07-02 (0 market days)
0.0%
buy & hold, same window

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.

How this verdict was computed (mode: out-of-sample)

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.

Ranked table

Top 20 of 669 eligible setups

Ranked by out-of-sample Sharpe. Full + out-of-sample columns, costs included. Hypothetical.

#SetupTFTotal retSharpeMax DDWinTradesα vs B&HOOS SharpeOOS αOOS trades
1Inside-Bar BreakoutDaily+260.7%0.42-29.4%46.9%143-17.1%0.85-11.2%45
2MA EnvelopeDaily>+999%0.58-50.2%72.6%201-10.7%0.8-5.0%57
3Fisher TransformWeekly>+999%0.53-47.9%58.0%162-11.3%0.78-4.2%43
4Connors RSI-2Daily>+999%0.54-36.0%60.3%343-13.3%0.78-9.0%99
5Bullish EngulfingWeekly+659.9%0.44-56.3%60.2%88-14.7%0.78-9.6%22
6Negative Volume IndexDaily>+999%0.54-56.3%47.2%89-10.1%0.77+0.1%13
7KDJWeekly>+999%0.56-40.5%55.5%173-10.9%0.77-5.3%45
8FRAMA 10/30 CrossWeekly>+999%0.7-51.3%55.4%130-7.6%0.76-4.3%42
9Detrended Price Osc.Weekly>+999%0.85-43.2%60.5%195-2.2%0.75-2.8%64
10Momentum (50)Weekly>+999%0.69-42.0%48.6%35-6.4%0.75-3.1%10
11T3 10/40 CrossDaily>+999%0.51-51.2%52.0%100-11.9%0.75-5.8%29
12Projection BandsDaily>+999%0.7-51.0%66.8%298-7.8%0.75-5.9%82
13McGinley DynamicWeekly>+999%0.65-56.6%51.7%58-6.1%0.73-3.5%18
14TSI (13,7)Weekly>+999%0.63-62.8%57.8%45-8.6%0.73-4.5%13
15AroonDaily+450.2%0.34-51.3%49.1%287-15.8%0.73-6.5%83
16Aroon OscillatorDaily+450.2%0.34-51.3%49.1%287-15.8%0.73-6.5%83
17Volatility Stop (ATR)Weekly>+999%0.67-50.2%69.8%43-7.2%0.72-4.1%13
18SMA 20/50 CrossDaily>+999%0.55-58.5%50.0%90-10.6%0.71-6.2%26
19Fibonacci PivotsDaily>+999%0.62-44.4%50.3%1,291-10.3%0.71-7.4%395
20TEMA 30 TrendWeekly+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.

Read this before acting on anything

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.

Keep digging