I have an indicator calling a custom DLL. It all works fine. But when I run the indicator on a second chart it is apparent that the two indicators are sharing the same instance of the DLL. The indicators are overwriting each others data.
How do I do this so that each indicator runs it's own instance of the DLL? Or what information can I pass to the DLL so that it can uniquely identify each indicator that calls it? (Having multiple copies of the DLL is not an option).
Thanks
Comment