NinjaTrader Support Forum  
X

Attention!

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


Go Back   NinjaTrader Support Forum > Application Technical Support > Strategy Analyzer

Strategy Analyzer Support for automated system backtesting and optimization using the NinjaTrader Strategy Analyzer.

Reply
 
Thread Tools Display Modes
Old 06-23-2009, 12:28 AM   #1
-Swig-
Junior Member
 
Join Date: May 2009
Posts: 25
Thanks: 0
Thanked 1 time in 1 post
Default MoGo - new genetic optimiser for NT 6.5

Hi folks,

I'm a relative newcomer to automated trading systems and recently discovered Pete S.'s genetic optimiser. There were a few additional features I thought would be handy, so I rewrote it to provide a nicer GUI and some more goodies. It is now available for free for anyone to use.

Main features added:
  • Supports all standard & custom optimisation types available to NinjaTrader
  • Abitrary user-specified dynamic constraints on strategy parameters
  • Progress dialog showing iteration number & true remaining time (NinjaTrader's progress dialog has trouble here)
  • Detects with high probability when it has exhaused the valid parameter space
  • Saves last-used settings between sessions
Download and usage instructions available here:
http://mcraig.net/site/Development/N...9/Default.aspx

The source code should appear there soon. Comments welcome.


-Swig-
-Swig- is offline  
Reply With Quote
Old 06-23-2009, 04:53 AM   #2
whitmark
Certified NinjaScript Consultant
 
Join Date: Nov 2005
Location: Virginia, USA
Posts: 441
Thanks: 0
Thanked 12 times in 7 posts
Send a message via Skype™ to whitmark
Default Yeah Baby!

Ladies and gentlemen, we've got talent! Outstanding GO contribution, in particular, how you are able to successfully overcome the little obstacles of operating under the current NT 6.5 framework with style and added functionality. Congratulations, you've got some serious mojo in your MoGo that would make even Austin proud.

Whitmark
whitmark is offline  
Reply With Quote
Old 06-23-2009, 07:11 AM   #3
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

Thanks for this contribution!
NinjaTrader_Ray is offline  
Reply With Quote
Old 06-23-2009, 03:24 PM   #4
Buttermilk
Junior Member
 
Join Date: Jul 2008
Posts: 20
Thanks: 0
Thanked 0 times in 0 posts
Default Great Stuff!

Preliminary test looks great....
Buttermilk is offline  
Reply With Quote
Old 06-24-2009, 12:30 AM   #5
bibulous
Junior Member
 
Join Date: Dec 2007
Posts: 22
Thanks: 1
Thanked 0 times in 0 posts
Default

Thanks! Sounds promising, but unfortunately it does not work for me.

I always get the following error:

Failed to call method 'Optimize' for optimizer 'MoGoNT': String was not recognized as a valid Boolean.
bibulous is offline  
Reply With Quote
Old 06-24-2009, 06:14 AM   #6
laparker
Senior Member
 
Join Date: Feb 2009
Location: Chicago
Posts: 116
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by bibulous View Post
Thanks! Sounds promising, but unfortunately it does not work for me.

I always get the following error:

Failed to call method 'Optimize' for optimizer 'MoGoNT': String was not recognized as a valid Boolean.
Swig

I get the same error - any ideas?

-thanks
laparker is offline  
Reply With Quote
Old 06-24-2009, 07:57 PM   #7
-Swig-
Junior Member
 
Join Date: May 2009
Posts: 25
Thanks: 0
Thanked 1 time in 1 post
Default

Quote:
Originally Posted by whitmark View Post
Ladies and gentlemen, we've got talent! Outstanding GO contribution, in particular, how you are able to successfully overcome the little obstacles of operating under the current NT 6.5 framework with style and added functionality. Congratulations, you've got some serious mojo in your MoGo that would make even Austin proud.

Whitmark
Cheers Mark; appreciate the comments
-Swig- is offline  
Reply With Quote
Old 06-24-2009, 07:59 PM   #8
-Swig-
Junior Member
 
Join Date: May 2009
Posts: 25
Thanks: 0
Thanked 1 time in 1 post
Default

Quote:
Originally Posted by laparker View Post
Swig

I get the same error - any ideas?

-thanks
Ouch. Do you guys have any non double/int parameters in your strategies? Just occurred to me I haven't tested that scenario.

Are you both on the latest version of NT?


-Swig-
-Swig- is offline  
Reply With Quote
Old 06-24-2009, 08:14 PM   #9
Buttermilk
Junior Member
 
Join Date: Jul 2008
Posts: 20
Thanks: 0
Thanked 0 times in 0 posts
Default Looks ok but...

Swig
Look Ok ..no problem in getting it to work but only a fractional increase in analyis speed on NT standard (brute) optimization. Any advice?
Buttermilk is offline  
Reply With Quote
Old 06-24-2009, 09:08 PM   #10
-Swig-
Junior Member
 
Join Date: May 2009
Posts: 25
Thanks: 0
Thanked 1 time in 1 post
Default

Quote:
Originally Posted by Buttermilk View Post
Swig
Look Ok ..no problem in getting it to work but only a fractional increase in analyis speed on NT standard (brute) optimization. Any advice?
How big is your parameter space?

For a small one (i.e. small number of parameters and/or very limited ranges for each parameter), brute-force optimisation is likely to perform equal to or better than any genetic optimiser.

Where GOs shine is when you have a large parameter space (i.e. many parameters and/or a wide range for each), since they hone in on good solutions while testing only a small fraction of possible combinations.

Keep in mind that the amount of time MoGo takes to run is determined by the population size and the number of generations. If you want it to run faster, reduce either/both of these values. Of course lowering them reduces the likelihood of finding the best solution, but there's always a trade off.

-Swig-
-Swig- is offline  
Reply With Quote
Old 06-25-2009, 12:23 AM   #11
bibulous
Junior Member
 
Join Date: Dec 2007
Posts: 22
Thanks: 1
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by -Swig- View Post
Ouch. Do you guys have any non double/int parameters in your strategies? Just occurred to me I haven't tested that scenario.

Are you both on the latest version of NT?


-Swig-
Yes, I do have boolean parameters, but those are not included in the optimization universe. I also run the latest version of NT.

Marc
bibulous is offline  
Reply With Quote
Old 06-25-2009, 06:28 AM   #12
laparker
Senior Member
 
Join Date: Feb 2009
Location: Chicago
Posts: 116
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by -Swig- View Post
Ouch. Do you guys have any non double/int parameters in your strategies? Just occurred to me I haven't tested that scenario.

Are you both on the latest version of NT?


-Swig-
Swig

Yes, I have the latest NT 6.5.1000.9
I have bool params but I don't change them in the optimization process.

-thanks
laparker is offline  
Reply With Quote
Old 06-25-2009, 10:49 AM   #13
Elliott Wave
Senior Member
 
Join Date: Mar 2008
Posts: 731
Thanks: 0
Thanked 1 time in 1 post
Default

Quote:
Originally Posted by laparker View Post
Swig

Yes, I have the latest NT 6.5.1000.9
I have bool params but I don't change them in the optimization process.

-thanks
6.5.1000.11 is the latest.
Elliott Wave is offline  
Reply With Quote
Old 06-25-2009, 11:02 AM   #14
laparker
Senior Member
 
Join Date: Feb 2009
Location: Chicago
Posts: 116
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by Elliott Wave View Post
6.5.1000.11 is the latest.
Thanks for the heads-up. There doesn't seem to be much in the bug fixes that might be relevant to this issue, but I will upgrade.

-thanks
laparker is offline  
Reply With Quote
Old 06-25-2009, 11:26 AM   #15
bibulous
Junior Member
 
Join Date: Dec 2007
Posts: 22
Thanks: 1
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by laparker View Post
Thanks for the heads-up. There doesn't seem to be much in the bug fixes that might be relevant to this issue, but I will upgrade.

-thanks
They are not - I am running .11.
bibulous is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Whitmark Genetic Optimizer 2.2 for NT 6.5 whitmark Strategy Analyzer 2 06-23-2009 05:17 AM
Genetic Optimizer 2.0 for NinjaTrader 6.5 whitmark Strategy Analyzer 23 06-21-2009 09:35 AM
Genetic Optimizer v1.5 Pete S NinjaScript File Sharing Discussion 27 05-26-2009 03:50 AM
Genetic Optimizer Pete S NinjaScript File Sharing Discussion 18 08-22-2008 12:16 AM
Optimiser Type dgregor5 Strategy Analyzer 22 01-20-2008 08:51 AM


All times are GMT -6. The time now is 03:34 PM.