Skip to content
All library documents

Using Donchian Channels to Read Trends and Consolidation

Article MQL5 code base

Summary

Donchian Ultimate is a configurable channel indicator for MetaTrader and cTrader. Its classic form sets the upper and lower bands to the highest high and lowest low over a chosen lookback period. Alternative modes use period highs or lows of opens or closes, or averages that combine those prices. Users can also choose a bar shift, show support and resistance spans, and calculate a higher timeframe channel on a lower timeframe chart; lower timeframe selections are ignored.

The indicator can alert on midline crossings and closes inside the support or resistance zones. Its intended role is to show market context: rising upper bands can accompany a developing uptrend, while flattening bands can indicate consolidation. The document cautions that the channel alone does not generate buy or sell signals. It gives a qualitative illustration, but no performance tests, entry rules, or risk controls, so traders need a separate strategy to act on its readings.

Key ideas

  • The classic Donchian channel uses the period's highest high and lowest low as its boundaries.
  • Alternative calculations use opens, closes, or averages of those prices.
  • A higher timeframe channel can be displayed on a lower timeframe chart.
  • Band direction and flattening can help describe trend development and consolidation.
  • The indicator provides alerts but does not define a complete trading strategy.

Tags

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