I would be happy with this solution, however it requires to reference System.Data.dll in the exported indicator. NinjaTrader cannot reference it itself from the .NET framework installation (right?) and it has to be manually added to the exported zip. So far so good, I can live with that. The problem is, there are 32-bit and 64-bit version of System.Data.dll (not to mention different .NET editions) and importing 32-bit dll in 64-bit NinjaTrader (and vice versa) leads to an error in the import, although manual copy of the dll into Custom folder works, regardless of NinjaTrader and dll version.
So, my question is, how to get a list of ATMS without having to check if the strategy is imported on 32-bit or 64-bit NinjaTrader. I don't insist on anything mentioned before, I'd be glad if you could find another, easier way. All I need are just ATMS names available inside my custom strategy. Thank you.
Comment