Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Adding Multi-Series Indicator to the Market Analayzer Hangs Playback

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

    Adding Multi-Series Indicator to the Market Analayzer Hangs Playback

    Adding an indicator that calls AddDataSeries to the Market Analyzer hang playback. The playback window pops up, and NinjaTrader shows it as connected but all the controls in the Playback are greyed out, including the playback button.

    If you start in an empty workspace, and then switch to a workspace with the market analyzer it seems to work. The workspace with the indicator in the Market Analyzer must be closed before attempting to do so.

    Task Manager reports no significant CPU or Disk activity while it sits there. No amount of time makes it eventually enable.

    I tested this with a clean version of NinjaTrader, using the latest release. The only custom code is a very simple indicator with AddDataSeries calls. See the attached code.

    Playback was tested using "Historical" mode.

    Attached Files

    #2
    Hello ntbone,

    Likely, historical data is being loaded.

    If you set 'Load data base on' to bars and set the bars to load to 1, do you see the same delay?

    Do you see the same delay when connecting to the playback and starting playback with no script enabled?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      As I said in my original post, if I load an empty workspace first and then switch to the workspace with the simple multi-series script the playback controls work enable instantly and it doesn't take any time to load the workspace with the multi-series script.

      If I comment out the code for AddDataSeries it also loads the workspace right away.

      If it was loading data, then I would expect it to take a long time when switching workspaces, I would also expect CPU usage to be high while switching to Playback connection and I would expect that the controls would become enabled in a reasonable amount of time. I have left it sitting there for many minutes and the controls never become enabled. It appears as if something is blocking preventing the UI from becoming enabled.

      Reproduction steps
      1. Install fresh copy of NinjaTrader
      2. Install the attached script above
      3. Download 2 months worth of APPL tick, minute and daily data.
      4. Setup a one minute chart of 5 days.
      5. Add the indicator in the attached script.
      6. Connect to playback connection.
      7. Notice that the controls appear to indefinitely stay greyed out.
      8. Exit Playback connection
      9. Create a blank workspace, close the previous one.
      10. Connect to playback.
      11. Connection is instantaneous.
      12. Switch to previously created workspace with the indicator.
      13. Workspace loads almost instantly, playback can preformed right away.

      Comment


        #4
        Hello ntbone,

        Thanks for steps. I was able to reproduce and reduce to a single added series that does not match the primary.

        I've reported to our development and am waiting for a tracking ID for this issue.

        I appreciate your patience.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Thank you.

          Comment


            #6
            Hello ntbone,

            I've received tracking ID# NTEIGHT-14849 for this behavior.

            As new releases of NinjaTrader 8 become available, please check the release notes for this ID. Once listed, please update NinjaTrader and test to confirm the behavior is corrected.
            https://ninjatrader.com/support/help...ease_notes.htm

            Thank you for reporting this. Please let me know of any other behaviors you find that you feel are incorrect.
            Chelsea B.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by wftrrdt, Today, 05:01 AM
            0 responses
            3 views
            0 likes
            Last Post wftrrdt
            by wftrrdt
             
            Started by wellbeingcbd, Today, 04:41 AM
            0 responses
            1 view
            0 likes
            Last Post wellbeingcbd  
            Started by piydasuknu, Today, 03:45 AM
            0 responses
            3 views
            0 likes
            Last Post piydasuknu  
            Started by ajdfkgjiojjhfihjg, Today, 03:20 AM
            0 responses
            3 views
            0 likes
            Last Post ajdfkgjiojjhfihjg  
            Started by keravitahere, Today, 01:56 AM
            0 responses
            2 views
            0 likes
            Last Post keravitahere  
            Working...
            X