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).
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。