OPEN-SOURCE SCRIPT

Plot futures volumes with index

Most of the times, F&O traders like to draw their own trendlines or mark other levels on the underlying instrument where volumes of the underlying is a key parameter. When such an instrument is a non-tradeable index, then one needs to switch to the futures chart for volumes. This script plots the volumes from futures on the underlying index so that traders don't need to switch charts just for futures volumes! Hope it is useful to some. Cheers!
Release Notes
Added selection of color for volume bars as per a comment requesting the same.
Volume

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer