Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Update optimizer documentation re draw objects & memory

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

    Update optimizer documentation re draw objects & memory

    After several days and many hours of working with the optimizer and a decent sized strategy with lots of custom objects/vars/etc I finally found the 'secret' to ending the memory woes (aka leaks) for my optimization runs - disabling (or disposing) drawing objects in backtests/optimizations. This a practice which is backed up by several forum posts and even comments from NT staff over the years. It's such a huge factor in the performance of the optimizer that is seems like it well deserves mention in the documentation here regarding 'factors that affect optimization performance'.

    #2
    Hello Calebg,

    Thanks for your post.

    I have submitted a request to have this added to the Help Guide. I agree that this would belong well with "Understanding Factors That Affect Optimization Performance" and would also be good to have a note added in the NinjaScript Best Practices page.

    Thanks for your feedback!

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    163 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    82 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    125 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    206 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    185 views
    0 likes
    Last Post CarlTrading  
    Working...
    X