Skip to content
All library documents

Donchian Channel Midline Crossovers with ATR-Based Stops

Article Strategy library · Author: ChaoZhang

Summary

This trend-following system combines Donchian channel levels with ATR-based stop placement and trades both long and short. The channel is calculated from recent highs and lows, with a 20-period setting described. The prose first characterizes entries as breaks beyond the upper or lower channel, then specifies signals when price crosses the channel midpoint; the provided logic likewise enters on midpoint crosses. Stops are based on recent swing levels adjusted by a fraction of ATR, while opposing midpoint crosses can close positions.

The document presents the approach as an automated way to follow changing trends and control trade losses. It warns that reversals can create false signals and that the channel and ATR periods are empirical choices requiring validation. Suggested additions include trend filters, candle or volume confirmation, and parameter tuning. Published settings specify BTC/USDT futures on a two-hour chart with a 15-minute base period over December 2023. No strategy performance statistics are included, and the implementation details do not fully match the prose description of channel-edge entries and ATR stops.

Key ideas

  • The strategy uses Donchian channel levels to define a dynamic price range and a midpoint reference.
  • The prose describes channel-edge breakouts, while its signal rules and code use midpoint crossovers.
  • ATR-adjusted recent swing levels provide stop conditions, and opposing midpoint crosses can close positions.
  • The rules trade in both directions but may produce false signals around trend reversals.
  • The document recommends validating empirical parameters and considering trend, candle, or volume filters.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.