NexusFi: Find Your Edge


Home Menu

 





NinjaTrader Genetic Optimizer


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one piersh with 49 posts (94 thanks)
    2. looks_two Big Mike with 26 posts (10 thanks)
    3. looks_3 TraderDJB with 13 posts (18 thanks)
    4. looks_4 dsraider with 10 posts (0 thanks)
      Best Posters
    1. looks_one piersh with 1.9 thanks per post
    2. looks_two TraderDJB with 1.4 thanks per post
    3. looks_3 sam028 with 0.5 thanks per post
    4. looks_4 Big Mike with 0.4 thanks per post
    1. trending_up 91,541 views
    2. thumb_up 134 thanks given
    3. group 47 followers
    1. forum 197 posts
    2. attach_file 19 attachments




 
Search this Thread

NinjaTrader Genetic Optimizer

  #11 (permalink)
piersh
California
 
Posts: 87 since Jun 2009
Thanks Given: 5
Thanks Received: 120


goforbroke01 View Post
Piersh

thanks for the fix - runs ok except that after the first full run through, subsequent runs don't display the GO params form. It may be that the walkthrough flag persists, not being reset after the job is complete.

-thanks

yup that's exactly what's happening. unfortunately the support for custom optimizers in NT is very sparse, but I've added a hack that should work around this...

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Are there any eval firms that allow you to sink to your …
Traders Hideout
Futures True Range Report
The Elite Circle
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
Battlestations: Show us your trading desks!
26 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
The Program
18 thanks
  #12 (permalink)
 goforbroke01 
Chicago
 
Experience: Intermediate
Platform: NT
Broker: IB
Posts: 11 since Jun 2009
Thanks Given: 8
Thanks Received: 1

Piersh - thanks for your help.

Reply With Quote
  #13 (permalink)
 
Peter's Avatar
 Peter 
Brisbane; Australia
 
Experience: Intermediate
Platform: NT
Broker: IB/TDA needing new broker
Trading: Futures, Forex, Stocks
Posts: 97 since Jun 2009
Thanks Given: 91
Thanks Received: 118


Thanks for the info and warning. I was thinking on using it foremost as screening tool and then run the GO on subsets.

However my coding is apparently not good enough to find a working code with the info Swig provided.
Would you have an example of a code snippet where this trick is used that you can share? (just the part related to the trick to see how the coding related to enums should be done).

Reply With Quote
  #14 (permalink)
piersh
California
 
Posts: 87 since Jun 2009
Thanks Given: 5
Thanks Received: 120

ok, this is where it gets silly.

v1.03 includes support for optimizing Enum parameter values. If your strategy has a parameter that's an Enum, then the right hand side of the optimizer options dialog will show a scrolling list of those parameters and the possible values that each one can have. check the boxes on the right next to each value to test that value. check the box on the left next to the parameter name to toggle all the checkboxes on the right.

as always, please let me know if you have any problems.

Attached Thumbnails
Click image for larger version

Name:	Screenshot v1.03.png
Views:	495
Size:	14.7 KB
ID:	273  
Reply With Quote
Thanked by:
  #15 (permalink)
 
Peter's Avatar
 Peter 
Brisbane; Australia
 
Experience: Intermediate
Platform: NT
Broker: IB/TDA needing new broker
Trading: Futures, Forex, Stocks
Posts: 97 since Jun 2009
Thanks Given: 91
Thanks Received: 118

Ok, I ask for some code to put me on track in a VW and you build a Rolls Royce.
Now you're showing off
Thanks I will try it.

Reply With Quote
  #16 (permalink)
tortexal
Panama!
 
Posts: 44 since Jun 2009
Thanks Given: 1
Thanks Received: 24

Piersh this optimizer is absolutely fantastic. I just tried that other one (not the original but another version) that is on the NT forums recently and its extremely slow compared to yours even with the same settings. I get about 5.1-5.3 ips on that one and 9-9.5 on yours. Thank you so much for releasing this, i can run every test in 30 min vs the hours it took on the default optimizer.

Reply With Quote
  #17 (permalink)
 
Todd's Avatar
 Todd 
Alpharetta, GA
 
Experience: Intermediate
Platform: ninja
Broker: Mirus / Zenfire
Trading: ES
Posts: 234 since Jun 2009
Thanks Given: 28
Thanks Received: 40

Piersh,

Thanks for posting the optimizers... I've not used an optimizer with NT, only with TradeStation and only a little practice there.

Do I download the zip file into the indicator file? Is the optimizer pretty easy to use or do I need instruction?

Todd

Reply With Quote
  #18 (permalink)
piersh
California
 
Posts: 87 since Jun 2009
Thanks Given: 5
Thanks Received: 120


tortexal View Post
Piersh this optimizer is absolutely fantastic. I just tried that other one (not the original but another version) that is on the NT forums recently and its extremely slow compared to yours even with the same settings. I get about 5.1-5.3 ips on that one and 9-9.5 on yours. Thank you so much for releasing this, i can run every test in 30 min vs the hours it took on the default optimizer.

Thanks! I'm glad you're finding it useful! That default optimizer was so tedious, I can't believe I wasted all that time...

Reply With Quote
  #19 (permalink)
piersh
California
 
Posts: 87 since Jun 2009
Thanks Given: 5
Thanks Received: 120


Todd View Post
Piersh,

Thanks for posting the optimizers... I've not used an optimizer with NT, only with TradeStation and only a little practice there.

Do I download the zip file into the indicator file? Is the optimizer pretty easy to use or do I need instruction?

Todd

Todd,

I'd recommend familiarizing yourself with NT's default optimizer/strategy analyzer just to get a feel for the workflow. then follow the installation instructions at the top of this thread...

Reply With Quote
  #20 (permalink)
 
Todd's Avatar
 Todd 
Alpharetta, GA
 
Experience: Intermediate
Platform: ninja
Broker: Mirus / Zenfire
Trading: ES
Posts: 234 since Jun 2009
Thanks Given: 28
Thanks Received: 40


Thanks, Piersh... I'll do that.

Reply With Quote




Last Updated on December 16, 2010


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts