MACD with a 4-color histogram, a market-state background and filtered crossover signals, designed to separate real momentum shifts from weak MACD crosses.
Lines & cloud
- Blue: MACD · Orange: Signal
- Green cloud when MACD is above Signal, red cloud when below.
- Green / red dot on the MACD line: MACD crosses above / below Signal.
Histogram colors
- Dark green / light green: above zero, momentum rising / fading
- Light red / dark red: below zero, momentum recovering / falling
Background (market state)
- Green: uptrend
- Red: strong downtrend (price dropped more than the ATR threshold)
- Yellow: weak downtrend
- Gray: sideways (low Efficiency Ratio and small move in ATR terms)
Confirmed signals
A MACD cross only becomes a signal if price confirms it within a few bars: price on the right side of a sloping EMA20, a breakout of the recent high/low or a cross near zero, directional movement and an expanding histogram. Signal markers are placed just below (UP) or above (DOWN) the MACD, Signal, histogram and zero line.
- Lime marker below: strong UP, aligned with the higher timeframe, above EMA89, no bearish divergence
- Red marker above: strong DOWN, aligned with the higher timeframe, below EMA89, no bullish divergence
- Orange marker: risky UP / DOWN, price confirmed but against the higher timeframe, on the wrong side of EMA89 or after a divergence
- Gray cross: weak cross, MACD crossed but price never confirmed, best ignored
Pullback setups
- Thick line on the zero level: both higher timeframes (default 1H and 4H) agree on the trend and price is in the pullback zone of timeframe 1 (between EMA20 and EMA50, or the 38.2–61.8% retracement of the latest swing). Purple = sell zone, aqua = buy zone.
- Purple marker above: PB SELL, a confirmed bearish MACD cross inside the sell zone
- Aqua marker below: PB BUY, a confirmed bullish MACD cross inside the buy zone
Higher timeframe data uses closed bars only (no repainting). All lengths, thresholds and timeframes are adjustable.
This is an analysis tool, not financial advice. Always combine it with your own risk management.
कमेंट