Trend-Following Backtester · Guide · backtest 한국어
equity · US
CNX Resources Corporation backtest
10 trend-following strategies were compared on the full daily history of CNX Resources Corporation. 4 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ROC 모멘텀 (CAGR 9.7%, MDD -54.2%).
Results by strategy
4 of 10 beat buy and hold (CAGR 6.2%, drawdown -95.7%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 10.8%, MDD -61.1%, Sharpe 0.48, 56% exposure.
Return/drawdown alternative: ROC 모멘텀 — CAGR is 4.6%p higher than buy and hold, while drawdown improves by 34.7%p (CAGR 9.7%, MDD -54.2%, exposure 53%).
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=23, slow=185 |
10.8% | -61.1% | 0.48 | 0.18 | 16.6x | 44 | 56% |
| EMA 크로스오버 fast=63, slow=85 |
10.0% | -66.0% | 0.45 | 0.15 | 13.7x | 46 | 57% |
| ROC 모멘텀 n=126, threshold=0.04 |
9.7% | -54.2% | 0.45 | 0.18 | 12.7x | 206 | 53% |
| Donchian 채널 돌파 entryN=60, exitN=47 |
8.9% | -63.5% | 0.43 | 0.14 | 10.4x | 54 | 49% |
| Supertrend period=23, mult=4.7 |
3.0% | -84.5% | 0.26 | 0.04 | 2.3x | 96 | 54% |
| 볼린저 밴드 돌파 n=31, k=3.5 |
1.5% | -26.2% | 0.21 | 0.06 | 1.5x | 14 | 3% |
| ADX / DI 방향성 period=37, threshold=7 |
0.9% | -83.8% | 0.20 | 0.01 | 1.3x | 344 | 54% |
| Keltner 채널 돌파 emaPeriod=38, atrPeriod=20, mult=3.3 |
1.6% | -45.4% | 0.18 | 0.04 | 1.5x | 74 | 18% |
| MACD fast=10, slow=58, signal=6 |
-5.1% | -97.0% | 0.05 | -0.05 | 0.2x | 584 | 52% |
| Parabolic SAR step=0.015, maxStep=0.12 |
-5.8% | -94.3% | 0.01 | -0.06 | 0.2x | 500 | 52% |
| Buy and hold | 6.2% | -95.7% | 0.38 | 0.06 | 5.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 23-day average price crosses above the 185-day average
- Sell — Sell (to cash) when the 23-day average falls below the 185-day average