I have a compiled indicator that also includes an addon. This addon contains a public class. I am trying to access that class from within ninjascript, but get an error on compile stating the type already exists in the indicator.dll
To clarify, I am just trying to declare, in a new indicator source file, like this
private NinjaTrader.NinjaScript.AddOns.myAddon.test test = null;
Intellitext picks it up fine, it all looks OK, and it will compile on a system that has all the original sources. But, if the indicator/addon is a DLL, installed first, this source will not compile and fails with the error stated.
Any idea how to make this work? It seems that if it compiles as 100% source, it should compile with the addon in the DLL, too?
Thanks.

Comment