OPEN-SOURCE SCRIPT
Indexed MACD Oscillator

This indicator transforms the traditional MACD histogram into a normalized 0-100 oscillator, making it easier to identify overbought and oversold conditions across different timeframes and instruments.
The oscillator takes the MACD histogram (12/26/9 default settings) and rescales it based on its 100-period high and low range. This normalization allows for consistent interpretation regardless of price levels or volatility.
Readings near 0 indicate extremely bearish momentum (MACD histogram at recent lows), while readings near 100 indicate extremely bullish momentum (MACD histogram at recent highs). The midpoint around 50 represents neutral momentum.
Useful for:
- Identifying overbought/oversold momentum extremes
- Comparing momentum strength across different assets
- Spotting divergences with price action
- Timing entries/exits based on momentum extremes
- Multi-timeframe momentum analysis
The oscillator takes the MACD histogram (12/26/9 default settings) and rescales it based on its 100-period high and low range. This normalization allows for consistent interpretation regardless of price levels or volatility.
Readings near 0 indicate extremely bearish momentum (MACD histogram at recent lows), while readings near 100 indicate extremely bullish momentum (MACD histogram at recent highs). The midpoint around 50 represents neutral momentum.
Useful for:
- Identifying overbought/oversold momentum extremes
- Comparing momentum strength across different assets
- Spotting divergences with price action
- Timing entries/exits based on momentum extremes
- Multi-timeframe momentum analysis
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.