Trend-Following Backtester · Guide · Strategies 한국어
Strategies
Keltner channel breakout
Breaking above the channel top (average plus a multiple of volatility) signals an upside breakout.
The rules
- Buy — Buy when the close breaks above the 32-day average + 2.3× volatility (Keltner top)
- Sell — Sell when the close falls back to the 32-day average
Those numbers are the values optimized for Bitcoin. They differ per asset — the table below lists each.
There are 3 tunable values: emaPeriod, atrPeriod, mult. Fewer knobs make it harder to fit noise, so a count this low keeps overfitting risk relatively contained.
Results by asset
The same strategy across 5 very different assets, each over its full history, with parameters optimized per asset. It beat buy and hold on 3 of 5.
| Asset · parameters | CAGR | Hold CAGR | Max drawdown | Hold DD | Sharpe | Trades | Time in market |
|---|---|---|---|---|---|---|---|
| Bitcoin emaPeriod=32, atrPeriod=28, mult=2.3 |
74.8% | 43.0% | -37.5% | -86.8% | 1.67 | 47 | 33% |
| Ethereum emaPeriod=56, atrPeriod=21, mult=2 |
81.0% | 29.8% | -57.6% | -95.6% | 1.42 | 45 | 40% |
| XRP (Ripple) emaPeriod=10, atrPeriod=9, mult=0.7 |
103.7% | 28.3% | -47.0% | -95.9% | 1.29 | 174 | 27% |
| Samsung Electronics emaPeriod=136, atrPeriod=47, mult=4 |
9.1% | 15.2% | -39.6% | -64.8% | 0.51 | 48 | 40% |
| Apple (AAPL) emaPeriod=154, atrPeriod=8, mult=1.3 |
17.8% | 18.6% | -81.8% | -82.2% | 0.70 | 169 | 61% |
When this one works
Keltner channel breakout belongs to the trend-following family. All of them earn in sustained directional moves and bleed costs in range-bound markets. The trade count and time in market columns above show how each variant leans.