Volume data is not provided or not available for some instruments such as Indices, as it is the case for NIFTY 50 - Indian stock market index
In case of any custom index volume indicator presence, than their output can be integrated to other volume related indicators as in this example.
How to use a custom indicator as a volume source with the Volume Profile
* First it is required to have the custom indicator enabled
* Then, enable "Use External Volume Indicator" option of the Volume Profile and select as a Source the custom indicator.
Disclaimer: Use of the script does not constitutes professional and/or financial advice. You alone the sole responsibility of choosing the external source and evaluating the script output and risks associated with the use of the script