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; EMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Donchian 채널 돌파 (CAGR 15.0%, MDD -50.4%).

Data 2008-08-06 ~ 2026-07-31daily bars 4,524 (18.0 years)Costs 0.5%Venue XNYSMonthly snapshot 2026-07-31

Results by strategy

3 of 10 beat buy and hold (CAGR 14.5%, drawdown -70.3%).

Sharpe leader (same as main): EMA 크로스오버 — CAGR 16.7%, MDD -60.1%, Sharpe 0.66, 58% exposure.

Return/drawdown alternative: Donchian 채널 돌파 — CAGR is 2.2%p higher than buy and hold, while drawdown improves by 10.1%p (CAGR 15.0%, MDD -50.4%, exposure 49%).

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 · parametersCAGRMDDSharpeCalmarTotalTradesExposure
EMA 크로스오버
fast=42, slow=58
16.7%-60.1%0.660.2816.0x4858%
볼린저 밴드 돌파
n=37, k=3
9.5%-37.1%0.650.265.1x3618%
SMA 크로스오버
fast=28, slow=126
16.2%-60.8%0.650.2714.9x4458%
Donchian 채널 돌파
entryN=68, exitN=46
15.0%-50.4%0.640.3012.3x3049%
ROC 모멘텀
n=122, threshold=-0.01
11.6%-58.2%0.520.207.3x8861%
Supertrend
period=28, mult=3.2
10.4%-72.7%0.490.146.0x9059%
Keltner 채널 돌파
emaPeriod=59, atrPeriod=15, mult=3.2
7.3%-53.1%0.430.143.6x4629%
ADX / DI 방향성
period=28, threshold=9
7.1%-66.6%0.400.113.4x23450%
MACD
fast=30, slow=58, signal=24
6.7%-75.3%0.370.093.2x13853%
Parabolic SAR
step=0.025, maxStep=0.38
-2.3%-61.3%0.09-0.040.7x44155%
Buy and hold14.5%-70.3%0.540.2111.4x1100%
1x 10x 2009 2012 2015 2018 2021 2024 EMA 크로스오버Buy and hold
EMA 크로스오버: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -18% -35% -53% -70% 2009 2012 2015 2018 2021 2024 Buy and holdEMA 크로스오버
EMA 크로스오버 maximum drawdown -60.1% (2014-01-15 → 2020-07-31), recovered after 2,612 days.

Rules of the top strategy

Uses two exponential averages (more weight on recent prices) and trades their crossover.

Method and caveats

Past performance does not guarantee future returns. Parameters were carried forward from the latest full optimization and replayed on this monthly dataset. 0.5% trading costs are included; taxes, slippage and rejected orders are not.
Re-optimize the same period and setupAll asset reports

Read next