Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Replay Question

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

    Replay Question

    Hello all,

    Is there a keystroke that will take you one bar at a time forwards or backwards?

    Thanks.

    #2
    Hello Segwin,

    Thanks for your post.

    You can use the left and right arrow keys on your keyboard to accomplish this.

    Please do not hesitate to contact us for any other NinjaTrader inquiries you may have.

    Comment


      #3
      Hello Shawn,

      I'm connected to the playback connection, the radio button for Market Replay is selected, I press the green play button on the Playback window and pressing any of the four arrow keys does nothing here. There is data there and if I increase the speed it does change. I have a few charts open if that makes a difference.

      Thanks.

      Comment


        #4
        Hello Segwin,

        Thanks for your post.

        Please select your chart by left-clicking on it, then try using the left and right arrow keys.

        Please do not hesitate to contact us for any other NinjaTrader inquiries you may have.

        Comment


          #5
          No, that doesn't make a difference Shawn. The only thing the arrow keys do is move the chart left,right, up & down. I'm using a Logitech G19 keyboard if that makes any difference (it shouldn't though).

          2nd edit: If I click on the playback window itself then the arrow keys work but it only changes the time by 1 second and not one day/one bar.
          Last edited by Segwin; 02-10-2022, 03:31 PM.

          Comment


            #6
            Hello Segwin,

            Thanks for your post.

            I see. You are wanting to replay the bars one at a time. Unfortunately, there isn't a way to replay data one bar at a time. There is only the option to navigate historical data one bar at a time.

            Please do not hesitate to contact us for any other NinjaTrader inquiries you may have.

            Comment


              #7
              I switched to historical on the playback window and the arrow keys still only work to change the time in 1 second intervals.

              Comment


                #8
                Hello Segwin,

                Thanks for your post.

                I was referring to historical data in a chart, not the historical playback option. The playback connection will not allow users to move forward and play market replay data or historical data one bar at a time.

                Please do not hesitate to contact us for any other NinjaTrader inquiries you may have.

                Comment


                  #9
                  Hi Segwin,

                  There's a way to accomplish this but will require Visual Studio in debug mode. If you are familiar with this feature, then here's what you can do.

                  In the OnBarUpdate() method, do a check for if (IsFirstTickOfBar) and have a simple Print statement. On that Print statement, put a debug breakpoint. That way, no matter what speed you have replay at, it will always stop on the first tick of the new bar. This will allow you to view the events/status of the just completed bar.

                  Admittedly, this solution requires to be comfortable with Visual Studio and know a little bit of code.

                  Hope that helps!
                  Matt

                  Comment


                    #10
                    Hi, I can confirm there is no function to step through the bars in replay. Stealth has a good solution but does require some prerequisite knowledge of running and creating NinjaScripts. All the tools and educational resources for creating scripts is linked here:


                    Kind regards,
                    -ChrisL

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by argusthome, 03-08-2026, 10:06 AM
                    0 responses
                    61 views
                    0 likes
                    Last Post argusthome  
                    Started by NabilKhattabi, 03-06-2026, 11:18 AM
                    0 responses
                    40 views
                    0 likes
                    Last Post NabilKhattabi  
                    Started by Deep42, 03-06-2026, 12:28 AM
                    0 responses
                    21 views
                    0 likes
                    Last Post Deep42
                    by Deep42
                     
                    Started by TheRealMorford, 03-05-2026, 06:15 PM
                    0 responses
                    23 views
                    0 likes
                    Last Post TheRealMorford  
                    Started by Mindset, 02-28-2026, 06:16 AM
                    0 responses
                    51 views
                    0 likes
                    Last Post Mindset
                    by Mindset
                     
                    Working...
                    X