Trend-Following Backtester · Guide · backtest 한국어

equity · US

Microsoft Corporation backtest

10 trend-following strategies were compared on the full daily history of Microsoft Corporation. 0 beat buy-and-hold CAGR; EMA 크로스오버 ranks first by Sharpe, matching the main backtester.

Data 1986-03-13 ~ 2026-07-31daily bars 10,174 (40.4 years)Costs 0.5%Venue XNASMonthly snapshot 2026-07-31

Results by strategy

0 of 10 beat buy and hold (CAGR 23.3%, drawdown -74.6%).

Sharpe leader (same as main): EMA 크로스오버 — CAGR 15.9%, MDD -76.7%, Sharpe 0.69, 72% exposure.

No strategy retained at least 75% of buy-and-hold CAGR while reducing drawdown by both 20% relatively and 5 percentage points absolutely.

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=49, slow=119
15.9%-76.7%0.690.21386.9x7472%
SMA 크로스오버
fast=29, slow=138
15.3%-74.5%0.680.20310.7x8267%
ROC 모멘텀
n=124, threshold=-0.09
15.7%-76.8%0.650.20355.2x23784%
Donchian 채널 돌파
entryN=54, exitN=45
12.9%-59.5%0.630.22132.1x9663%
Supertrend
period=22, mult=4.5
12.1%-75.2%0.620.1699.9x14958%
볼린저 밴드 돌파
n=50, k=2.6
6.8%-50.3%0.480.1314.0x10827%
Keltner 채널 돌파
emaPeriod=42, atrPeriod=14, mult=2
7.5%-69.0%0.460.1118.4x24744%
MACD
fast=16, slow=59, signal=18
6.4%-56.5%0.390.1112.3x45551%
Parabolic SAR
step=0.01, maxStep=0.16
5.7%-68.0%0.360.089.5x57356%
ADX / DI 방향성
period=34, threshold=13
4.5%-72.4%0.320.065.9x31240%
Buy and hold23.3%-74.6%0.800.314756.9x1100%
1x 10x 100x 1,000x 1987 1992 1997 2002 2007 2012 2017 2022 EMA 크로스오버Buy and hold
EMA 크로스오버: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -19% -38% -58% -77% 1987 1992 1997 2002 2007 2012 2017 2022 Buy and holdEMA 크로스오버
EMA 크로스오버 maximum drawdown -76.7% (1999-12-27 → 2011-11-25), recovered after 7,346 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