I want you to add this indicator to Tradingview platform of yours. I am surprised that no broker has implemented such basic and such valuable indicator. it is basically volume*price bar graph, and it is a substitute for the well-known ‘Volume’ indicator which every platform has. Me as a day trader want to get quick idea of what the value is in the particular stock rather than figuring out by looking at price and volume. the default volume indicator is so stupid and doesn’t represent true insight. for example: volume on idea priced at 15rupees is 1.7Billion and volume on stocks like Dixon with price of 6000 has volume 200k, that doesn’t tell how much money is poured into it unless you pull up calculator.
for your convenience here’s the code to implement that indicator:
study("Total Dollar Volume", shorttitle="TDV",format=format.volume, precision=0)
lengthMA=input(20)
tdv = hlc3 * volume
barcolor = if close < open
color.red
else
color.green
plot(tdv, color=barcolor, linewidth=10, style=plot.style_columns)
plot(sma(tdv, lengthMA), color=color.orange)
the indicator is available on Tradingview as well as on its screener as Volume*Price. here’s the link to the indicator: Total Dollar Volume — Indicator by RevelTrades — TradingView India
I hope you implement ASAP given its simplicity. I bet, many day traders would love its implementation.