Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Simple chart not displayed correctly with Non-Equidistant Bar Spacing.

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

    Simple chart not displayed correctly with Non-Equidistant Bar Spacing.

    NinjaTrader 8.0.5.1.


    Please find attached a chart that shows that the legend for February 20 is missing.

    The session break at the end of the trading day is also missing,


    February 20 was a holiday with an early close.

    The same observation can be made for January 16, which also was a holiday with an early close.
    Attached Files

    #2
    Simple chart not displayed correctly with Non-Equidistant Bar Spacing.

    NinjaTrader 8.0.5.1.

    When I unselect Equidistant Bar Spacing under Properties, NinjaTrader adds a fractional bar series below the primary bars. The bar fragment only appears when the chart is horizontally compressed.

    The first chart is a naked 15 min chart. The second chart is the same chart with a default SMA applied.

    Very creative charting, but not very helpful.

    The bug is reproducible.
    Attached Files
    Last edited by Harry; 03-15-2017, 12:01 PM.

    Comment


      #3
      Holiday session problem

      I have now discovered that the lower bars are the holiday session from February 20.

      Please see chart attached.
      Attached Files

      Comment


        #4
        Same problem for January 16

        Non-equidistant bar spacing,
        Attached Files

        Comment


          #5
          Solution:

          The issue is caused by false Trading Hours which were newly entered for the release 8.0.5.1.

          Please review the Trading Hours.

          All NYMEX templates have false trading hours for 2017.

          When the end dates are corrected, the problem disappears.

          Comment


            #6
            I've merged your posts together which pertain to the same root cause.

            I could not reproduce this on my end.

            Can you tell me what the holiday hours were for Feb. 20 2017 and Jan 16 2017 prior to you adjusting them manually?

            Comment


              #7
              Originally posted by NinjaTrader_PatrickG View Post
              I've merged your posts together which pertain to the same root cause.

              I could not reproduce this on my end.

              Can you tell me what the holiday hours were for Feb. 20 2017 and Jan 16 2017 prior to you adjusting them manually?

              For reproducing the problem, please unselect "Equidistant bar spacing" under Properties and compress chart horizontally.

              For the trading hours (all NYMEX templates) you need to set the "End date" equal to the "Trading date."

              I have a screenshot attached with the false entries marked.
              Attached Files

              Comment


                #8
                I do not see these unexpected charts even though my trading hours are identical to yours:

                World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.


                Can you clarify - the resolution on your end to both of these symptoms is to change the 'end date' to match the 'trading date' for the Jan 16 2017 and Feb 20 2017 holiday hours?

                Comment


                  #9
                  I have changed the trading hours for the template "Nymex Metals - Energy ETH" by setting the end date to the trading date (as it was set for 2015 and 2016). This fixed the problem.

                  I have not changed the other templates, because I do not use them.

                  But if I apply one of the other templates, which I did not change, the chart also becomes unusable. Please find below a simple 60 min chart that I have opened with the template "Nymex Energy RTH" - always non-equidistant bar spacing.
                  Attached Files

                  Comment


                    #10
                    When equidistant bar spacing is selected, the session break lines are missing with the false trading hours template.
                    Attached Files

                    Comment


                      #11
                      The Development Team has made some additional changes to the trading hours templates. Please update your trading hours templates, delete you cache, and test.

                      To update your trading hours templates:
                      • Tools > Database Management
                      • Expand 'Update Trading Hours Templates'
                      • Update

                      To clear your cache:
                      • Shut down NinjaTrader.
                      • Open the Documents > NinjaTrader 8 > db folder.
                      • Delete the sub-folder named 'cache'.
                      • Restart NinjaTrader and test.

                      Comment


                        #12
                        Hi Patrick,

                        Thank you for you quick response.

                        I have updated the Trading Hours Template and deleted the subfolder cache of the db directory as requested.

                        After a restart of NinjaTrader, I am not getting the old problem again, but a new problem instead.

                        The holidays are not correctly charted, as all the holiday data from midnight until 1:00 PM is missing.

                        Again all trading hours templates for NYMEX are false.

                        This time the end dates are correct, but the end times are now incorrect.
                        Attached Files

                        Comment


                          #13
                          OK, we have resolved this on the backend.

                          Please update your trading hours templates, delete you cache, and test.

                          To update your trading hours templates:
                          • Tools > Database Management
                          • Expand 'Update Trading Hours Templates'
                          • Update

                          To clear your cache:
                          • Shut down NinjaTrader.
                          • Open the Documents > NinjaTrader 8 > db folder.
                          • Delete the sub-folder named 'cache'.
                          • Restart NinjaTrader and test.

                          Comment


                            #14
                            Now you have got both wrong

                            -> false end dates (old end dates that were entered before)
                            -> false end times (it should be 13:00 and not 12:00, because it is EST)

                            Every time the development team touches it, it gets worse.

                            Now all data for February 20 has disappeared.

                            Are you serious?
                            Attached Files
                            Last edited by Harry; 03-16-2017, 04:14 PM.

                            Comment


                              #15
                              Patrick, what is going on here?

                              This morning I have updated to NT 8.0.5.2 and the templates are again false.

                              Data is missing for January 16 and February 20.

                              This is a very simple task. All you need to do is to copy the end dates and end times for the CME/NYMEX holidays with an early close from the CME holiday calendar.

                              The CME holiday calendar is availale here for the years 2009 - 2017.



                              It would be nice to have those dates entered, as this is needed for correct backtesting over several years.

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by NullPointStrategies, Today, 05:17 AM
                              0 responses
                              20 views
                              0 likes
                              Last Post NullPointStrategies  
                              Started by argusthome, 03-08-2026, 10:06 AM
                              0 responses
                              119 views
                              0 likes
                              Last Post argusthome  
                              Started by NabilKhattabi, 03-06-2026, 11:18 AM
                              0 responses
                              63 views
                              0 likes
                              Last Post NabilKhattabi  
                              Started by Deep42, 03-06-2026, 12:28 AM
                              0 responses
                              41 views
                              0 likes
                              Last Post Deep42
                              by Deep42
                               
                              Started by TheRealMorford, 03-05-2026, 06:15 PM
                              0 responses
                              45 views
                              0 likes
                              Last Post TheRealMorford  
                              Working...
                              X