Skip to content
All library documents

Donchian Channel System Using Color-Change Signals at Bar Close

Article MQL5 code base

Summary

This document describes an Expert Advisor built around a Donchian channel indicator. It generates a signal when a bar closes with a colored indicator bar and the preceding bar was the opposite color or had no color. The description gives a simple rule for turning changes in the indicator state into trade signals, but does not specify position sizing, direction mapping, exit logic, or risk controls.

The cited test used the advisor’s default inputs on GBPJPY four-hour bars during 2015, without stop-loss or take-profit settings. The document refers to charts of deals and test results but supplies no numerical performance statistics in the text. Consequently, it offers only limited evidence for evaluating the method; the single market and period do not demonstrate robustness. The advisor also depends on a separately compiled indicator and a trading library, so the written description alone is not sufficient to reproduce the test.

Key ideas

  • A signal forms at bar close when an indicator’s colored bar follows an opposite-color or uncolored bar.
  • The described system relies on a Donchian channel indicator and an Expert Advisor.
  • The cited test covers GBPJPY four-hour data in 2015 using default inputs.
  • Stop-loss and take-profit settings were omitted from the described test.
  • The text gives no numerical performance results or evidence of robustness across markets and periods.

Tags

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