I am building an indicator that shall use classes from a module developed in Visual Studio 2010 using C#. I've added reference to my module in the script editor and successfully compiled the indicator. But when I add indicator to a chart I don't see indicator plot and NT log shows the following error:
Error on calling the 'OnBarUpdate' method for indicator 'AZSpectrum' on bar 0: Could not load file or assembly 'AZ.DSP, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
I've changed the compilation target for the module (AZ.DSP) to .NET 2.0 but it did not help. It seems like the compiler finds my module but Ninja Trader can not load it during execution.
I am using NinjaTrader 6.5.
Please help me with resolving this issue.
Comment