CFDs and forex are complex instruments and come with a high risk of losing money rapidly due to leverage. Risk disclosure

Donchian Channels Indicator Explained

This guide explains how Donchian Channels are built, how to add and read them, which settings traders adjust and where the indicator gives misleading pictures.

Extrade Pakistan editorial team ·

On this page
  1. What Donchian Channels show
  2. A drawn example
  3. Settings
  4. Adding Donchian Channels in MT4 and MT5
  5. Typical uses
  6. Where the indicator misleads
  7. Notes for experienced traders
  8. Frequent questions

What Donchian Channels show

Donchian Channels draw a band around price using only highs and lows. The indicator has an upper line, a lower line and usually a middle line:

N is the lookback period, the number of bars the indicator checks. When price makes a new high for that period, the upper line steps up. When nothing new happens, the line stays flat. This is why the channel looks like a staircase rather than a smooth curve.

For a beginner the simplest way to read it is this: the channel marks the full range price has covered over the chosen period. A touch of the upper line means price is at the top of that range. It does not mean price will keep rising or start falling.

Donchian 20
Donchian channels: the highest high and the lowest low of the last 20 bars; a new high or low pushes the channel out. Illustrative example: made-up numbers for learning, not real prices or a broker's conditions.

A drawn example

In the sketch, price ranges inside the channel and the lines stay flat. Then price pushes past the old high and the upper line follows it up. The lower line stays where it is until the old low drops out of the lookback window.

Settings

The indicator has one main input: the period. Many tools ship with a commonly used default period, and some versions let you choose separate periods for the upper and lower lines.

There is no correct setting. Test a choice on a demo account and across several market conditions before relying on it.

Adding Donchian Channels in MT4 and MT5

Donchian Channels are not among the standard indicators in the default MetaTrader lists. Traders usually add them as a custom indicator:

  1. Get the indicator file from a source you trust, such as the MetaTrader code library.
  2. In the terminal, open File, then Open Data Folder.
  3. Place the file in MQL4/Indicators or MQL5/Indicators.
  4. Restart the terminal or refresh the Navigator, then drag the indicator onto the chart.

Read the code or the description before use. Versions differ in whether the current bar is included, which matters for the edge cases below. See MetaTrader 4 and MetaTrader 5 for platform basics.

Typical uses

Where the indicator misleads

Notes for experienced traders

Leveraged forex and CFD trading can lose money fast. A channel breakout can reverse within the same bar.

Frequent questions

What is the Donchian channel indicator in simple words?

It is a band that marks the highest high and lowest low of the last N bars, with a midpoint line between them.

What are the best Donchian channel settings?

There is no best setting. Shorter periods react faster with more noise, and longer periods are slower and smoother. Test any choice on demo.

Is Donchian Channels built into MT4 or MT5?

Not in the default indicator lists. It is usually added as a custom indicator file.

Does the Donchian channel repaint?

Past values do not change. If the version includes the current bar, the latest value moves until the bar closes.

Does a touch of the upper line mean price will rise?

No. It only shows that price is at the high of the chosen period.

Related pages