Type\PHCommon.cs,
'NinjaTrader.Strategy.Strategy' does not contain a definition for 'LastPerformanceValue',CS0117 - click for info,858,54,
I then deleted PHcommon and PHgenetic - downloaded PHgeneticV1.09 again - and when I try to import it is says that the files that I am trying to import has a programing error.
I hope somene can help me with this proplem since I am stuck - and use PHgenetic as my optimizer
Verge
PS - the code specifically reads:
#if NT7
RunIteration (child.OnIterationComplete, null);
#else
this.Strategy.RunIteration ();
// record the strategy's performance
child.Performance = NinjaTrader.Strategy.Strategy.LastPerformanceValue ;
#endif
ALSO - why did this work in 1000.14 - and stopped working in 1000.15 - did the use of "LastPerformanceValue" change?
Comment