• 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 Steve L, Today, 05:01 PM
          0 responses
          6 views
          0 likes
          Last Post Steve L
          by Steve L
           
          Started by Trader-Joe, Today, 04:06 PM
          1 response
          13 views
          0 likes
          Last Post NinjaTrader_ShawnB  
          Started by vantojo, Today, 04:06 PM
          0 responses
          5 views
          0 likes
          Last Post vantojo
          by vantojo
           
          Started by tonynt, Today, 02:39 PM
          2 responses
          13 views
          0 likes
          Last Post tonynt
          by tonynt
           
          Started by StevenNelson, Today, 12:23 PM
          1 response
          12 views
          0 likes
          Last Post NinjaTrader_PatrickG  
          Working...
          X