Trend-Following Backtester · Guide · backtest 한국어

equity · US

Main Street Capital Corporation backtest

10 trend-following strategies were compared on the full daily history of Main Street Capital Corporation. 1 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is SMA 크로스오버 (CAGR 7.2%, MDD -31.5%).

Data 2007-10-09 ~ 2026-07-31daily bars 4,732 (18.8 years)Costs 0.5%Venue XNYSMonthly snapshot 2026-07-31

Results by strategy

1 of 10 beat buy and hold (CAGR 7.1%, drawdown -65.0%).

Sharpe leader (same as main): SMA 크로스오버 — CAGR 7.2%, MDD -31.5%, Sharpe 0.48, 64% exposure.

Return/drawdown alternative: SMA 크로스오버 — CAGR is 0.1%p higher than buy and hold, while drawdown improves by 33.5%p (CAGR 7.2%, MDD -31.5%, exposure 64%).

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=82, slow=144
7.2%-31.5%0.480.233.7x3464%
EMA 크로스오버
fast=45, slow=177
4.1%-41.7%0.310.102.1x3267%
Donchian 채널 돌파
entryN=92, exitN=74
3.3%-40.4%0.280.081.8x2654%
ADX / DI 방향성
period=28, threshold=32
0.5%-8.3%0.180.061.1x21%
ROC 모멘텀
n=136, threshold=-0.02
1.6%-48.8%0.180.031.3x13469%
Supertrend
period=23, mult=4.1
1.0%-46.3%0.140.021.2x7963%
Parabolic SAR
step=0.005, maxStep=0.36
-0.8%-52.7%0.06-0.010.9x15359%
MACD
fast=19, slow=53, signal=16
-0.7%-49.4%0.05-0.010.9x20752%
Keltner 채널 돌파
emaPeriod=39, atrPeriod=17, mult=3.8
-0.4%-36.3%-0.00-0.010.9x3816%
볼린저 밴드 돌파
n=48, k=3.4
-0.3%-23.2%-0.03-0.010.9x83%
Buy and hold7.1%-65.0%0.380.113.6x1100%
1x 2008 2011 2014 2017 2020 2023 2026 SMA 크로스오버Buy and hold
SMA 크로스오버: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -16% -33% -49% -65% 2008 2011 2014 2017 2020 2023 2026 Buy and holdSMA 크로스오버
SMA 크로스오버 maximum drawdown -31.5% (2013-03-14 → 2016-02-11), recovered after 1,698 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