Price Channel (Donchian Channel)
Category: trend, volatility
Calculates the highest high and lowest low over a specified lookback period, forming a channel that identifies breakouts and trend direction.
Formula
\begin{cases} Upper = \max(High, n) \\ Lower = \min(Low, n) \\ Middle = \frac{Upper + Lower}{2} \end{cases}
Inputs
- ChannelPeriod (default: 14)
See signal primitives, usage in published strategies and more on WOBR StrategyVerse.