Skip to content
All library documents

Donchian Channels for Price Levels and a Short-Term Sell Signal

Article MQL5 code base

Summary

The Donchian Channel is presented as a way to track price movement and trend while marking potential support and resistance. For a selected lookback of prior bars, the indicator calculates the highest high, lowest low, and their midpoint. The document gives 20 bars as the default lookback and notes that the period is the main parameter a user must set.

For a scalping example, it proposes opening a short position after a candle closes with its high touching the upper channel band. The note does not describe an exit, stop, position size, or conditions for avoiding a short during a strong uptrend. It provides no performance data or backtest, so the example is a rule to investigate rather than evidence of a profitable method. Channel touches can occur in different market conditions, and the document does not establish when this signal is reliable.

Key ideas

  • Donchian Channels use a lookback period to calculate the highest high and lowest low.
  • The midpoint of those extremes is also calculated.
  • The channel is described as showing potential support and resistance levels.
  • The example shorts after a candle closes with its high touching the upper band.
  • No exit rules or evidence of strategy performance are given.

Tags

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