Trend-Following Backtester · Guide · backtest 한국어

equity · US

Ameresco, Inc. backtest

10 trend-following strategies were compared on the full daily history of Ameresco, Inc.. 6 beat buy-and-hold CAGR; MACD ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Keltner 채널 돌파 (CAGR 4.7%, MDD -47.3%).

Data 2010-07-22 ~ 2026-07-31daily bars 4,031 (16.0 years)Costs 0.5%Venue XNYSMonthly snapshot 2026-07-31

Results by strategy

6 of 10 beat buy and hold (CAGR 4.6%, drawdown -91.1%).

Sharpe leader (same as main): MACD — CAGR 12.5%, MDD -57.8%, Sharpe 0.50, 51% exposure.

Return/drawdown alternative: Keltner 채널 돌파 — CAGR is 7.9%p higher than buy and hold, while drawdown improves by 33.3%p (CAGR 4.7%, MDD -47.3%, exposure 20%).

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
MACD
fast=23, slow=43, signal=17
12.5%-57.8%0.500.226.6x15251%
볼린저 밴드 돌파
n=13, k=3.3
2.1%-7.9%0.420.271.4x41%
Parabolic SAR
step=0.02, maxStep=0.14
7.2%-62.6%0.370.113.0x32052%
SMA 크로스오버
fast=45, slow=232
6.8%-65.7%0.360.102.9x3047%
Donchian 채널 돌파
entryN=70, exitN=18
5.9%-55.4%0.340.112.5x5029%
EMA 크로스오버
fast=60, slow=273
5.4%-69.1%0.320.082.3x1645%
ADX / DI 방향성
period=33, threshold=21
4.1%-37.3%0.320.111.9x2212%
Keltner 채널 돌파
emaPeriod=40, atrPeriod=12, mult=3.2
4.7%-47.3%0.320.102.1x4620%
Supertrend
period=21, mult=4.1
3.6%-78.4%0.280.051.8x6851%
ROC 모멘텀
n=142, threshold=0.02
-0.7%-78.4%0.16-0.010.9x12649%
Buy and hold4.6%-91.1%0.360.052.1x1100%
1x 2011 2013 2015 2017 2019 2021 2023 2025 MACDBuy and hold
MACD: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -23% -46% -68% -91% 2011 2013 2015 2017 2019 2021 2023 2025 Buy and holdMACD
MACD maximum drawdown -57.8% (2014-01-22 → 2016-11-04), recovered after 2,347 days.

Rules of the top strategy

Looks at the gap (MACD) between a short and long average crossing its own signal line.

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