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.9%, MDD -13.9%).
Results by strategy
10 of 10 beat buy and hold (CAGR -12.3%, drawdown -90.0%).
Sharpe leader (same as main): Supertrend — CAGR 9.6%, MDD -43.7%, Sharpe 0.44, 45% exposure.
Return/drawdown alternative: ADX / DI 방향성 — CAGR is 21.9%p higher than buy and hold, while drawdown improves by 46.3%p (CAGR 2.9%, 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 · parameters | CAGR | MDD | Sharpe | Calmar | Total | Trades | Exposure |
|---|---|---|---|---|---|---|---|
| Supertrend period=16, mult=2.3 |
9.6% | -43.7% | 0.44 | 0.22 | 2.2x | 77 | 45% |
| ADX / DI 방향성 period=21, threshold=36 |
2.9% | -13.9% | 0.35 | 0.21 | 1.3x | 6 | 5% |
| 볼린저 밴드 돌파 n=22, k=3 |
4.1% | -31.1% | 0.34 | 0.13 | 1.4x | 12 | 7% |
| Donchian 채널 돌파 entryN=52, exitN=40 |
5.8% | -50.4% | 0.34 | 0.12 | 1.6x | 17 | 39% |
| EMA 크로스오버 fast=23, slow=57 |
3.6% | -53.6% | 0.27 | 0.07 | 1.3x | 26 | 46% |
| Parabolic SAR step=0.01, maxStep=0.36 |
2.0% | -57.7% | 0.24 | 0.03 | 1.2x | 111 | 47% |
| SMA 크로스오버 fast=34, slow=53 |
-1.5% | -70.5% | 0.14 | -0.02 | 0.9x | 41 | 45% |
| ROC 모멘텀 n=56, threshold=-0.03 |
-2.9% | -55.5% | 0.11 | -0.05 | 0.8x | 105 | 50% |
| Keltner 채널 돌파 emaPeriod=34, atrPeriod=12, mult=3.6 |
-0.4% | -41.5% | 0.07 | -0.01 | 1.0x | 20 | 15% |
| MACD fast=16, slow=37, signal=16 |
-8.5% | -75.0% | -0.02 | -0.11 | 0.5x | 105 | 48% |
| Buy and hold | -12.3% | -90.0% | 0.09 | -0.14 | 0.3x | 1 | 100% |
Rules of the top strategy
Trades the direction of a volatility-based trend line that trails below/above price.
- Buy — Buy when price moves above the trend line (flips up) — 16-day volatility, 2.3× band
- Sell — Sell when price drops below the trend line (flips down)