OPEN-SOURCE SCRIPT

[PAPI] TF-OBV-ATR-Weighted MACD

185
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).


Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.