tenet6080

Dollar Volume Last 20 Candles

The "Dollar Volume Last 20 Candles" indicator, abbreviated as "DV", is a practical and insightful tool for traders and analysts.

This indicator focuses on enhancing the visualization of trading data by calculating and displaying the dollar volume for each of the last 20 bars on a financial chart. It achieves this by multiplying the closing price of each bar with its trading volume, providing a clear dollar value of the trading activity.

The script also features an intuitive formatting system that simplifies large numbers into 'k' (thousands) and 'M' (millions), making the data easily digestible.

The dollar volume data is displayed directly above each bar, adjusted for visibility using the Average True Range (ATR), ensuring that it is both unobtrusive and readily accessible. This overlay feature integrates seamlessly with the existing chart, offering traders a quick and efficient way to assess monetary trading volume at a glance, which is particularly useful for identifying trends and market strength.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?