SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · US

Farmers & Merchants Bancorp, Inc. backtest

10 trend-following strategies were compared on the full daily history of Farmers & Merchants Bancorp, Inc.. 2 beat buy-and-hold CAGR; ADX / DI 방향성 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Donchian 채널 돌파 (CAGR 6.6%, MDD -44.6%).

Data 2006-01-30 ~ 2026-07-31daily bars 5,158 (20.5 years)Costs 0.5%Venue XNASMonthly snapshot 2026-07-31

Results by strategy

2 of 10 beat buy and hold (CAGR 5.6%, drawdown -64.9%).

Sharpe leader (same as main): ADX / DI 방향성 — CAGR 3.0%, MDD -14.4%, Sharpe 0.45, 3% exposure.

CAGR reference leader: SMA 크로스오버 — CAGR 6.9%, MDD -50.5%, exposure 55%.

Return/drawdown alternative: Donchian 채널 돌파 — CAGR is 2.6%p lower than buy and hold, while drawdown improves by 50.5%p (CAGR 6.6%, MDD -44.6%, exposure 61%).

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
ADX / DI 방향성
period=30, threshold=35
3.0%-14.4%0.450.211.8x63%
SMA 크로스오버
fast=40, slow=153
6.9%-50.5%0.380.143.9x3155%
Donchian 채널 돌파
entryN=59, exitN=76
6.6%-44.6%0.370.153.7x3561%
EMA 크로스오버
fast=19, slow=165
4.6%-41.7%0.310.112.5x4555%
볼린저 밴드 돌파
n=76, k=2
0.2%-65.1%0.110.001.0x7333%
Keltner 채널 돌파
emaPeriod=57, atrPeriod=9, mult=4
-0.8%-68.6%0.04-0.010.9x8125%
Supertrend
period=20, mult=5
-5.9%-86.0%-0.07-0.070.3x13759%
ROC 모멘텀
n=107, threshold=0.12
-3.7%-72.7%-0.12-0.050.5x18122%
Parabolic SAR
step=0.005, maxStep=0.18
-12.9%-95.5%-0.41-0.130.1x14355%
MACD
fast=18, slow=42, signal=18
-20.8%-99.4%-0.78-0.210.0x30550%
Buy and hold5.6%-64.9%0.330.093.0x1100%
1x 2007 2010 2013 2016 2019 2022 2025 SMA 크로스오버ADX / DI 방향성Buy and hold
ADX / DI 방향성 (Sharpe leader), SMA 크로스오버 (CAGR reference), Buy and hold.
0% -16% -32% -49% -65% 2007 2010 2013 2016 2019 2022 2025 Buy and holdSMA 크로스오버ADX / DI 방향성
ADX / DI 방향성 maximum drawdown -14.4% (2017-05-22 → 2017-06-20), recovered after 36 days.

Rules of the top strategy

Looks at both the direction and the strength of the trend; holds only in a strong uptrend.

Method and caveats

Past performance does not guarantee future returns. Parameters were selected on the same full-history sample using sharpe over 40 trials per strategy, so results contain in-sample bias. 0.5% trading costs are included; taxes, slippage and rejected orders are not.
Re-run the same setupMore US assetsAll asset reports

Read next