SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · US

Afya Limited backtest

10 trend-following strategies were compared on the full daily history of Afya Limited. 9 beat buy-and-hold CAGR; ROC 모멘텀 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Keltner 채널 돌파 (CAGR 0.2%, MDD -6.3%).

Data 2019-07-19 ~ 2026-09-30daily bars 1,810 (7.2 years)Costs 0.5%Venue XNASMonthly snapshot 2026-09-30

Results by strategy

9 of 10 beat buy and hold (CAGR -9.1%, drawdown -72.1%).

Sharpe leader (same as main): ROC 모멘텀 — CAGR 5.0%, MDD -17.6%, Sharpe 0.39, 16% exposure.

Return/drawdown alternative: Keltner 채널 돌파 — CAGR is 14.1%p higher than buy and hold, while drawdown improves by 54.5%p (CAGR 0.2%, MDD -6.3%, exposure 2%).

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
ROC 모멘텀
n=117, threshold=0.21
5.0%-17.6%0.390.281.4x2816%
SMA 크로스오버
fast=23, slow=63
4.1%-43.8%0.280.091.3x2648%
볼린저 밴드 돌파
n=58, k=2.9
1.1%-9.8%0.220.111.1x23%
Donchian 채널 돌파
entryN=68, exitN=31
1.2%-36.1%0.160.031.1x1024%
Keltner 채널 돌파
emaPeriod=28, atrPeriod=27, mult=3.9
0.2%-6.3%0.080.031.0x22%
EMA 크로스오버
fast=24, slow=117
-1.1%-36.3%0.07-0.030.9x1635%
ADX / DI 방향성
period=39, threshold=15
-0.2%-30.4%0.05-0.011.0x1611%
Supertrend
period=12, mult=4.7
-7.9%-59.8%-0.11-0.130.6x2050%
Parabolic SAR
step=0.04, maxStep=0.38
-9.1%-65.1%-0.20-0.140.5x23649%
MACD
fast=9, slow=34, signal=8
-10.1%-69.2%-0.23-0.150.5x13650%
Buy and hold-9.1%-72.1%0.03-0.130.5x1100%
1x 2020 2021 2022 2023 2024 2025 2026 ROC 모멘텀Buy and hold
ROC 모멘텀: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -18% -36% -54% -72% 2020 2021 2022 2023 2024 2025 2026 Buy and holdROC 모멘텀
ROC 모멘텀 maximum drawdown -17.6% (2024-01-19 → 2024-04-02), prior peak not yet recovered.

Rules of the top strategy

Rides the trend when recent return (momentum) over a window is above a threshold.

Method and caveats

Past performance does not guarantee future returns. Parameters were selected on the same full-history sample using sharpe over 120 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