Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How does Genetic Optimizer combine parameters?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How does Genetic Optimizer combine parameters?

    Hi,

    If I have 5 parameters in an array each with a min/max range, does the Genetic optimizer randomly combine parameters and/or mutates them? Just trying to understand how to set it up. For example, i have the following X inputs that are OHLC for different time frames

    [X1,X2,X3,X4,Y1]=[1*X1,1*X2,1*X3,1*X4,1*Y1]



    If I set the buy condition as :

    if(Y1>0.9)

    Will the optimizer combine the above parameters to optimize the value of Y1 by itself? Or would I have to manually provide a relation/formula between each parameters such as X1*0.98+X2*0.23+X3*1+X4*0.34-Y1=0. If i am correct, i believe the Genetic optimizer is supposed to combine the right number of parameters through mutation and speciation.

    I'd appreciate your support on my query. Thank You

    #2
    Hello MyFirstMillion,

    The regular Optimizer will test every combination of optimizable inputs. This is like a brute force.

    The Genetic Optimizer does some randomization of the input parameters as seeds, finds the best winners, and does further opmizations around those sets of parameters.

    Below is a link to the help guide.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    45 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    21 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    31 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    50 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Working...
    X