Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Chart Freezes

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

    Chart Freezes

    Hi,

    I have a number of 3rd party indicators installed on my 5 minute chart. Occasionally the chart freezes and I have to use F5 Reload Ninja Scripts for it to start running again. It tends to happen when I'm manually drawing objects such as text lines, ellipses on the chart.

    Is there a way to capture/determine what indicator is causing this. I've contacted the vendor and they say they can't do anything to help. I can write code if there is a way to capture any exceptions that may help indicate what is going on.

    #2
    Hello cp.trader,

    Thank you for your inquiry.

    The NinjaScript Utilization Monitor may help you to determine which specific script may be at the root of any performance problems or bottlenecks. To 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
    Total time represents how much CPU time that NinjaScript class has taken since the Utilization Monitor has been opened. Multiple instances of NinjaScripts will be grouped together. The NinjaScripts with the highest "Total Time" values are what are using the most processing time. Removing instances of these scripts, or setting them to use Calculate.OnBarClose can increase performance.

    You may read more about the Utilization Monitor at the link below;



    It may very well also be a combination of settings and scripts that are ultimately at the root of the problem, depending on how the workspace is configured and your PC hardware. I'd recommend also reviewing our Performance Tips and adhering to them closely if you are encountering performance problems;



    We often recommend that users rebuild their workspaces piece-by-piece when they are encountering performance issues that they cannot immediately pinpoint the cause of. This allows you to add a component, and test for the problem between each item that you add. Rebuilding allows you to monitor and test the behavior while you build out the workspace in a very deliberate way. This process allows you to better determine if there is one specific element that is being introduced that results in the behavior or if it is the overall workspace configuration that is hindering performance.

    Please let us know if we may assist you any further.

    Comment

    Latest Posts

    Collapse

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