Trend-Following Backtester · Guide · backtest 한국어
equity · US
MasTec, Inc. backtest
10 trend-following strategies were compared on the full daily history of MasTec, Inc.. 9 beat buy-and-hold CAGR; 볼린저 밴드 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 6.3%, MDD -47.6%).
Results by strategy
9 of 10 beat buy and hold (CAGR 5.3%, drawdown -97.7%).
Sharpe leader (same as main): 볼린저 밴드 돌파 — CAGR 9.9%, MDD -54.0%, Sharpe 0.51, 20% exposure.
CAGR reference leader: EMA 크로스오버 — CAGR 11.1%, MDD -68.4%, exposure 52%.
Return/drawdown alternative: ADX / DI 방향성 — CAGR is 4.6%p higher than buy and hold, while drawdown improves by 43.7%p (CAGR 6.3%, MDD -47.6%, exposure 10%).
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=25, k=2.7 |
9.9% | -54.0% | 0.51 | 0.18 | 158.9x | 210 | 20% |
| Donchian 채널 돌파 entryN=110, exitN=61 |
11.0% | -73.7% | 0.51 | 0.15 | 273.3x | 68 | 38% |
| EMA 크로스오버 fast=36, slow=222 |
11.1% | -68.4% | 0.48 | 0.16 | 277.9x | 68 | 52% |
| ADX / DI 방향성 period=27, threshold=27 |
6.3% | -47.6% | 0.44 | 0.13 | 26.2x | 94 | 10% |
| Keltner 채널 돌파 emaPeriod=39, atrPeriod=20, mult=4 |
6.9% | -54.7% | 0.43 | 0.13 | 36.2x | 108 | 17% |
| SMA 크로스오버 fast=20, slow=214 |
9.4% | -82.4% | 0.43 | 0.11 | 123.5x | 104 | 53% |
| ROC 모멘텀 n=74, threshold=0.05 |
8.5% | -86.2% | 0.41 | 0.10 | 77.4x | 554 | 46% |
| Supertrend period=1, mult=3.2 |
8.6% | -97.0% | 0.40 | 0.09 | 83.8x | 588 | 50% |
| MACD fast=25, slow=39, signal=28 |
8.4% | -90.7% | 0.40 | 0.09 | 76.4x | 444 | 51% |
| Parabolic SAR step=0.015, maxStep=0.22 |
3.0% | -90.8% | 0.27 | 0.03 | 4.9x | 844 | 50% |
| Buy and hold | 5.3% | -97.7% | 0.38 | 0.05 | 15.7x | 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 25-day average (2.7× volatility)
- Sell — Sell when the close falls back to the 25-day middle average