Trend-Following Backtester · Guide · backtest 한국어
equity · BR
TOTVS S.A. backtest
10 trend-following strategies were compared on the full daily history of TOTVS S.A.. 0 beat buy-and-hold CAGR; ADX / DI 방향성 ranks first by Sharpe, matching the main backtester.
Results by strategy
0 of 10 beat buy and hold (CAGR 14.0%, drawdown -51.5%).
Sharpe leader (same as main): ADX / DI 방향성 — CAGR 3.1%, MDD -16.9%, Sharpe 0.51, 5% exposure.
CAGR reference leader: SMA 크로스오버 — CAGR 9.9%, MDD -55.9%, exposure 59%.
No strategy retained at least 75% of buy-and-hold CAGR while reducing drawdown by both 20% relatively and 5 percentage points absolutely.
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 |
|---|---|---|---|---|---|---|---|
| ADX / DI 방향성 period=38, threshold=30 |
3.1% | -16.9% | 0.51 | 0.18 | 1.9x | 8 | 5% |
| SMA 크로스오버 fast=35, slow=97 |
9.9% | -55.9% | 0.49 | 0.18 | 7.0x | 51 | 59% |
| Donchian 채널 돌파 entryN=18, exitN=85 |
9.5% | -58.5% | 0.45 | 0.16 | 6.5x | 47 | 81% |
| Supertrend period=3, mult=3.8 |
8.3% | -60.4% | 0.44 | 0.14 | 5.2x | 89 | 61% |
| Keltner 채널 돌파 emaPeriod=51, atrPeriod=23, mult=3.9 |
5.0% | -46.0% | 0.43 | 0.11 | 2.7x | 26 | 17% |
| EMA 크로스오버 fast=55, slow=101 |
6.6% | -75.4% | 0.37 | 0.09 | 3.7x | 41 | 58% |
| 볼린저 밴드 돌파 n=56, k=3.5 |
2.8% | -25.1% | 0.35 | 0.11 | 1.7x | 10 | 7% |
| ROC 모멘텀 n=142, threshold=0.1 |
4.2% | -58.0% | 0.30 | 0.07 | 2.3x | 178 | 42% |
| MACD fast=17, slow=70, signal=28 |
4.1% | -58.5% | 0.29 | 0.07 | 2.3x | 177 | 51% |
| Parabolic SAR step=0.005, maxStep=0.26 |
1.7% | -71.3% | 0.19 | 0.02 | 1.4x | 185 | 54% |
| Buy and hold | 14.0% | -51.5% | 0.55 | 0.27 | 14.7x | 1 | 100% |
Rules of the top strategy
Looks at both the direction and the strength of the trend; holds only in a strong uptrend.
- Buy — Buy when up-direction (+DI) beats down-direction (−DI) and trend strength (ADX, 38-day) is ≥ 30
- Sell — Sell when direction flips or the trend weakens (ADX < 30)