Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Genetic Optimization Boolean Error on NT8b10?

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

    Genetic Optimization Boolean Error on NT8b10?

    Hello all, I'm preforming genetic optimization on my strategy and have some boolean variables. After doing an optimization these boolean variables (I believe) report incorrect results. For example, I leave the setting True;True;1 and after optimization I get a report back as False; True;True;1 (see attached pic)

    I don't know if this is a new optimization "feature" or just a bug. i.e. I don't know if the optimization is defaulted to "Optimize" on the boolean variable based on my settings. Any insight would be appreciated.

    Thank you
    Attached Files

    #2
    I have seen this as well.

    Comment


      #3
      Hello geekodude,

      Is IsInstantiatedOnEachOptimizationIteration set to true or false for your script?
      http://ninjatrader.com/support/helpG...niteration.htm

      How are these variables being initialized and reset? (Is this done in State.Historical?)

      Do you have a sample with just a couple bools to demonstrate the behavior?
      Chelsea B.NinjaTrader Customer Service

      Comment


        #4
        Hello geekodude,

        As I was not able to get an example script from you that reproduces the behavior, I have created a test script to test this, but I am not able to reproduce the behavior.

        The bool when true allows for trades to be made. When false no trades are made. This is to demonstrate the value the script is using internally and compare this with the state of the value in the summary parameters.

        Are you able to reproduce the behavior using the attached script?
        Attached Files
        Last edited by NinjaTrader_ChelseaB; 04-04-2016, 07:10 AM.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Sorry for the late reply. I used your example and got the same error. Attached is a screen shot. I optimized using 8 range chart with tick replay option set to true. I used ES 06-16 instrument with date range 03-13-16 to 03-24-16.

          Thanks in advance.
          Attached Files
          Last edited by geekodude; 03-27-2016, 12:32 PM.

          Comment


            #6
            Hello geekodude,

            I am not able to reproduce these results.

            I would like to schedule a call with you to test on your end.

            Please send an email to platformsupport [at] ninjatrader [dot] com. In the email please include a link to this forum thread.
            Attached Files
            Chelsea B.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by RookieTrader, Today, 09:37 AM
            3 responses
            15 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by kulwinder73, Today, 10:31 AM
            0 responses
            5 views
            0 likes
            Last Post kulwinder73  
            Started by terofs, Yesterday, 04:18 PM
            1 response
            23 views
            0 likes
            Last Post terofs
            by terofs
             
            Started by CommonWhale, Today, 09:55 AM
            1 response
            4 views
            0 likes
            Last Post NinjaTrader_Erick  
            Started by Gerik, Today, 09:40 AM
            2 responses
            7 views
            0 likes
            Last Post Gerik
            by Gerik
             
            Working...
            X