Trend-Following Backtester · Guide · backtest 한국어

equity · US

O'Reilly Automotive, Inc. backtest

10 trend-following strategies were compared on the full daily history of O'Reilly Automotive, Inc.. 0 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is SMA 크로스오버 (CAGR 17.7%, MDD -37.0%).

Data 1993-04-23 ~ 2026-07-31daily bars 8,375 (33.3 years)Costs 0.5%Venue XNASMonthly snapshot 2026-07-31

Results by strategy

0 of 10 beat buy and hold (CAGR 20.9%, drawdown -65.4%).

Sharpe leader (same as main): SMA 크로스오버 — CAGR 17.7%, MDD -37.0%, Sharpe 0.77, 75% exposure.

Return/drawdown alternative: SMA 크로스오버 — CAGR is 3.2%p lower than buy and hold, while drawdown improves by 28.4%p (CAGR 17.7%, MDD -37.0%, exposure 75%).

The alternative must retain 75% of buy-and-hold CAGR, improve drawdown by at least 20% and 5 percentage points, and stay below 95% exposure; the ranking weights return retention 60% and drawdown improvement 40%.

Strategy · parametersCAGRMDDSharpeCalmarTotalTradesExposure
SMA 크로스오버
fast=59, slow=214
17.7%-37.0%0.770.48226.2x2675%
EMA 크로스오버
fast=66, slow=164
16.2%-47.1%0.710.34149.8x2879%
ROC 모멘텀
n=147, threshold=-0.07
13.8%-56.3%0.610.2574.4x14784%
Donchian 채널 돌파
entryN=67, exitN=77
12.1%-50.1%0.600.2445.0x4670%
Supertrend
period=24, mult=4.7
9.2%-57.2%0.490.1618.9x10469%
Parabolic SAR
step=0.005, maxStep=0.28
5.0%-63.1%0.330.085.1x27756%
볼린저 밴드 돌파
n=44, k=1.9
4.4%-41.6%0.330.104.1x18643%
Keltner 채널 돌파
emaPeriod=72, atrPeriod=26, mult=1.7
3.9%-49.0%0.290.083.5x19053%
MACD
fast=36, slow=44, signal=31
3.8%-57.1%0.280.073.5x26751%
ADX / DI 방향성
period=39, threshold=19
0.8%-44.4%0.130.021.3x9421%
Buy and hold20.9%-65.4%0.740.32554.1x1100%
1x 10x 100x 1994 1999 2004 2009 2014 2019 2024 SMA 크로스오버Buy and hold
SMA 크로스오버: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -16% -33% -49% -65% 1994 1999 2004 2009 2014 2019 2024 Buy and holdSMA 크로스오버
SMA 크로스오버 maximum drawdown -37.0% (2019-11-18 → 2020-07-09), recovered after 750 days.

Rules of the top strategy

When the short average rises above the long average, it reads that as an uptrend starting.

Method and caveats

Past performance does not guarantee future returns. Parameters were carried forward from the latest full optimization and replayed on this monthly dataset. 0.5% trading costs are included; taxes, slippage and rejected orders are not.
Re-optimize the same period and setupAll asset reports

Read next