Skip to content
All library documents

Donchian Channel Breakouts with Mid-Channel Exit Rules

Article FMZ digest · Author: 发明者量化-小小梦

Summary

This tutorial presents a Donchian Channel trend-following method based on the highest high and lowest low over a rolling lookback period. The midpoint is the average of those two channel boundaries. A close above the upper boundary opens a long position, while a close below the lower boundary opens a short. A position is closed when price crosses the midpoint against it. The walkthrough uses a 50-bar lookback and illustrates the calculations on five-minute commodity-futures data.

The article explains that channel width reflects recent price range and frames boundary breaks as signs of directional strength. It demonstrates calculating the channel and checking position state in a research environment, then notes that its position-management library is unavailable there and is needed for the trading operations in the platform. No strategy performance statistics or risk-adjusted results are provided. The method is a simple breakout example, and the document does not examine parameter sensitivity, transaction costs, slippage, or the possibility of false breakouts.

Key ideas

  • The upper and lower Donchian boundaries use the highest high and lowest low over a chosen lookback.
  • A close above the upper boundary signals a long entry, while a close below the lower boundary signals a short entry.
  • The channel midpoint serves as an exit level against an open position.
  • Channel width describes the recent range of prices but does not by itself establish direction.
  • The tutorial demonstrates implementation rather than providing evidence of profitability.

Tags

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