← Strategy library
OfficialAdvanced (multi-factor)
Trend-Filtered Donchian Breakout — Bitcoin strategy backtest
Enters on a 20-day channel breakout above the 200-day line, trails the open position, exits at the 10-day low.
A curated strategy — a well-known mechanism with sensible risk management built in. Still not a recommendation — it's a mechanism you test yourself.
How this strategy works
- • Buys when Close price is above Moving average (SMA)(200) and Close price crosses above Donchian channel(20) upper.
- • Sells when Close price is below Donchian channel(10) lower.
- • Trails the stop 15% below the peak.
Run this exact strategy yourself — pick a window:
How this backtest works
- Data
- Yahoo Finance / Binance daily OHLC, split-adjusted. Recomputed on each run.
- Costs
- Commission + tiered slippage on every fill. No leverage.
- Execution
- Signals act on the next open after a bar closes — never on a price you couldn't have known.
- Look-ahead & survivorship
- Indicators use closed bars only; the forming bar is dropped. Survivorship is labelled, not hidden.
- Benchmark
- Measured against buy & hold of the same asset over the same window.
- What it isn't
- Not advice, not a prediction, no profit claim. I hold no funds and place no orders.