Uses user-defined Fast Length, Slow Length, and Signal Smoothing parameters to compute MACD. Supports SMA (Simple Moving Average) or EMA (Exponential Moving Average) for the MACD line and signal line Histogram-Based Candle Coloring: The script categorizes histogram bars into four states: 0 (Very Bullish) → Green 1 (Likely Bearish) → Blue 2 (Likely Bullish) → Orange 3 (Very Bearish) → Red Histogram Plot:
Displays histogram bars with distinct colors based on price momentum changes. Market Sentiment Display in Status Line & Price Scale:
Instead of adding a label on the chart (which could obstruct candles), a text display is shown in the price scale and status line: "0 Very Bullish" "1 Likely Bearish" "2 Likely Bullish" "3 Very Bearish" The text appears in the top-right corner with white font on a black background. Purpose: This indicator enhances the standard MACD by incorporating candle coloring and a cleaner sentiment display in the price scale, helping traders quickly interpret market momentum without cluttering the chart.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publications is governed by House rules. Per aggiungerlo al grafico, mettilo tra i preferiti.
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.