I'm trying to use NCalc (http://ncalc.codeplex.com/) in my indicator.
- I've added the using directive
- I've placed NCalc.dll into ...\NinjaTrader 7\bin\Custom
- I've added the assembly reference
It compiles ok, but when I try to call one of the methods
Expression e = new Expression("2 * 3");
or
Expression e = new NCalc.Expression("2 * 3");
I get the error
Error on calling 'OnBarUpdate' method for indicator 'MyIndy' on bar 0: Could not load file or assembly 'NCalc, Version=1.3.8.0, Culture=neutral, PublicKeyToken=973cde3f1cafed03' or one of its dependencies. The system cannot find the file specified.
The .dll is created in c#.
Any ideas?
Thanks,
Will.
Comment