Donchian Channels in Crypto: Why the Value Changes Before Candle Close
Donchian Channels are the highest high and lowest low of the last N bars. Whether that window includes the live bar decides if a 'breakout' is even possible.
Short answer
Donchian upper = highest high of N bars, lower = lowest low. If the live bar is included, a new high simply moves the upper band with price, so price can never close above it; breakout rules therefore usually compare price with the channel of the previous N completed bars. Check which convention your chart uses. Live-bar inclusion also means the channel itself changes intrabar whenever a new extreme prints.
Which part of Donchian Channels uses the live bar
| Component | Uses current bar? | Effect intrabar |
|---|---|---|
| Highest high (N) | Depends on convention | Moves on new high if live included |
| Lowest low (N) | Depends | Same |
| Breakout rule | Prior N bars | Fixed during bar |
With the live bar excluded, the bands are fixed for the whole bar, so breakout signals are clean — but must still be confirmed at the close if the rule requires a close.
Test Donchian Channels in Crypto on a perpetual chart; no account is needed to chart.
Launch ChartsPodHow much it moves inside one bar
Rules
Breakout testing is covered in Volume Breakout Filter Backtest in Crypto: Fees, Slippage and Break-Even Costs.
See Donchian Channels in Crypto on live data in the free ChartsPod terminal.
Open the ChartsPod terminalQuestions readers ask
Do Donchian Channels include the current bar?
Conventions differ; check your chart.
Why can't price close above the channel?
If the live bar is included, the channel moves with it.
Which convention for breakouts?
Prior N completed bars.
Sources and methodology
Indicator formulas are standard definitions; live-versus-closed behaviour follows TradingView's repainting documentation. Values in examples are illustrative.
- TradingView Pine Script: Repainting — live vs historical calculation.
- ChartsPod indicator reference — indicator calculations.
- TradingView Pine Script: Strategies — simulated fills and assumptions.
This article explains research tools and workflows. It is not financial advice, does not recommend buying or selling any asset and does not predict prices. Crypto derivatives carry a risk of rapid and total loss of margin.
CHARTSPOD EDITORIAL EDITION · RESEARCH AND EDUCATION ONLY · NOT FINANCIAL ADVICE.