![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| General Programming General NinjaScript programming questions. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Oct 2008
Location: Dallas, TX
Posts: 120
Thanks: 9
Thanked 2 times in 2 posts
|
My strategy works fine when backtesting. Yet when I run the optimizer, it throws this error:
Error on running optimizer: Value cannot be null. Parameter name: value Code:
private double risk = 0.0325;
private int sL = 100;
private int tP = 100;
private int fileNumber = 1;
Code:
[Description("")]
[GridCategory("Parameters")]
public int FileNumber
{
get { return fileNumber; }
set { fileNumber = value; }
}
The log file only contains one error. It says "Error on running optimizer: Value cannot be null." It's highlighted in green. |
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Assertion failed error BarsArray[0] == null | VTtrader | Indicator Development | 2 | 11-18-2010 12:31 PM |
| Chart Interval, optimizer parameter | gg80108 | Strategy Analyzer | 1 | 04-06-2009 08:31 AM |
| How to optimize the running of the optimizer | SuperDriveGuy | Strategy Analyzer | 9 | 04-05-2009 10:31 PM |
| Error on running optimizer. Object reference not set to an instance of an object. | vasily20011 | Strategy Analyzer | 5 | 03-09-2009 08:09 AM |
| Bug with optimizer when changing parameter type | cunparis | Strategy Analyzer | 17 | 02-05-2009 11:19 AM |