System.NullReferenceException: 'Object reference not set to an instance of an object.'
else if (State == State.Configure)
{
UnitsCalculation = (Instrument.MasterInstrument.InstrumentType == InstrumentType.Forex)
? UnitsCalculationType.Pips
: UnitsCalculationType.Ticks;
...
}
This code is not new, and has worked with optimizations in the past. Is there some way to see a more detailed output of what is going on?
The problem must be elsewhere in an extremely large code base.
Back tests run fine, this only occurs during optimizations.
Thanks

Comment