Trend-Following Backtester · Guide · backtest 한국어
equity · US
Trex Company, Inc. backtest
10 trend-following strategies were compared on the full daily history of Trex Company, Inc.. 0 beat buy-and-hold CAGR; Supertrend ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is EMA 크로스오버 (CAGR 10.7%, MDD -61.7%).
Results by strategy
0 of 10 beat buy and hold (CAGR 13.2%, drawdown -90.5%).
Sharpe leader (same as main): Supertrend — CAGR 10.8%, MDD -68.1%, Sharpe 0.47, 53% exposure.
CAGR reference leader: ROC 모멘텀 — CAGR 11.0%, MDD -72.4%, exposure 71%.
Return/drawdown alternative: EMA 크로스오버 — CAGR is 2.4%p lower than buy and hold, while drawdown improves by 22.4%p (CAGR 10.7%, MDD -61.7%, exposure 60%).
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=6, mult=3.2 |
10.8% | -68.1% | 0.47 | 0.16 | 16.9x | 186 | 53% |
| ROC 모멘텀 n=97, threshold=-0.09 |
11.0% | -72.4% | 0.46 | 0.15 | 17.7x | 197 | 71% |
| EMA 크로스오버 fast=45, slow=138 |
10.7% | -61.7% | 0.46 | 0.17 | 16.3x | 43 | 60% |
| Parabolic SAR step=0.01, maxStep=0.16 |
9.0% | -75.3% | 0.42 | 0.12 | 10.7x | 351 | 52% |
| Donchian 채널 돌파 entryN=22, exitN=83 |
8.6% | -85.2% | 0.41 | 0.10 | 9.6x | 65 | 77% |
| SMA 크로스오버 fast=23, slow=187 |
8.4% | -63.7% | 0.40 | 0.13 | 9.1x | 59 | 59% |
| Keltner 채널 돌파 emaPeriod=23, atrPeriod=20, mult=2.3 |
3.6% | -68.4% | 0.27 | 0.05 | 2.6x | 158 | 28% |
| 볼린저 밴드 돌파 n=57, k=2.2 |
3.1% | -58.5% | 0.25 | 0.05 | 2.3x | 98 | 33% |
| MACD fast=24, slow=51, signal=20 |
0.7% | -92.5% | 0.20 | 0.01 | 1.2x | 250 | 52% |
| ADX / DI 방향성 period=23, threshold=12 |
0.7% | -94.1% | 0.19 | 0.01 | 1.2x | 358 | 49% |
| Buy and hold | 13.2% | -90.5% | 0.50 | 0.15 | 30.5x | 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) — 6-day volatility, 3.2× band
- Sell — Sell when price drops below the trend line (flips down)