I've added my strategy code in a .NET class library project in Visual Studio and added references.
Problem: My strategy needs to utilize a custom indicator I developed. It's already been exported as assembly in Ninjatrader, then imported. In my strategy in VS, I have to add Ninjatrader.Custom.dll or I have tons of errors due to missing all ninjascript methods, types, etc.
But if i also add the DLL for my custom indicator, MyIndicator.dll, then I get errors saying 'Strategy' type is duplicated in Ninjatrader.Custom.dll and MyIndicator.dll
I don't know what to do. Super frustrating situation. I wanted to try exporting my strategy from Visual Studio instead of Ninjatrader, since I cannot figure out why my strategy fails to export using NT "export as assembly" tool.

Comment