Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

programmatically control playback speed

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

    programmatically control playback speed

    Looking through the forums, I can see various requests for this, so I don't think it's possible, but, in the hope, someone came up with a solution (and a product suggestion).

    Any way to control the speed or pause playback from NT, or on events. For example, I want to run playback until a trade occurs, then pause/stop. I can issue the stop/ pause code from ninjascript, or, for the rest of the world, having options to stop/pause playback on certain events such as an order placed would be a very nice feature.

    Thanks.

    #2
    Hello pjsmith,

    Thank you for your post.

    There's not a currently supported way to control playback speed from NinjaScript.

    However, I have added a vote for you to a current feature request to expose the playback controls to NinjaScript. This request is being tracked under the number SFT-3262.

    As with all feature requests, interest is tracked before implementation is considered, so we cannot offer an ETA or promise of fulfillment. If implemented, it will be noted in the Release Notes page of the Help Guide.

    Release Notes — https://ninjatrader.com/support/help...ease_notes.htm

    Please let us know if we may be of further assistance to you.

    Comment


      #3
      Code:
      if ( Cbi.Connection.PlaybackConnection != null && CurrentBar == 60)
      {
      NinjaTrader.Adapter.PlaybackAdapter.PlaybackSpeed = 0;
      }​

      Comment


        #4
        Originally posted by balltrader View Post
        Code:
        if ( Cbi.Connection.PlaybackConnection != null && CurrentBar == 60)
        {
        NinjaTrader.Adapter.PlaybackAdapter.PlaybackSpeed = 0;
        }​
        WOAHA! balltrader You star! Thank you for taking the time to respond and suggest a solution even when Ninjatrader did not even after 3 years as an outstanding feature request. I do appreciate it.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        557 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        324 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        545 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        547 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X