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 helpwanted, Today, 03:06 AM
      2 responses
      21 views
      0 likes
      Last Post NinjaTrader_LuisH  
      Started by DayTradingDEMON, Today, 09:28 AM
      0 responses
      1 view
      0 likes
      Last Post DayTradingDEMON  
      Started by navyguy06, Today, 09:28 AM
      0 responses
      2 views
      0 likes
      Last Post navyguy06  
      Started by rjbtrade1, 11-30-2023, 04:38 PM
      2 responses
      77 views
      0 likes
      Last Post DavidHP
      by DavidHP
       
      Started by cmtjoancolmenero, Yesterday, 03:58 PM
      7 responses
      31 views
      0 likes
      Last Post cmtjoancolmenero  
      Working...
      X