Donchian Trend Ribbon for MetaTrader 5: Channel-Based Trend Coloring (Free .ex5)
Turns Donchian channel breakouts into a clean color ribbon on MetaTrader 5 to track trend direction and persistence.

Introduction
Built on the Donchian channel made famous by the Turtle Traders, this ribbon flips bullish when price breaks the recent high band and bearish on a break of the recent low band. The result is a simple, robust trend filter that captures breakouts and rides them.
Key Features and Benefits
- Donchian breakout logic distilled into a color ribbon
- Captures and holds trends after channel breaks
- Great as a higher-timeframe trend filter
- Any symbol, any timeframe
- Lightweight non-repainting .ex5
How It Works
The indicator tracks the highest high and lowest low over a lookback period. A close above the upper channel sets the ribbon bullish; a close below the lower channel sets it bearish. The ribbon holds its color until the opposite band is broken.
Step-by-Step Installation Guide (.ex5)
- Download the .zip below and extract
AtaQuant_DonchianTrendRibbon.ex5. - In MetaTrader 5 open File → Open Data Folder.
- Copy the .ex5 into
MQL5\Indicators. - Restart MT5 or right-click the Navigator and choose Refresh.
- Drag AtaQuant_DonchianTrendRibbon from the Navigator onto any chart.
Configuration Settings and Parameters
- Channel Period — Donchian lookback (e.g. 20)
- Applied Price — break confirmation basis
Trading Strategies
- Breakout trend following on the ribbon color flip
- Trend filter for lower-timeframe entries
- Pyramiding while the ribbon holds its color
FAQ
Is it free?
Yes — download below
Does it repaint?
Signals are fixed on closed bars
Which markets?
Any symbol and timeframe in MetaTrader 5

