in my effort to reuse code and save cpu resources because OnRender can only render on one price panel, and it would therefore be better to use the cache from the original main indicator, it seems best to write an indicator that uses the cache from the indicator that is already on the chart. Therefore I would either need to use this indicator always with the exact same settings or would have to change the code everytime I want another setting.
Therefore I am looking for a way to call the exact instance of indicator that is already on the chart.
Jesse said it might be possible with a delegate but after reading about delegates, I believe I would still need to know the parameters in order that the indicator doesn't get cached a second time.
How can I get the parameters of an indicator that is on the chart and call with them this already cached instance?
I am doing a C# course to get the hang of it but so far I am still not sure how to do it.
Greetings

Comment