Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to know when all charts of the same instrument are synchronized

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

    How to know when all charts of the same instrument are synchronized

    Hello dear ninjas

    Allways when the users opens a new chart of an instrument that is already being used in another chart with different time frames, the quotes/prices of the chart that was already on the screen freeze until the data of the new chart synchronizes with the old one.
    I would like to know if there is any variable/method/way that I can monitor to warn the users to not trade while all the charts are frozen (unsynchronized)?

    Thank you​

    #2
    Hello MarceloF,

    Thank you for your post.

    Based on your description, there may be a performance issue if the quotes from one chart freeze until a new chart is loaded. Are you able to produce this behavior in a new workspace without any indicators/strategies applied? If so, please provide the steps to reproduce this behavior so I may test it on my end.

    If the price is out of sync or freezing, that sounds like it could be a rendering delay and I am not aware of a way that you could warn users not to trade programmatically. Something you could do is open up a SuperDOM window and compare that price with the price on the chart; if the chart price seems to be behind the SuperDOM, then there is a rendering delay present on the chart.

    Rendering delays can be caused by even a single "bad" configuration in your workspace or by having so many active calculations in the platform that you are overloading your PC's available resources for the platform. We have a basic list of performance tips in our help guide that could help you to optimize the performance and loading of your charts:
    https://ninjatrader.com/support/help...ance_tips2.htm

    The following is mentioned on the Performance Tips page of the help guide:
    "Workspaces which have a single or fewer number of instruments are unable to take advantage of multi-core processors. For example, having 30 charts with the same instrument will not perform as well as 30 charts of different instruments on a multi-core processor. Reducing the number of windows with the same instrument can increase performance. Alternatively, workspaces that have one or only a few instruments would benefit from a processor with a higher clock speed."​

    Some of the most common items I have seen are related to having too many days loading on your charts; you may review the number of days to load with these steps:
    • Right-click a chart and select Data Series
    • In the "Time Frame" section reduce the number of days to load
    • Click OK to save your changes and test
    Another item that can place a heavier load on your system is the method of calculation for indicators on your charts. Use these steps to review/adjust the configuration:
    • Right-click a chart and select Indicators
    • For each "configured" indicator on the bottom left-hand list, double-check the "Calculation" property to the right. Unless an indicator requires On Each Tick, please try changing to On Price Change or On Bar Close as these calculations are less resource-intensive than On Each Tick
    • Click OK to save any changes
    Finally, there is even a diagnostic test you could try in the moment when your charts seem to be lagging behind real-time data. To see what (if any) NinjaScript items may be contributing to the symptoms, please open the NinjaScript Utilization Monitor:
    • Control Center > New > NinjaScript Output
    • Right-click within the NinjaScript output window > Select 'NinjaScript Utilization Monitor...
    • This window will begin to populate with NinjaScript items in order of time spent processing
    • Let this window populate for at least a few minutes then send us a screenshot of its contents
      • To send a screenshot with Windows 7 or newer I would recommend using Window's Snipping Tool.
      • Alternatively to send a screenshot press Alt + PRINT SCREEN to take a screenshot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.

    If there are any third-party add-ons that you no longer use, please see the page below for steps on how to remove these items from your platform:
    https://ninjatrader.com/support/help...emovingAdd-Ons


    Please let me know if I may be of further assistance.​

    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