Donchian Channel
Highest high and lowest low over N bars with a midline. Breaks of either edge are breakout entries; the midline is the first pullback level.
Donchian Channel
Definition
Highest high and lowest low over N bars with a midline. Breaks of either edge are breakout entries; the midline is the first pullback level.
Parameters
Asset, Lookback period (20), Line (upper | lower | middle)
Output range: Price scale
Example
`Price(AAPL) > Donchian(AAPL, 20, upper)` (Breakout)
Usage notes
The classic turtle 20/55 breakout system runs on this channel — middle is where failed breakouts retest.
Full indicator reference