Trend-Following Backtester · Guide · Strategies 한국어
Strategies
Supertrend
Trades the direction of a volatility-based trend line that trails below/above price.
The rules
- Buy — Buy when price moves above the trend line (flips up) — 1-day volatility, 5× band
- Sell — Sell when price drops below the trend line (flips down)
Those numbers are the values optimized for Bitcoin. They differ per asset — the table below lists each.
There are 2 tunable values: period, 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 period=1, mult=5 |
78.1% | 43.0% | -60.6% | -86.8% | 1.52 | 77 | 53% |
| Ethereum period=6, mult=2.3 |
114.7% | 29.8% | -44.3% | -95.6% | 1.68 | 93 | 48% |
| XRP (Ripple) period=8, mult=2.3 |
87.4% | 28.3% | -62.8% | -95.9% | 1.14 | 93 | 45% |
| Samsung Electronics period=21, mult=5 |
9.1% | 15.2% | -59.2% | -64.8% | 0.48 | 88 | 50% |
| Apple (AAPL) period=26, mult=3.4 |
18.1% | 18.6% | -55.7% | -82.2% | 0.72 | 280 | 57% |
When this one works
Supertrend 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.