I created a custom indicator in trading view using pine-script. The inputs to the indicator depend on the chart that is open. Also I do not want the indicator visible in all charts.
Basically what I want is to indicator behave like the drawing tools. If I draw some line and plots using the left side drawing menu, those are only applied to the current chart and not others.
Thanks for help