Is there a way to introduce my own namespaces into the Ninjatrader solution and still export my code? When writing my own code, if I separate the code into its own file (say for example a volume data manager singleton in its own file in the solution) with its own namespace, everything compiles and runs fine within Ninjatrader. I just add the normal using statement at the top of the classes that use this new class. The new file is picked up, the solution compiles and everything runs fine and works perfectly. I can even see the new file in the NinjaScript Editor.
When I try to export this though I get a compilation error that the new namespace cannot be resolved. How does the export compile differently to just plain compiling in the NinjaScript Editor?
EDIT: Just as an aside, if I move the custom class into one of the Ninjascript namespaces like NinjaTrader.NinjaScript.Indicators for example, the code exports without a problem.
Thanks for any help,
John
Comment