• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.


No announcement yet.

Partner 728x90


Genetic Optimizer

  • Filter
  • Time
  • Show
Clear All
new posts

    Genetic Optimizer


    I'm hoping if someone out there who regularly uses genetic optimizer, if they could perhaps share their thoughts and "art of using GO?" I've been reading up a lot on GO and still confused on what they settings should be during my GO tests. Population size, cross rate, generation size etc.

    -ps-n8 support, I did read many of the GO threads and most of them do not have a discussion regarding what are the "best" settings" on "average" to run during a GO test. Perhaps, someone in your data scientist team can also chime in? How did your team come up with the default settings?

    Thank you in advance

    Hello calhawk01,

    Thanks for your question.

    Genetic backtests factor randomness and evolution to identify ideal parameters instead of running through each and every parameter combination.

    The Genetic Algorithm uses a random set of initial parameters for an initial backtest before it starts generating child parameters that are based off of the performance of these parent parameters.

    Child parameters will be generated from crossovers and mutations of parent parameters. Crossovers will try to find a more ideal parameter between two parent parameters, while mutations add more random variation to the backtest.

    Since we are using random values for the initial values of each backtest and the Genetic Algorithm uses randomness for the mutation of new children and variation, we would expect to see differences between each backtest we run. The purpose behind a Genetic Optimization backtest would be to get a general idea of how fit is for a particular performance metric by using variance and evolution with a smaller number of backtest iterations.

    I would highly recommend to have a look at the Genetic Algorithm video in our publicly available help guide if you have not done so. The video can be a little fast if the Genetic Algorithm concept is a new idea, but it is useful to pause the video periodically to make sure you are up to speed with the presenter.

    This video and further explanations on the Genetic Algorithm can be found in the help guide here: https://ninjatrader.com/support/help..._algorithm.htm

    I would not be able to comment on "best" settings, but maybe other forum members would like to share their experiences. Default parameters would only be chosen to set up a functional Genetic backtest. Changing these parameters will change how the optimization determines new parameters.

    Definitions for these Genetic Optimization parameters can be referenced in our help guide here: https://ninjatrader.com/support/help...ithmParameters

    Please let me know if you have any additional questions.
    JimNinjaTrader Customer Service


    Latest Posts


    Topics Statistics Last Post
    Started by NinjaCustomer, Yesterday, 11:35 PM
    0 responses
    Last Post NinjaCustomer  
    Started by sdauteuil, Yesterday, 11:29 PM
    0 responses
    1 view
    Last Post sdauteuil  
    Started by williamzz, Yesterday, 09:50 PM
    0 responses
    Last Post williamzz  
    Started by Steve L, Yesterday, 05:01 PM
    0 responses
    Last Post Steve L
    by Steve L
    Started by Trader-Joe, Yesterday, 04:06 PM
    1 response
    Last Post NinjaTrader_ShawnB