The Donchian Channel Breakout strategy is one of the cleanest examples of rule-based trading. It has a clear origin in trend-following history, it uses objective price levels, and it can be translated into automation rules without much interpretation.
.webp)
Richard Donchian, the creator of the Donchian Channels indicator, became a popular trader for his views on mechanical systems. Richard Donchian believed that traders should not rely on emotions, guesswork, and discretion. He believed that following clear, mechanical rules increases your chances of winning and that such an approach leads to more consistent trading behavior.
Similar to the famous Turtle Trading approach, the Donchian system relies on objective rules to specify potential breakouts and the direction of trend.
However, we figured that a reverse approach works just as well for this Donchian Strategy and thus we'll also be discussing a Mean Reversion Donchian Channel Strategy, just like we do in our most recent Youtube Video.
Disclaimer: Templates are for educational purposes only!
👉 Get the Donchian Channel Automation Template → Donchian Channel Profectus Template
This template is designed to run on the Daily Timeframe
A Donchian Channel is a technical indicator that simply shows the highest and lowest prices reached over a period of historical candles. A 20-period Donchian Channel shows the highest high and lowest low of the last 20 candles.
The upper channel marks the highest price reached during the last 20 candles.
The lower channel marks the lowest price reached during the last 20 candles.
The Donchian-style breakout refers to price breaking above the upper channel, or below the lower channel, confirming a breakout and continuation of the trend.
You can watch our full Donchian Channel Youtube video here.
The Donchian Channel Strategy is all about looking for breakouts and trend continuations.
When price breaks above the upper Donchian Channel, the market may be starting or continuing an uptrend. A buy trade is considered.
When price breaks below the lower Donchian Channel, the market may be starting or continuing a downtrend. A sell trade is considered.
This is the most basic rule set, but it has proven valuable for many traders over many, many years. We have added an extra rule to take the overall trend into consideration and minimize the number of false breakouts that we might be entering into. The simple rule means that:
Super easy. We’ve simply added another popular indicator and were able to increase our win rate for this strategy.
Later in this article, you will also find a reversal variation that can be specifically as a Mean Reversion trading strategy.
This is what a buy trade example looks like on the chart.
.webp)
Don’t worry, this is one of the easiest strategies you can build. Let’s focus on the buy-side only of this strategy for the following sections.
Now, let’s build this system in Profectus AI.

I already said that this is a very easy strategy to build. Let’s do it together; it will only take a few minutes.
We found that the original Donchian Channel Strategy was designed to detect and ride trend breakouts and continuations. Obviously, this works very well on markets that have a trending nature, such as equity markets. However, since we also focus a lot on the Forex market, this strategy will not perform well on all Forex pairs. So, we decided to switch the logic around to make the strategy also perform well in ranging markets. In this variation, the Donchian Channel Strategy is now also suitable as a Mean Reversion strategy.

All we had to do was change the Buy now and Sell now blocks around from the original template to change it into a Mean Reversion strategy. It's really that simple!
You can test for yourself how well this works on pairs that are mean reverting in nature, such as AUDCAD or NZDCAD.
Want to see how this Donchian Channel strategy works when fully automated?
Access an enhanced automation template used to turn this trading concept into a deployable MQ5 trading bot inside Profectus. This template has a trade execution module included, so you can start testing it right away!
Disclaimer: Templates are for educational purposes only!
👉 Get the Donchian Channel Automation Template → Donchian Channel Profectus Template
This template is designed to run on the Daily Timeframe
We have written a full article to get you started in Metatrader 5 and how you can run any automated strategy, such as the Donchian Channel strategy, as an Expert Advisor yourself.
Read the full guide here to run your first trading bot in MT5
Dive into a world of knowledge, trends, and industry updates on the Variable blog. Our curated content covers a spectrum of topics.