OPEN-SOURCE SCRIPT
MACD Zero-Line Dominance (no ta.sum)

Description Option 1 (Simple & Clear)
“This indicator compares how many recent bars have the MACD line above the zero line versus below it.
It plots the resulting strength as a green/red histogram showing whether bullish or bearish momentum is dominating.”
“MACD Zero-Line Dominance measures the strength balance between bullish and bearish momentum by counting how many candles in a lookback period have MACD above or below the zero line.
The histogram turns green when bullish pressure dominates and red when bearish momentum takes control.
Useful for trend confirmation, regime detection, and higher-timeframe alignment.”
“This indicator compares how many recent bars have the MACD line above the zero line versus below it.
It plots the resulting strength as a green/red histogram showing whether bullish or bearish momentum is dominating.”
“MACD Zero-Line Dominance measures the strength balance between bullish and bearish momentum by counting how many candles in a lookback period have MACD above or below the zero line.
The histogram turns green when bullish pressure dominates and red when bearish momentum takes control.
Useful for trend confirmation, regime detection, and higher-timeframe alignment.”
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.