Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bug with "Bar Index" in DataBox window

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

    Bug with "Bar Index" in DataBox window

    Hello,
    this video shows a bug with the "Bar index" field in the "Data Box" window.


    (This same error occurs when calling the "ChartBars.GetBarIdxByX" method from NinjaScript code).


    #2
    Hello cls71,

    Thank you for your post.

    This is expected behavior for range bars when the market is moving very fast. The range bars will put in filler bars to fill in any gaps.

    These filler bars will have a volume of 1 because the volume cannot be 0.

    Please let us know if you have any further questions.

    Comment


      #3
      Thanks Gaby for the answer.
      Please take a time to watch the video and understand what is tried to explain. That behavior is wrong, it can never be expected. It behaves differently depending on the zoom (number of visible bars in the Chart), and then the Databox shows an erroneous BarIndex, etc. The error only occurs when only gap bars are shown in the Chart.
      The video does not deal with volumes, but of the BarIndex.​ The Databox shows the data of a different bar than the one that corresponds according to the position of the mouse.
      Anyone can verify it by loading yesterday's session of ES 06-24

      Comment


        #4
        Hello cls71,

        I did watch your video, and I also loaded yesterday's session of ES 06-24. However, I am not able to replicate this behavior and I am also not seeing these same 4 Range bars that you are seeing for that same date and timeframe.

        Here is a video demonstrating:

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


        If you right-click > Reload the Historical Data on the chart, are you still seeing those range bars with 1 volume?
        Last edited by NinjaTrader_Gaby; 06-14-2024, 01:25 PM.

        Comment


          #5
          Hello Gaby,
          those bars are not. My Timezone is UTC+1 (Madrid). My 14:30 pm may be your 07:30 am. It is the moment the data of the "Consumer Price Index" was published yesterday.​

          Comment


            #6
            Hello cls71,

            Thank you for clarifying.

            However, I am not able to replicate this behavior on my end. Please see this video demonstrating:

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


            What version of NinjaTrader are you using?

            Have you right clicked to Reload the historical data?
            Last edited by NinjaTrader_Gaby; 06-14-2024, 05:47 AM.

            Comment


              #7
              Hello Gaby,
              you have only lacked to make a little more zoom-in to remove one more bar on the left (as in my video).

              When the first bar on the left is a "filling" bar, the DataBox does not work. I share another video, it is basically like the first, but I hope it is clearer.​

              Comment


                #8
                Hello cls71,

                Thanks for clarifying.

                I will look into this and get back to you with more information as soon as possible.

                Comment


                  #9
                  Hello cls71,

                  Thank you for reporting.

                  I was able to replicate this behavior and have reported this to our Development Team. The tracking ID for this request is NT-18332.

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by abelsheila, 05-14-2025, 07:38 PM
                  2 responses
                  33 views
                  0 likes
                  Last Post hglover945  
                  Started by nailz420, 05-14-2025, 09:14 AM
                  1 response
                  72 views
                  0 likes
                  Last Post NinjaTrader_ChristopherJ  
                  Started by NinjaTrader_Brett, 05-12-2025, 03:19 PM
                  0 responses
                  352 views
                  1 like
                  Last Post NinjaTrader_Brett  
                  Started by domjabs, 05-12-2025, 01:55 PM
                  2 responses
                  66 views
                  0 likes
                  Last Post domjabs
                  by domjabs
                   
                  Started by Morning Cup Of Trades, 05-12-2025, 11:50 AM
                  1 response
                  87 views
                  0 likes
                  Last Post NinjaTrader_ChristopherJ  
                  Working...
                  X