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. 7 beat buy-and-hold CAGR; Keltner 채널 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Keltner 채널 돌파 (CAGR 1.2%, MDD -6.3%).

Data 2019-07-19 ~ 2026-07-31daily bars 1,768 (7.0 years)Costs 0.5%Venue XNASMonthly snapshot 2026-07-31

Results by strategy

7 of 10 beat buy and hold (CAGR -7.1%, drawdown -72.1%).

Sharpe leader (same as main): Keltner 채널 돌파 — CAGR 1.2%, MDD -6.3%, Sharpe 0.24, 4% exposure.

CAGR reference leader: SMA 크로스오버 — CAGR 1.7%, MDD -48.9%, exposure 48%.

Return/drawdown alternative: Keltner 채널 돌파 — CAGR is 8.3%p higher than buy and hold, while drawdown improves by 65.8%p (CAGR 1.2%, MDD -6.3%, exposure 4%).

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
Keltner 채널 돌파
emaPeriod=25, atrPeriod=18, mult=3.2
1.2%-6.3%0.240.181.1x44%
SMA 크로스오버
fast=28, slow=63
1.7%-48.9%0.200.041.1x2548%
Donchian 채널 돌파
entryN=66, exitN=49
-1.3%-37.9%0.05-0.030.9x1030%
ADX / DI 방향성
period=38, threshold=15
-0.5%-30.1%0.03-0.021.0x1611%
EMA 크로스오버
fast=34, slow=82
-2.4%-37.1%0.02-0.070.8x1639%
볼린저 밴드 돌파
n=30, k=2.8
-0.7%-22.2%-0.02-0.031.0x128%
ROC 모멘텀
n=31, threshold=0.12
-1.7%-38.3%-0.05-0.050.9x8415%
Supertrend
period=21, mult=4.8
-8.9%-62.8%-0.15-0.140.5x1950%
Parabolic SAR
step=0.04, maxStep=0.32
-7.9%-61.3%-0.16-0.130.6x22949%
MACD
fast=9, slow=34, signal=8
-9.5%-69.2%-0.20-0.140.5x13351%
Buy and hold-7.1%-72.1%0.08-0.100.6x1100%
1x 2020 2021 2022 2023 2024 2025 2026 SMA 크로스오버Keltner 채널 돌파Buy and hold
Keltner 채널 돌파 (Sharpe leader), SMA 크로스오버 (CAGR reference), Buy and hold.
0% -18% -36% -54% -72% 2020 2021 2022 2023 2024 2025 2026 Buy and holdSMA 크로스오버Keltner 채널 돌파
Keltner 채널 돌파 maximum drawdown -6.3% (2023-12-26 → 2024-01-08), prior peak not yet recovered.

Rules of the top strategy

Breaking above the channel top (average plus a multiple of volatility) signals an upside breakout.

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