OPEN-SOURCE SCRIPT

Convert Equity to Future Symbol

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.
educationalPine utilities

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