Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

8.1.4.1 update not saving time frame on strategy analyzer

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

    8.1.4.1 update not saving time frame on strategy analyzer

    I upgraded to version 8.1.4.1 and now the strategy analyzer is not saving the chosen time frame when duplicating in a new window or after saving / closing and reopening a workspace or after recompiling a strategy - this last one is particularly frustrating. I use a 1600 tick time frame and it keeps defaulting back to a 1 minute time frame.
    Last edited by zagier; 01-15-2025, 05:13 AM.

    #2
    Hello zagier,

    The issue would be compiling.

    When compiling this will terminate the instances used to populate the Strategy Analyzer and will reload new cloned instances.

    If you would like your settings to remain after compiling, save a default template.

    After setting the settings, click template > click save > click Save as Default.


    Note, as long as your are not compiling, the Strategy Analyzer settings will be retained when duplicating the window or closing and opening the workspace.

    Below is a link to a video that demonstrates.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi NinjaTrader_ChelseaB,
      Has this always been the case? For some reason, I am experiencing the same issue, but I don't remember this happening in version 8.1.3.1. I am currently on version 8.1.4.1. Thank you for your time.​

      Comment


        #4
        Hello thafuz,

        This has been the case since NinjaTrader 8 was in beta back in 2016.

        Another tip that's somewhat releated, OnWindowCreated() and OnWindowDestroyed() from any addons will also run when you compile. This allows any menu items to be properly updated.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          This continues to happen even after saving a default template again. Continually defaulting timeframe back to 1 minute. It did not occur until this latest update. Can you get a bug posted, or see if you can at least recreate it?

          Occurring on just leaving the window open for awhile too (I ran an optimization and when it was done it had changed to 1 min even though I ran on 1600 tick)

          Comment


            #6
            Hello zagier,

            Below is a link to a video showing a default template being saved and then compiling.


            Using the exact steps shown in the video the behavior on your end is different than what is shown in the video?
            Chelsea B.NinjaTrader Customer Service

            Comment


              #7
              I see the video, thank you. The default template is helping in that scenario, however I'm still finding scenarios where it occurs. I'm still confused because this never happened before the latest update.

              It just now occurred again on an optimization run (that took 1.5hrs) where I had it set to 1600 tick, changed some of the parameter ranges, and then when the run was done it showed 1 min again and it had run on 1 min timeframe instead of the 1600 tick. This has happened a few times over the past two weeks, I haven't narrowed down the exact scenario to replicate the behavior though.

              Comment


                #8
                Hello zagier,

                From my experience compiling has always cloned new instances to populate the Strategy Analyzer drop-drown since NinjaTrader 8 was first developed.

                If you would like to test the previous version, you can download this from the Account Portal.



                "It just now occurred again on an optimization run (that took 1.5hrs) where I had it set to 1600 tick, changed some of the parameter ranges, and then when the run was done it showed 1 min again and it had run on 1 min timeframe instead of the 1600 tick. This has happened a few times over the past two weeks, I haven't narrowed down the exact scenario to replicate the behavior though."

                Did you compile?

                Can you reproduce this with the Sample MA Crossover included with NinjaTrader?
                Chelsea B.NinjaTrader Customer Service

                Comment


                  #9
                  I will look at trying to get a solid set of reproduction steps for you. It still just seems to happen randomly, where I'm off writing code on my other machine, look at a chart, and then come back to run a strategy analyzer or optimization again only to realize it had yet again swapped to 1 min.

                  For now I will roll back to 8.1.3.1 in my dev environment. Quickly scanning the release notes for 8.1.4.1, I don't think I need any of the new features, although I do see some bug fixes on strategy analyzer, so I'll refer back to this too if need be.

                  Comment


                    #10
                    Originally posted by zagier View Post
                    I see the video, thank you. The default template is helping in that scenario, however I'm still finding scenarios where it occurs. I'm still confused because this never happened before the latest update.

                    It just now occurred again on an optimization run (that took 1.5hrs) where I had it set to 1600 tick, changed some of the parameter ranges, and then when the run was done it showed 1 min again and it had run on 1 min timeframe instead of the 1600 tick. This has happened a few times over the past two weeks, I haven't narrowed down the exact scenario to replicate the behavior though.
                    I am too experiencing this issue. This issue has never happened prior to this update. The hours template selected also keeps changing every time I run a back test. This is definitely a new problem that did not exist with previous versions.

                    I don't even have to open and close any windows for the issue to arise. I can just rerun a backtest on an already opened strategy analyzer window and it keeps reverting to 1 min and the hourly template keeps changing.

                    Comment


                      #11
                      Hello burmaz,

                      "The hours template selected also keeps changing every time I run a back test."

                      This has been reported to our development.

                      See the post linked below.


                      This thread is about the data series interval (time frame) reverting to default.

                      So far I have not reproduced the interval changing, but I may not have the correct steps.

                      zagier, please let me know if there are different steps than what I showed in the video that I should take to result in this behavior.
                      Chelsea B.NinjaTrader Customer Service

                      Comment


                        #12
                        Originally posted by NinjaTrader_ChelseaB View Post
                        Hello burmaz,

                        "The hours template selected also keeps changing every time I run a back test."

                        This has been reported to our development.

                        See the post linked below.


                        This thread is about the data series interval (time frame) reverting to default.

                        So far I have not reproduced the interval changing, but I may not have the correct steps.

                        zagier, please let me know if there are different steps than what I showed in the video that I should take to result in this behavior.
                        Yes I understand what this thread's topic is. What I am saying is that I am experiencing the SAME issue that the OP is experiencing, AND when it occurs, the hour template resets too. These issues seem to be connected.


                        In addition to the reset to 1 min like what the OP is experiencing, it also will occasionally randomly reset to other previously used time frames. The issue is pretty disruptive in my work flow to rerun backtests over and over and to have to catch when ninjatrader randomly changes the time frame.

                        I have since reverted to the previous NT version b/c this bug is too disruptive for my uses.

                        Comment


                          #13
                          Hello burmaz,

                          Thank you for the information.

                          Our development is looking into the issue.
                          Chelsea B.NinjaTrader Customer Service

                          Comment

                          Latest Posts

                          Collapse

                          Topics Statistics Last Post
                          Started by davider97, Yesterday, 09:42 AM
                          11 responses
                          65 views
                          0 likes
                          Last Post davider97  
                          Started by XanderT, Today, 03:47 AM
                          9 responses
                          29 views
                          0 likes
                          Last Post XanderT
                          by XanderT
                           
                          Started by totalnewbie, Today, 10:03 AM
                          3 responses
                          6 views
                          0 likes
                          Last Post NinjaTrader_Jesse  
                          Started by sgordet, Today, 10:34 AM
                          1 response
                          3 views
                          0 likes
                          Last Post NinjaTrader_ChristopherJ  
                          Started by DanielRaz, 05-06-2024, 12:54 PM
                          3 responses
                          47 views
                          0 likes
                          Last Post NinjaTrader_ChelseaB  
                          Working...
                          X