Trend Magic Indicator for MetaTrader 5: CCI + ATR Trend Line (Free .ex5)
Trend Magic for MetaTrader 5 combines CCI and ATR into a single color-changing trend line that signals momentum and direction. Free .ex5 download.

Introduction
Trend Magic blends the Commodity Channel Index with an ATR-based level to plot a stepped line that changes color with trend. Blue typically signals an uptrend and red a downtrend, giving a simple, decisive read on direction.
Key Features and Benefits
- CCI + ATR fused into one trend line
- Color flips mark trend changes
- Acts as dynamic support/resistance
- Any symbol, any timeframe
- Compiled non-repainting on closed bars
How It Works
When CCI is positive, the line sits below the price at an ATR distance (uptrend, one color); when CCI is negative, it sits above the price (downtrend, the other color). The line trails price and flips as CCI crosses zero, confirmed by the ATR offset.
Step-by-Step Installation Guide (.ex5)
- Download the .zip below and extract
AtaQuant_TrendMagic.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_TrendMagic from the Navigator onto any chart.
Configuration Settings and Parameters
- CCI Period — momentum length (e.g. 20)
- ATR Period — volatility offset
- Multiplier — distance of the line
Trading Strategies
- Trend following on the color flip
- Trailing stop using the Trend Magic line
- Confluence with momentum for timing
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.
Get Trend Magic Indicator by email
Get instant alerts, early access, and quick download links straight to your phone


