Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Freezing..

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

    Freezing..

    Screen is freezing up and I will sometimes get the error message that the program has stopped working. I get this especially after I have run a backtest and then I disconnect from Ameritrade. I'm running a lot of backtests, is it saving all this data somewhere and clogging up the system? Is it in a place where I can possibly clear out old data from backtests?

    #2
    Hello Delta007,

    Thank you for your post.

    During backtesting if you are changing the code and then running the test again the previous code is still in memory. You can release it with a restart of NinjaTrader.
    Other items of note include drawing objects, printing and logging that is done in your strategy code. If you can comment these sections out during backtesting it will help improve the performance.
    In addition, any un-used OnMarketData() or OnMarketDepth() methods will result in high CPU cycles that are unnecessary.

    For information on our performance tips please visit the following link: http://www.ninjatrader.com/support/h...ance_tips2.htm

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

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    56 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
    17 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    19 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