Can anyone point me to the correct way to register a callback into a strategy with a custom DLL? This is for the community, I know this is not supported directly although I will take advice from wherever I can get it.
I added the references, etc to get the DLL to compile but once I did that, NinjaTrader was decidedly not a happy camper.
I got compile errors within NinjaTrader saying access to one of the XML files was denied (prior to comiling the DLL that was not an issue) and I got a strange error from @ADL (indicator) saying something to the effect it was referencing a reference Strategy.Strategy that did have a using statement. Of course, I couldn't add one since that is a system component.
I am simply trying to call back into the strategy from the DLL. It would seem I could pass in "this" from the strategy and have a pointer to any public method in the strategy.
Any/all help appreciated.
Best Regards,
Scott
Comment