Donchian Channel Trend Entries with ATR-Based Risk Controls
Summary
The strategy uses Donchian channels of different lengths to trade breakouts. A longer lookback identifies major direction, while a shorter channel supplies an opposing-boundary exit. The described method also sizes positions from a chosen equity risk and an ATR-based stop distance; the source exposes controls for long and short trades, stop use, and closing at the end of a trading window.
The document highlights trend capture and volatility-scaled stops, but notes that sideways markets can generate repeated losing trades, gaps can pass stop levels, and historical ATR may misstate future volatility. The included BTC futures backtest settings cover only a brief period, and no performance statistics are supplied. There is also a discrepancy between description and implementation: the code enters when the current close equals the rolling channel extreme, and the purported end-of-window closure is inactive because its trading-window flag is always true. Results and live execution behavior therefore remain unsubstantiated.
Key ideas
- Long and short entries are based on closing at rolling Donchian extremes.
- Shorter channel extremes can close open positions against the trade direction.
- Position quantity is calculated from an equity risk fraction and an ATR-scaled stop distance.
- Sideways conditions, price gaps, and ATR's dependence on past data can undermine risk control.
- Published settings include a short BTC futures period, but no results are provided.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.