Skip to content
All library documents

Donchian Midline Trend Entries with ATR-Based Trailing Stops

Article Strategy library · Author: ChaoZhang

Summary

The strategy uses a 20-period Donchian Channel midline, calculated from the midpoint of recent high and low bounds, to set direction. It enters long when price crosses above the midline and short when price crosses below it. Exits use stops based on the recent three bars: the long stop sits below the lowest low by one third of ATR, while the short stop sits above the highest high by one third of ATR.

The document explains the intended role of the channel in identifying direction and ATR in adapting stops to volatility. It provides a BTC/USDT futures test configuration over about a week but reports no performance figures, so it offers no evidence that the rules deliver the claimed trend capture or profit protection. The source also contains inconsistencies: its channel bounds use closing prices rather than highs and lows, and the stop calculation hard-codes a 20-period ATR even though an ATR length is configurable. The stated limitations include channel lag, false signals in consolidation, sensitivity to ATR settings, and unfiltered entry timing.

Key ideas

  • A 20-period Donchian midline defines the direction for long and short entries.
  • Positions open when price crosses the midline and exit at stops based on recent three-bar extremes and ATR.
  • The described stop adds volatility adjustment using one third of ATR.
  • The source uses closing-price channel bounds and a fixed ATR length in the stop calculation, despite configurable inputs.
  • The short test configuration gives no reported performance evidence, and sideways markets may create false signals.

Tags

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