Description
Spot High-Probability Entries with Precision
MacD is a professional-grade MACD indicator built natively for cTrader, packed with smart visual cues and a non-repainting alert engine that keeps you focused on what matters: clean, actionable signals.
โ What Makes This Different?
Most MACD indicators use a single-color histogram. MacD uses 4 dynamic histogram colors that reveal momentum direction at a glance โ no second-guessing whether the trend is accelerating or fading.
๐จ Dynamic 4-Color Histogram
Bar ColorMeaning
๐ข Dark Green
Histogram rising above zero โ bullish momentum building
๐ฉ Light Green
Histogram falling above zero โ bullish momentum fading
๐ด Dark Red
Histogram falling below zero โ bearish momentum building
๐ฅ Light Red/Pink
Histogram rising below zero โ bearish momentum fading
๐ Full Feature List
- 4-Color Momentum Histogram โ instantly see if momentum is growing or weakening
- MACD Line โ green when above signal, red when below
- Yellow Signal Line โ always visible, styled to stand out
- Crossover Circles โ green dot for bullish cross, red dot for bearish cross, plotted at the signal line
- Non-Repainting Buy/Sell Alerts โ signals fire once per cross using a latch mechanism; they never repaint on historical bars
- ๐ข Buy Signal: MACD crosses above Signal while MACD is below zero
- ๐ด Sell Signal: MACD crosses below Signal while MACD is above zero
- Configurable Parameters: Fast Length (default 12), Slow Length (default 26), Signal Smoothing (default 9)
- Zero Line rendered clearly as a reference
๐ Non-Repainting Alerts Explained
This indicator uses a state-latch system identical to Pine Script's longPosMem / shortPosMem pattern. Once a Buy signal fires, it won't fire again until a Sell cross has occurred first โ and vice versa. Alerts only trigger on live bars, never retroactively on history.
๐ Easy Installation
- Open cTrader โ Automate โ Indicators
- Create a new indicator and paste the code โ or import the
.csfile directly - Click Build
- Add MacD to any chart from the Indicators panel
