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; 볼린저 밴드 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Keltner 채널 돌파 (CAGR 1.9%, MDD -7.7%).
Results by strategy
10 of 10 beat buy and hold (CAGR -12.8%, drawdown -90.0%).
Sharpe leader (same as main): 볼린저 밴드 돌파 — CAGR 5.0%, MDD -31.1%, Sharpe 0.41, 7% exposure.
CAGR reference leader: Supertrend — CAGR 7.5%, MDD -43.7%, exposure 45%.
Return/drawdown alternative: Keltner 채널 돌파 — CAGR is 17.8%p higher than buy and hold, while drawdown improves by 58.9%p (CAGR 1.9%, MDD -7.7%, 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 · parameters | CAGR | MDD | Sharpe | Calmar | Total | Trades | Exposure |
|---|---|---|---|---|---|---|---|
| 볼린저 밴드 돌파 n=21, k=3 |
5.0% | -31.1% | 0.41 | 0.16 | 1.5x | 10 | 7% |
| Supertrend period=16, mult=2.3 |
7.5% | -43.7% | 0.38 | 0.17 | 1.9x | 80 | 45% |
| Keltner 채널 돌파 emaPeriod=16, atrPeriod=22, mult=4 |
1.9% | -7.7% | 0.37 | 0.25 | 1.2x | 2 | 2% |
| ADX / DI 방향성 period=21, threshold=36 |
2.8% | -13.9% | 0.35 | 0.20 | 1.3x | 6 | 5% |
| SMA 크로스오버 fast=13, slow=33 |
3.5% | -62.5% | 0.28 | 0.06 | 1.4x | 65 | 48% |
| Parabolic SAR step=0.01, maxStep=0.18 |
1.7% | -57.7% | 0.23 | 0.03 | 1.2x | 114 | 47% |
| Donchian 채널 돌파 entryN=51, exitN=67 |
2.0% | -62.4% | 0.23 | 0.03 | 1.2x | 17 | 46% |
| EMA 크로스오버 fast=27, slow=50 |
1.1% | -60.3% | 0.21 | 0.02 | 1.1x | 29 | 46% |
| ROC 모멘텀 n=37, threshold=0.16 |
1.9% | -49.1% | 0.20 | 0.04 | 1.2x | 88 | 21% |
| MACD fast=16, slow=34, signal=18 |
-9.1% | -74.0% | -0.03 | -0.12 | 0.4x | 108 | 48% |
| Buy and hold | -12.8% | -90.0% | 0.07 | -0.14 | 0.3x | 1 | 100% |
Rules of the top strategy
Breaking above the upper band (average plus a multiple of volatility) signals a strong move up.
- Buy — Buy when the close breaks above the upper band of the 21-day average (3× volatility)
- Sell — Sell when the close falls back to the 21-day middle average