I'd like to know if it is possible to change the underlying instrument of an indicator by code. For example, lets say I have this indicator object currently works on instrument X. Now I need to work on instrument Y but as Y hasn't been loaded to the chart window by user, I want to make use of the indicator on X but change the instrument to Y. I'm not sure how it can be done though.
Thanks.
Comment