This External DLL, MyMarketData, has a default constructor.
Using a Windows application, I was able to include a reference to the MyMarketData external DLL, compile it, use it without errors, make calls to its' methods and properties (in other words, the default constructor of MyMarketData DLL is working correctly).
My NinjaTrader script compiles without error. I checked the log and there is no error upon compilation.
Yet, when I attempt to add the indicator to the chart, it complains "Unable to create instance of indicator 'NinjaTrader.Indicator.MyIndicator'. Most likely the implementation no longer exists, or there is no default constructor defined, or the default constructor does not work correctly: ...."
using MyMarketData;
...
namespace NinjaTrader.Indicator
{
/// <summary>
///
/// </summary>
[Description("")]
public class MyIndicator : Indicator
{
MyMarketData.Capture myCapture = new MyMarketData.Capture();
Comment