Why this Script : Nifty 50 does not provide volume and some time it is really useful to understand the volume .
This is the pine script which calculate the nifty 50 volume .
Logic :
Take each stock contribute to nifty 50 and find it's volume . Multiply the same with contribution percentage of the same on Nifty 50 Add up all of them and find the total volume .
There is a similar script by daytraderph which is built for Bank Nifty (custom volume) . I took the same and built for Nfity.
Nifty has 50 stocks and you cant call security method more than 40 times from one Pine script, so this is the limitation of this script. It consider top 40 stocks and find the volume (which contribute pretty much around 95% of the volume) and convert the same to 100 %
發行說明
Updating chart
發行說明
Updating chart
發行說明
New weightage updated
發行說明
Updated with latest weightage.
發行說明
Small bug fix to find the accurate value of total volume from 40 scripts volume.