Trend-Following Backtester · Guide · backtest 한국어

equity · US

McKesson Corporation backtest

10 trend-following strategies were compared on the full daily history of McKesson Corporation. 0 beat buy-and-hold CAGR; EMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is EMA 크로스오버 (CAGR 12.1%, MDD -44.7%).

Data 1994-11-10 ~ 2026-07-31daily bars 7,982 (31.7 years)Costs 0.5%Venue XNYSMonthly snapshot 2026-07-31

Results by strategy

0 of 10 beat buy and hold (CAGR 13.2%, drawdown -83.0%).

Sharpe leader (same as main): EMA 크로스오버 — CAGR 12.1%, MDD -44.7%, Sharpe 0.64, 66% exposure.

Return/drawdown alternative: EMA 크로스오버 — CAGR is 1.2%p lower than buy and hold, while drawdown improves by 38.3%p (CAGR 12.1%, MDD -44.7%, exposure 66%).

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
EMA 크로스오버
fast=19, slow=138
12.1%-44.7%0.640.2737.1x5966%
SMA 크로스오버
fast=25, slow=162
11.4%-52.1%0.610.2230.3x5665%
Supertrend
period=18, mult=5
9.5%-52.1%0.550.1817.9x9163%
Donchian 채널 돌파
entryN=17, exitN=76
10.5%-75.8%0.520.1423.6x7984%
ADX / DI 방향성
period=60, threshold=14
6.1%-33.2%0.500.186.5x6228%
Keltner 채널 돌파
emaPeriod=72, atrPeriod=26, mult=1.7
7.8%-53.7%0.500.1511.0x15754%
ROC 모멘텀
n=95, threshold=0
8.5%-54.9%0.500.1513.2x25665%
볼린저 밴드 돌파
n=58, k=3.2
3.8%-39.5%0.430.103.3x3817%
MACD
fast=21, slow=38, signal=20
2.8%-80.4%0.240.032.4x31949%
Parabolic SAR
step=0.005, maxStep=0.26
1.9%-76.6%0.200.021.8x27756%
Buy and hold13.2%-83.0%0.560.1651.6x1100%
1x 10x 1995 1999 2003 2007 2011 2015 2019 2023 EMA 크로스오버Buy and hold
EMA 크로스오버: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -21% -42% -62% -83% 1995 1999 2003 2007 2011 2015 2019 2023 Buy and holdEMA 크로스오버
EMA 크로스오버 maximum drawdown -44.7% (2015-05-18 → 2019-05-31), recovered after 2,430 days.

Rules of the top strategy

Uses two exponential averages (more weight on recent prices) and trades their crossover.

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