Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Well, the strat seems to boot up fine in the optimizer but only the default one will actually optimize. Please see attached pics. Any thoughts?
Thanks.
UPDATE:
Output Window:
ES 03-10: PH Genetic Optimizer Start @ 2/6/2010 11:15:58 AM, combinations: 150,028,200,000
System.InvalidCastException: Specified cast is not valid.
at NinjaTrader.Strategy.Parameter.set_Value(Object value)
at NinjaTrader.Strategy.SetParameterDefinition`1.WriteValue(StrategyBase strategy, ParameterCollection rgParams, Int32 iValue)
at NinjaTrader.Strategy.ParameterDefinitions.WriteToStrategy(ParameterSet child, StrategyBase strategy, ParameterCollection rgParams)
at NinjaTrader.Strategy.PHOptimizationMethod.RunIteration(ParameterSet child)
at NinjaTrader.Strategy.PHOptimizationMethod.RunIterations[T](IEnumerable`1 rgChildren)
at NinjaTrader.Strategy.PHGenetic.ScoreGeneration(IEnumerable`1 rgChildren)
at NinjaTrader.Strategy.PHGenetic.Optimize()
Can you help answer these questions from other members on NexusFi?
tried to use your amazing optimizer tool. Unfortunately the first try failed. After starting the process I got the same error message like "dsraider".:
to solve this issue you have to go to the Control Center, Tools, Edit Ninja Script, Indicator.
Then click on an indicator (no matter which one), click OK. Another window comes up. Then click F5.
If you don't have any other problems, then you should compile all the indicators and solve you error message.
I installed NT 6.5.1000.15 and then encountered the following problem:
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