Trend-Following Backtester · Guide · backtest 한국어

equity · US

First Mid Bancshares, Inc. backtest

10 trend-following strategies were compared on the full daily history of First Mid Bancshares, Inc.. 3 beat buy-and-hold CAGR; EMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is EMA 크로스오버 (CAGR 7.8%, MDD -32.4%).

Data 1999-03-16 ~ 2026-07-31daily bars 6,887 (27.4 years)Costs 0.5%Venue XNASMonthly snapshot 2026-07-31

Results by strategy

3 of 10 beat buy and hold (CAGR 5.9%, drawdown -54.4%).

Sharpe leader (same as main): EMA 크로스오버 — CAGR 7.8%, MDD -32.4%, Sharpe 0.49, 58% exposure.

Return/drawdown alternative: EMA 크로스오버 — CAGR is 1.9%p higher than buy and hold, while drawdown improves by 22.0%p (CAGR 7.8%, MDD -32.4%, exposure 58%).

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=137, slow=218
7.8%-32.4%0.490.247.8x958%
Donchian 채널 돌파
entryN=161, exitN=66
6.5%-47.7%0.440.145.7x2546%
SMA 크로스오버
fast=38, slow=169
6.6%-38.1%0.430.175.7x4756%
ADX / DI 방향성
period=50, threshold=33
1.4%-6.8%0.370.211.5x23%
ROC 모멘텀
n=149, threshold=0.03
1.2%-71.6%0.160.021.4x23347%
볼린저 밴드 돌파
n=37, k=3.5
-0.7%-42.5%-0.04-0.020.8x5011%
Parabolic SAR
step=0.005, maxStep=0.16
-8.1%-95.3%-0.31-0.090.1x18956%
MACD
fast=37, slow=57, signal=19
-8.3%-94.2%-0.34-0.090.1x24749%
Keltner 채널 돌파
emaPeriod=58, atrPeriod=16, mult=3.7
-7.6%-93.4%-0.47-0.080.1x15533%
Supertrend
period=21, mult=5
-14.3%-99.3%-0.66-0.140.0x25154%
Buy and hold5.9%-54.4%0.340.114.9x1100%
1x 2000 2004 2008 2012 2016 2020 2024 EMA 크로스오버Buy and hold
EMA 크로스오버: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -14% -27% -41% -54% 2000 2004 2008 2012 2016 2020 2024 Buy and holdEMA 크로스오버
EMA 크로스오버 maximum drawdown -32.4% (2021-11-08 → 2024-04-16), recovered after 1,535 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 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 setupAll asset reports

Read next