OPEN-SOURCE SCRIPT
已更新 Volume Dominance (Multi-Timeframe)

Volume dominance is a mathematical concept i invented by separating up volume and down volume, and replacing the opposing elements in the averaging arrays with zeroes.
positive volume dominance is calculated by taking the average of volumes with a positive price direction over a period. for every volume with a negative price direction within the period, a zero is added to the averaging array.
Dpv = sum(upVol + (dnVol * 0)) / length
Dnv = sum(dnVol + (upVol * 0)) / length
Dpv = Dominance of Positive volume
Dnv = Dominance of Negative volume
upVol = total volume of upward filtered candles within length array
dnVol = total volume of downward filtered candles within length array
the user can see positive and negative volume dominance and read the label at the end of the plot to see the breadth of the dominance gap.
the user can select between using EMA and SMA to compute the dominance averages.
when the yellow center line moves with the change of a dominance line, it indicates strong directional force.
positive volume dominance is calculated by taking the average of volumes with a positive price direction over a period. for every volume with a negative price direction within the period, a zero is added to the averaging array.
Dpv = sum(upVol + (dnVol * 0)) / length
Dnv = sum(dnVol + (upVol * 0)) / length
Dpv = Dominance of Positive volume
Dnv = Dominance of Negative volume
upVol = total volume of upward filtered candles within length array
dnVol = total volume of downward filtered candles within length array
the user can see positive and negative volume dominance and read the label at the end of the plot to see the breadth of the dominance gap.
the user can select between using EMA and SMA to compute the dominance averages.
when the yellow center line moves with the change of a dominance line, it indicates strong directional force.
發行說明
updated chart picture發行說明
fixed so bar progression deletes old labels and does not accumulate labels on the chart開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。