Nifty 20 Volume

This script computes the volume for Nifty 50 index. I am using top 20 stocks here that constitute about 75% of the Nifty 50. I had used the script created by @shijithlal as a base for this. He has used all 45-50 stocks in his script. You can look that up if you want a more accurate 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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?