I would like to call static methods from a third-party .NET 3.5 assembly that compute and return indicator values. I found instructions for adding references to dlls and that all works fine. I have created a new NinjaScript Indicator and added the required 'using' statement.
An example method signature is,
public static double[,] Compute(int period, int startRow, int endRow, double[,] data,
int columnId, bool sizeToData = false)
I am the developer of the third-party assembly so I can modify it if need be. I've searched, but cannot find any examples of using a third-party library like this within a NinjaScript indicator. Examples that simply return a constant value etc are not useful.
If someone could post a link to an example or provide an example then I would appreciate it.
Thanks,
James
Comment