OPEN-SOURCE SCRIPT

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.
Candlestick analysisVolume IndicatorVolume

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明