OPEN-SOURCE SCRIPT
My script

//version=5
indicator("Volume in Crores", overlay=false)
vol_crores = volume / 1e7
plot(vol_crores, title="Volume (Cr)", style=plot.style_columns, color=color.new(color.blue, 0))
showLabels = input.bool(true, title="Show Volume Labels")
labelOffset = input.int(1, title="Label Offset (bars)")
if showLabels and bar_index % 5 == 0
label.new(x=bar_index - labelOffset, y=vol_crores, text=str.tostring(vol_crores, "#.##") + " Cr", style=label.style_label_up, size=size.small, color=color.white, textcolor=color.black)
indicator("Volume in Crores", overlay=false)
vol_crores = volume / 1e7
plot(vol_crores, title="Volume (Cr)", style=plot.style_columns, color=color.new(color.blue, 0))
showLabels = input.bool(true, title="Show Volume Labels")
labelOffset = input.int(1, title="Label Offset (bars)")
if showLabels and bar_index % 5 == 0
label.new(x=bar_index - labelOffset, y=vol_crores, text=str.tostring(vol_crores, "#.##") + " Cr", style=label.style_label_up, size=size.small, color=color.white, textcolor=color.black)
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.