SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · US

PagSeguro Digital Ltd. backtest

10 trend-following strategies were compared on the full daily history of PagSeguro Digital Ltd.. 10 beat buy-and-hold CAGR; Supertrend ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 2.8%, MDD -13.9%).

Data 2018-01-24 ~ 2026-08-31daily bars 2,162 (8.6 years)Costs 0.5%Venue XNYSMonthly snapshot 2026-08-31

Results by strategy

10 of 10 beat buy and hold (CAGR -12.8%, drawdown -90.0%).

Sharpe leader (same as main): Supertrend — CAGR 8.4%, MDD -43.7%, Sharpe 0.41, 44% exposure.

Return/drawdown alternative: ADX / DI 방향성 — CAGR is 21.2%p higher than buy and hold, while drawdown improves by 46.3%p (CAGR 2.8%, MDD -13.9%, exposure 5%).

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
Supertrend
period=16, mult=2.3
8.4%-43.7%0.410.192.0x7844%
ADX / DI 방향성
period=21, threshold=36
2.8%-13.9%0.350.201.3x65%
볼린저 밴드 돌파
n=22, k=3
4.1%-31.1%0.340.131.4x127%
Donchian 채널 돌파
entryN=52, exitN=40
4.1%-55.0%0.280.071.4x1839%
EMA 크로스오버
fast=23, slow=57
2.7%-54.8%0.250.051.3x2846%
Parabolic SAR
step=0.01, maxStep=0.36
1.2%-57.7%0.220.021.1x11347%
SMA 크로스오버
fast=34, slow=53
-2.3%-70.8%0.12-0.030.8x4146%
ROC 모멘텀
n=56, threshold=-0.03
-3.4%-55.5%0.10-0.060.7x10751%
Keltner 채널 돌파
emaPeriod=34, atrPeriod=12, mult=3.6
-0.4%-41.5%0.07-0.011.0x2015%
MACD
fast=16, slow=37, signal=16
-9.4%-75.0%-0.04-0.120.4x10648%
Buy and hold-12.8%-90.0%0.08-0.140.3x1100%
1x 2019 2020 2021 2022 2023 2024 2025 2026 SupertrendBuy and hold
Supertrend: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -23% -45% -68% -90% 2019 2020 2021 2022 2023 2024 2025 2026 Buy and holdSupertrend
Supertrend maximum drawdown -43.7% (2018-04-03 → 2019-01-15), recovered after 449 days.

Rules of the top strategy

Trades the direction of a volatility-based trend line that trails below/above price.

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 setupMore US assetsAll asset reports

Read next