Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Allow user-defined fitness functions for genetic optimization (like Fill Types)

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

    Allow user-defined fitness functions for genetic optimization (like Fill Types)

    Something similar to this has been suggested before years ago, but I thought I'd put in my request with a little twist...

    It would be great if users could easily define a fitness function to be used in genetic optimization much in the same way that users can now define their own custom Fill Types.

    This would be a way to greatly enhance the power of the current genetic optimizer, and it would eliminate the need for NinjaTrader users to delve into modifying the genetic optimizer code itself just to define a new fitness function.

    #2
    Hello flonkle,

    Thank you for your post.

    This will be supported in the next major release of NinjaTrader. You can view the major enhancements that have been confirmed at the following link: http://www.ninjatrader.com/downloads...njaTrader8.pdf

    Comment


      #3
      Originally posted by flonkle View Post
      Something similar to this has been suggested before years ago, but I thought I'd put in my request with a little twist...

      It would be great if users could easily define a fitness function to be used in genetic optimization much in the same way that users can now define their own custom Fill Types.

      This would be a way to greatly enhance the power of the current genetic optimizer, and it would eliminate the need for NinjaTrader users to delve into modifying the genetic optimizer code itself just to define a new fitness function.
      You can write your own fitness functions right now. Look in this thread for 2 examples of how it is done.

      ref: http://www.ninjatrader.com/support/f...d.php?p=231236

      Comment


        #4
        Thanks for pointing me in the right direction koganam!!

        I guess you can already write some custom fitness functions (as long as you can combine/massage the pre-defined NT performance metrics in a way that gives you the custom fitness function you want).

        And this is done much in the same way that you write custom fill types, with the code housed in the same NT directory, to boot!!

        I guess I was the one who was confused!!

        Comment


          #5
          Upon further inspection, I realize that you really can do a lot by iterating over the trades in a given TradeCollection. The methods and properties of each Trade object in the collection give you access to tons of useful information that should allow you to code some fairly sophisticated fitness functions.

          So, you're not really limited to using only pre-defined performance metrics from NT7 as subcomponents of your custom fitness functions after all...

          Woo hoo!!
          Last edited by flonkle; 08-08-2014, 09:43 AM.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by jaybedreamin, Today, 05:56 PM
          0 responses
          3 views
          0 likes
          Last Post jaybedreamin  
          Started by DJ888, 04-16-2024, 06:09 PM
          6 responses
          18 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Started by Jon17, Today, 04:33 PM
          0 responses
          1 view
          0 likes
          Last Post Jon17
          by Jon17
           
          Started by Javierw.ok, Today, 04:12 PM
          0 responses
          6 views
          0 likes
          Last Post Javierw.ok  
          Started by timmbbo, Today, 08:59 AM
          2 responses
          10 views
          0 likes
          Last Post bltdavid  
          Working...
          X