• 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.

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
    Patrick H.NinjaTrader Customer Service

    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 indy73, Today, 10:52 PM
          0 responses
          3 views
          0 likes
          Last Post indy73
          by indy73
           
          Started by martyn73, Today, 07:04 PM
          0 responses
          5 views
          0 likes
          Last Post martyn73  
          Started by sergey_z, Today, 02:56 PM
          1 response
          10 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by samir, Today, 02:46 PM
          1 response
          20 views
          0 likes
          Last Post NinjaTrader_Kate  
          Started by neoikon, Today, 02:24 PM
          1 response
          8 views
          0 likes
          Last Post NinjaTrader_ChristopherJ  
          Working...
          X