Trend-Following Backtester · Guide · backtest 한국어
equity · US
TXNM Energy, Inc. backtest
10 trend-following strategies were compared on the full daily history of TXNM Energy, Inc.. 4 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is SMA 크로스오버 (CAGR 4.5%, MDD -44.0%).
Results by strategy
4 of 10 beat buy and hold (CAGR 2.5%, drawdown -81.8%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 4.5%, MDD -44.0%, Sharpe 0.35, 60% exposure.
Return/drawdown alternative: SMA 크로스오버 — CAGR is 2.0%p higher than buy and hold, while drawdown improves by 37.7%p (CAGR 4.5%, MDD -44.0%, exposure 60%).
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=11, slow=216 |
4.5% | -44.0% | 0.35 | 0.10 | 10.6x | 109 | 60% |
| Donchian 채널 돌파 entryN=69, exitN=75 |
3.7% | -46.9% | 0.30 | 0.08 | 6.9x | 88 | 61% |
| 볼린저 밴드 돌파 n=29, k=3 |
1.9% | -23.3% | 0.30 | 0.08 | 2.8x | 74 | 9% |
| EMA 크로스오버 fast=91, slow=98 |
3.6% | -49.5% | 0.29 | 0.07 | 6.6x | 68 | 61% |
| ROC 모멘텀 n=128, threshold=-0.1 |
3.1% | -55.1% | 0.26 | 0.06 | 5.2x | 249 | 78% |
| Supertrend period=24, mult=5 |
1.6% | -70.0% | 0.18 | 0.02 | 2.4x | 164 | 58% |
| Keltner 채널 돌파 emaPeriod=97, atrPeriod=10, mult=3 |
1.4% | -47.6% | 0.17 | 0.03 | 2.2x | 154 | 39% |
| ADX / DI 방향성 period=36, threshold=33 |
0.2% | -5.5% | 0.15 | 0.03 | 1.1x | 4 | 1% |
| Parabolic SAR step=0.005, maxStep=0.34 |
-0.4% | -63.1% | 0.06 | -0.01 | 0.8x | 425 | 53% |
| MACD fast=19, slow=59, signal=17 |
-4.3% | -90.7% | -0.15 | -0.05 | 0.1x | 585 | 50% |
| Buy and hold | 2.5% | -81.8% | 0.23 | 0.03 | 3.8x | 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 11-day average price crosses above the 216-day average
- Sell — Sell (to cash) when the 11-day average falls below the 216-day average