Trend-Following Backtester · Guide · backtest 한국어
equity · US
Builders FirstSource, Inc. backtest
10 trend-following strategies were compared on the full daily history of Builders FirstSource, Inc.. 8 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Keltner 채널 돌파 (CAGR 11.7%, MDD -58.5%).
Results by strategy
8 of 10 beat buy and hold (CAGR 7.0%, drawdown -96.8%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 20.6%, MDD -64.5%, Sharpe 0.66, 52% exposure.
Return/drawdown alternative: Keltner 채널 돌파 — CAGR is 13.6%p higher than buy and hold, while drawdown improves by 32.3%p (CAGR 11.7%, MDD -58.5%, exposure 39%).
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 |
|---|---|---|---|---|---|---|---|
| SMA 크로스오버 fast=12, slow=118 |
20.6% | -64.5% | 0.66 | 0.32 | 54.0x | 60 | 52% |
| EMA 크로스오버 fast=32, slow=72 |
18.0% | -62.4% | 0.60 | 0.29 | 33.7x | 54 | 52% |
| 볼린저 밴드 돌파 n=84, k=1.1 |
16.7% | -60.5% | 0.59 | 0.28 | 26.7x | 72 | 43% |
| Donchian 채널 돌파 entryN=45, exitN=67 |
18.1% | -73.2% | 0.58 | 0.25 | 34.2x | 38 | 61% |
| Keltner 채널 돌파 emaPeriod=70, atrPeriod=8, mult=2 |
11.7% | -58.5% | 0.48 | 0.20 | 10.5x | 90 | 39% |
| ROC 모멘텀 n=88, threshold=-0.03 |
12.3% | -81.3% | 0.48 | 0.15 | 11.9x | 192 | 56% |
| MACD fast=28, slow=36, signal=37 |
10.9% | -62.4% | 0.45 | 0.17 | 9.0x | 162 | 51% |
| Supertrend period=8, mult=5 |
10.2% | -82.4% | 0.44 | 0.12 | 7.9x | 60 | 54% |
| ADX / DI 방향성 period=21, threshold=8 |
5.1% | -76.7% | 0.33 | 0.07 | 2.9x | 318 | 54% |
| Parabolic SAR step=0.015, maxStep=0.24 |
0.3% | -77.1% | 0.23 | 0.00 | 1.1x | 384 | 52% |
| Buy and hold | 7.0% | -96.8% | 0.43 | 0.07 | 4.2x | 1 | 100% |
Rules of the top strategy
When the short average rises above the long average, it reads that as an uptrend starting.
- Buy — Buy when the 12-day average price crosses above the 118-day average
- Sell — Sell (to cash) when the 12-day average falls below the 118-day average