Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy optimizer, always another result.

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

    Strategy optimizer, always another result.

    Hello all,

    I try to optimize my strategy with Genetic(original part of ninjatrader 7).
    this is how i optimize my strategy:
    -choose dates, lets say: 01.01.2012 - 25.05.2012
    - lets take a strategy, in this example named: TOTO
    -lets give parameters for TOTo: initial stop loss, break even point, autotrail.
    and now lets run it. we have a result: 241trades, PNL +1050usd and so on...

    now I press again Optimize and lets wait for the result. Do not forget we do not change any parameters, or date, all stay the same....
    we have result:
    238 trades, PNL: -5625usd and so on....

    how is it possible that everytimes, strategy optimizer give me different results for same strategy, same period of time??

    i connect using CQG demo account, and i can say that right now, i am blocked!

    Please help to understand this extraordinary phenomenom.

    Thanks!

    Regards,
    Frederic

    #2
    Hello Frederic,

    I am not sure why you experience different results. Are you able to clarify the difference if you analyze the trades that happened?

    Please double check if the exact same settings are used.

    Are you able to reproduce the issue when testing the SampleMACrossOver strategy?
    JasonNinjaTrader Customer Service

    Comment


      #3
      Originally posted by Frederic View Post
      Hello all,

      I try to optimize my strategy with Genetic(original part of ninjatrader 7).
      this is how i optimize my strategy:
      -choose dates, lets say: 01.01.2012 - 25.05.2012
      - lets take a strategy, in this example named: TOTO
      -lets give parameters for TOTo: initial stop loss, break even point, autotrail.
      and now lets run it. we have a result: 241trades, PNL +1050usd and so on...

      now I press again Optimize and lets wait for the result. Do not forget we do not change any parameters, or date, all stay the same....
      we have result:
      238 trades, PNL: -5625usd and so on....

      how is it possible that everytimes, strategy optimizer give me different results for same strategy, same period of time??

      i connect using CQG demo account, and i can say that right now, i am blocked!

      Please help to understand this extraordinary phenomenom.

      Thanks!

      Regards,
      Frederic
      A genetic optimizer gets its speed of testing precisely because it is not exhaustive. A genetic optimizer does not test every possibility: instead it uses principles of genetic inheritance to try to test the most likely outcomes. Thus it is often prone to finding local optimum points and even sometimes getting stuck optimizing around them. As it uses pseudo-random seeds to find its initial iteration points, it may find different optimal values in different runs.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by thomson, Today, 12:00 PM
      0 responses
      3 views
      0 likes
      Last Post thomson
      by thomson
       
      Started by cmtjoancolmenero, Today, 11:56 AM
      0 responses
      3 views
      0 likes
      Last Post cmtjoancolmenero  
      Started by Uregon, 11-02-2023, 03:03 AM
      20 responses
      542 views
      0 likes
      Last Post MuMiX
      by MuMiX
       
      Started by raffu, Today, 11:41 AM
      0 responses
      1 view
      0 likes
      Last Post raffu
      by raffu
       
      Started by carnitron, 04-27-2024, 08:42 PM
      2 responses
      20 views
      0 likes
      Last Post carnitron  
      Working...
      X