OPEN-SOURCE SCRIPT

Convert Equity to Future Symbol

418
This is a super simple script, not intended to be used as a standalone script. This script contains a custom function that can convert an equity symbol into a future contract symbol.

You can embed this in your script if, for some reason, you want to convert your equity symbols into future contracts.

Note: This script is created especially for Indian equities. I am not aware of its use for other countries. Moreover, I do not think this script can work for equities other than those in India.

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.