OPEN-SOURCE SCRIPT
[PAPI] TF-OBV-ATR-Weighted MACD

This is a MACD indicator with a few differences:
Multi-Timeframe: The indicator calculates the "MACD", the "Signal" and the "Histogram" for four user-defined timeframes.
Volume weighted: The three MACD variables calculated for each timeframe above are weight-averaged according to On Balance Volume (OBV).
Volatility weighted: The three MACD variables calculated for each time frame above are also weight-averaged according to Average True Range (ATR)
The MACD, Signal and Histogram are plotted.
I use the indicator twice. Once with the user defined Timeframes set to high TFs (Month/Week/Day/4h) - this is for directional bias. And once with lower TFs (1m/3m/15m/1h).
Multi-Timeframe: The indicator calculates the "MACD", the "Signal" and the "Histogram" for four user-defined timeframes.
Volume weighted: The three MACD variables calculated for each timeframe above are weight-averaged according to On Balance Volume (OBV).
Volatility weighted: The three MACD variables calculated for each time frame above are also weight-averaged according to Average True Range (ATR)
The MACD, Signal and Histogram are plotted.
I use the indicator twice. Once with the user defined Timeframes set to high TFs (Month/Week/Day/4h) - this is for directional bias. And once with lower TFs (1m/3m/15m/1h).
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.