Trend-Following Backtester · Guide · backtest 한국어
equity · US
Middlesex Water Company backtest
10 trend-following strategies were compared on the full daily history of Middlesex Water Company. 0 beat buy-and-hold CAGR; ADX / DI 방향성 ranks first by Sharpe, matching the main backtester.
Results by strategy
0 of 10 beat buy and hold (CAGR 6.3%, drawdown -61.9%).
Sharpe leader (same as main): ADX / DI 방향성 — CAGR 2.4%, MDD -36.0%, Sharpe 0.32, 24% exposure.
CAGR reference leader: SMA 크로스오버 — CAGR 4.5%, MDD -44.0%, exposure 61%.
No strategy retained at least 75% of buy-and-hold CAGR while reducing drawdown by both 20% relatively and 5 percentage points absolutely.
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 |
|---|---|---|---|---|---|---|---|
| ADX / DI 방향성 period=45, threshold=33 |
2.4% | -36.0% | 0.32 | 0.07 | 3.5x | 6 | 24% |
| SMA 크로스오버 fast=77, slow=189 |
4.5% | -44.0% | 0.31 | 0.10 | 10.7x | 83 | 61% |
| EMA 크로스오버 fast=57, slow=179 |
3.2% | -56.1% | 0.25 | 0.06 | 5.4x | 75 | 63% |
| Donchian 채널 돌파 entryN=149, exitN=98 |
2.8% | -54.2% | 0.24 | 0.05 | 4.4x | 49 | 47% |
| Supertrend period=13, mult=4.6 |
-0.5% | -77.4% | 0.09 | -0.01 | 0.8x | 138 | 63% |
| 볼린저 밴드 돌파 n=21, k=3.5 |
-0.0% | -38.6% | 0.03 | -0.00 | 1.0x | 40 | 4% |
| Keltner 채널 돌파 emaPeriod=13, atrPeriod=29, mult=4 |
-0.3% | -29.3% | -0.02 | -0.01 | 0.9x | 14 | 1% |
| Parabolic SAR step=0.01, maxStep=0.16 |
-4.5% | -98.3% | -0.11 | -0.05 | 0.1x | 666 | 51% |
| ROC 모멘텀 n=9, threshold=0.14 |
-1.1% | -47.7% | -0.13 | -0.02 | 0.6x | 62 | 0% |
| MACD fast=24, slow=59, signal=31 |
-10.3% | -99.9% | -0.40 | -0.10 | 0.0x | 542 | 50% |
| Buy and hold | 6.3% | -61.9% | 0.35 | 0.10 | 26.8x | 1 | 100% |
Rules of the top strategy
Looks at both the direction and the strength of the trend; holds only in a strong uptrend.
- Buy — Buy when up-direction (+DI) beats down-direction (−DI) and trend strength (ADX, 45-day) is ≥ 33
- Sell — Sell when direction flips or the trend weakens (ADX < 33)