Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Premature Bar Closures at Midnight!!!!

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

    Premature Bar Closures at Midnight!!!!

    NT,

    This appears to be happening on a number of charts.

    With a setting of 7/24 on the chart, At midnight the current active bar is being terminated in favor of a new bar.

    I'm attaching a Renko 6 tick chart.

    Note the flat bar terminations at midnight.

    The bars preceding and following the flat bar do not line up top to bottom.

    They are mismatched.

    Bar terminations are also happening on range charts too but harder to see.

    RJay
    Attached Files
    RJay
    NinjaTrader Ecosystem Vendor - Innovative Trading Solutions

    #2
    This is expected behaviour. Bars will always terminate at their session definition boundaries.
    RayNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Ray View Post
      This is expected behaviour. Bars will always terminate at their session definition boundaries.
      7/24 means 7/24. If NT7 is only 1/24 seven times a week, this is a problem.

      Historical as well as live charting needs to be continuous.

      The fact that charts in NT6.5 do not have this problem means NT7 is a step down where chart continuity is concerned.

      How do you back test or auto trade overnight on faulty charts???

      Looking at some other threads, I see many complaints about problems that also occur exactly at midnight.

      This is expected behavior!!! Really!!!
      RJay
      NinjaTrader Ecosystem Vendor - Innovative Trading Solutions

      Comment


        #4
        OK, Let's take a survey!!!

        Which NT7 chart below would you want to trade on!!!




        Attached Files
        Last edited by RJay; 01-18-2010, 03:36 PM.
        RJay
        NinjaTrader Ecosystem Vendor - Innovative Trading Solutions

        Comment


          #5
          I think that this creation of a new bar at midnight thing is creating data continuity problems as per the previous posts in this thread. Please also check this thread:



          I have found a problem with 3 line break charts not being built correctly across the midnight boundary. If this issue is in fact the source of the problem, then it is even more severe with that chart type. This is a serious bug if that is the case, because it essentially makes it impossible to use Line Break charts.

          One particularly severe problem is that sometimes it will start building a very "tall" line break bar at midnight, depending on what the data is. When this happens, new bars will only start being built after the price has moved out of a certain range of that bar. This is a serious problem, because it could mean that data is screwed up for hours on end after midnight in certain cases as no new bars are built for a very long time. Please test this out and verify if my theory is correct, but I believe that it probably is.

          For these types of price-based charts, I really don't think that you can just start building new bars arbitrarily at a given time (like midnight) because that is basically breaking the rules of how these charts are supposed to be built. On Renko charts it's not that bad, on larger Range charts it's a little worse, and on Line Break charts it can be really bad. If you do things this way I think that it's basically screwing up the data representation, making what you are displaying on screen essentially wrong. Please look into this and see if you can somehow span the creation of these bar types correctly across midnight. For time based charts, it really doesn't matter that much, but for these other types it does, and in some cases, makes it unusable.

          Comment


            #6
            I thought that changing the session start and end times might help me to solve this problem, so I changed the Default 24/7 template to start at 6PM one day and end at 5:30 PM the next day, effectively making midnight part of one session (instead of a session boundary). See attached screenshot.

            Unfortunately, I am still seeing a session break line at midnight, the problem with LineBreak bars still exists as described, and it doesn't look like the new session data is being used. The chart is correctly set to use the 24/7 session, the data has been updated in the Session Manager, and I even removed and then added the instruments back to my default list. It looks like it's still using midnight as the boundary. Why is this not working?...
            Attached Files

            Comment


              #7
              Originally posted by JS999 View Post
              I thought that changing the session start and end times might help me to solve this problem, so I changed the Default 24/7 template to start at 6PM one day and end at 5:30 PM the next day, effectively making midnight part of one session (instead of a session boundary). See attached screenshot.

              Unfortunately, I am still seeing a session break line at midnight, the problem with LineBreak bars still exists as described, and it doesn't look like the new session data is being used. The chart is correctly set to use the 24/7 session, the data has been updated in the Session Manager, and I even removed and then added the instruments back to my default list. It looks like it's still using midnight as the boundary. Why is this not working?...
              JS9999,

              It appears that this chart bar closure, wait for next bar issue, is a condition built into each chart type.

              If there is no resolution or reasonable explanation for doing this, I will do what I need to do to resolve this on my computer after the official release.

              Till Then,

              RJay
              Last edited by RJay; 01-19-2010, 08:10 AM.
              RJay
              NinjaTrader Ecosystem Vendor - Innovative Trading Solutions

              Comment


                #8
                RJay,

                Thank you for your comments. The reason it is done this way is to prevent issues users were having when comparing charts to each other that had different starting points. This allowed for consistency across different days. Also, if you loaded a chart from 1/1 versus 1/5 you could have had a completely different chart by the time it came to 1/19 which is addressed with this behavior.

                The old behavior, basically it means that if on 1/19 you loaded a chart from 5 days back would essentially be a different chart than what you would load on 1/20 with 5 days back.
                Josh P.NinjaTrader Customer Service

                Comment


                  #9
                  Originally posted by NinjaTrader_Josh View Post
                  RJay,

                  Thank you for your comments. The reason it is done this way is to prevent issues users were having when comparing charts to each other that had different starting points. This allowed for consistency across different days. Also, if you loaded a chart from 1/1 versus 1/5 you could have had a completely different chart by the time it came to 1/19 which is addressed with this behavior.

                  The old behavior, basically it means that if on 1/19 you loaded a chart from 5 days back would essentially be a different chart than what you would load on 1/20 with 5 days back.
                  Josh, is it starting this new bar automatically on the date changeover or on the session changeover? It should be doing it on the session changeover, correct? If I set my session start to go from 6 PM one day to 5 PM the next day, I should not see this issue at the midnight boundary, correct? That's the way it should be working, since there is no reason to split anything at midnight if I designate it as all being part of a single session. Please confirm...

                  Comment


                    #10
                    JS999,

                    Correct. It does so on the session changeover.
                    Josh P.NinjaTrader Customer Service

                    Comment


                      #11
                      Originally posted by NinjaTrader_Josh View Post
                      JS999,

                      Correct. It does so on the session changeover.
                      Thanks Josh - can you take a look at my post earlier in this thread regarding that issue? I tried to make a session span the midnight boundary, but for some reason it didn't appear to be working. Any ideas?

                      Comment


                        #12
                        JS999,

                        Try deleting all your historical data and reloading the data for a fresh set after you have made that session template change. Please close all old charts and opening new ones when doing this.
                        Josh P.NinjaTrader Customer Service

                        Comment


                          #13
                          Originally posted by NinjaTrader_Josh View Post
                          JS999,

                          Try deleting all your historical data and reloading the data for a fresh set after you have made that session template change. Please close all old charts and opening new ones when doing this.
                          Thanks Josh... how exactly do I do this in NT 7? Do I just delete data in some directories, or is there a way to do it in the interface?

                          Comment


                            #14
                            You can use the Historical Data Manager's edit tab in the Tools menu.
                            Josh P.NinjaTrader Customer Service

                            Comment


                              #15
                              Originally posted by NinjaTrader_Josh View Post
                              You can use the Historical Data Manager's edit tab in the Tools menu.
                              Alright, I will try it tonight and see if it works...

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                              0 responses
                              593 views
                              0 likes
                              Last Post Geovanny Suaza  
                              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                              0 responses
                              343 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by Mindset, 02-09-2026, 11:44 AM
                              0 responses
                              103 views
                              0 likes
                              Last Post Mindset
                              by Mindset
                               
                              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                              0 responses
                              556 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by RFrosty, 01-28-2026, 06:49 PM
                              0 responses
                              554 views
                              1 like
                              Last Post RFrosty
                              by RFrosty
                               
                              Working...
                              X