Trend-Following Backtester · Guide · backtest 한국어
equity · US
Primoris Services Corporation backtest
10 trend-following strategies were compared on the full daily history of Primoris Services Corporation. 3 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is SMA 크로스오버 (CAGR 18.1%, MDD -54.9%).
Results by strategy
3 of 10 beat buy and hold (CAGR 13.6%, drawdown -70.3%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 18.1%, MDD -54.9%, Sharpe 0.70, 58% exposure.
Return/drawdown alternative: SMA 크로스오버 — CAGR is 4.5%p higher than buy and hold, while drawdown improves by 15.4%p (CAGR 18.1%, MDD -54.9%, exposure 58%).
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=17, slow=113 |
18.1% | -54.9% | 0.70 | 0.33 | 20.5x | 52 | 58% |
| EMA 크로스오버 fast=39, slow=58 |
16.6% | -62.7% | 0.66 | 0.27 | 16.3x | 50 | 58% |
| Donchian 채널 돌파 entryN=55, exitN=48 |
15.6% | -58.0% | 0.65 | 0.27 | 13.8x | 32 | 53% |
| 볼린저 밴드 돌파 n=40, k=2.9 |
9.0% | -30.8% | 0.60 | 0.29 | 4.8x | 38 | 19% |
| Keltner 채널 돌파 emaPeriod=61, atrPeriod=29, mult=3.5 |
9.4% | -54.1% | 0.52 | 0.17 | 5.1x | 36 | 27% |
| ROC 모멘텀 n=144, threshold=-0.01 |
11.2% | -52.4% | 0.51 | 0.21 | 6.8x | 94 | 60% |
| Supertrend period=16, mult=3.4 |
11.0% | -68.2% | 0.51 | 0.16 | 6.6x | 80 | 56% |
| ADX / DI 방향성 period=35, threshold=11 |
8.8% | -64.9% | 0.47 | 0.14 | 4.6x | 156 | 43% |
| MACD fast=18, slow=56, signal=19 |
-1.4% | -76.0% | 0.13 | -0.02 | 0.8x | 195 | 52% |
| Parabolic SAR step=0.025, maxStep=0.42 |
-2.9% | -61.3% | 0.07 | -0.05 | 0.6x | 444 | 55% |
| Buy and hold | 13.6% | -70.3% | 0.52 | 0.19 | 10.1x | 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 17-day average price crosses above the 113-day average
- Sell — Sell (to cash) when the 17-day average falls below the 113-day average