Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Optimization running very slow...

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

    #16
    Best recommendation from here is to use Print(DateTime.Now); at different points in your code, so you can see exactly what may be taking so long in the optimization process. Either that, or start commenting out different sections until you can isolate what is contributing the most.
    Ryan M.NinjaTrader Customer Service

    Comment


      #17
      Just so I can put this to rest...

      Again, do you have any ideas as to the "WHY" inputting NewHighs/NewLows data slows the system down so much vs running RSI or EMA optimizations? This is clearly the problem. Thank you very much...

      Comment


        #18
        Hello,

        For each data series you have adds an extra data to calculate on and extra OnBarUpdate() logic to run. The more of these you add the more memory and CPU cycles the processing would take.

        -Brett
        Last edited by NinjaTrader_Brett; 06-14-2012, 12:12 PM.
        BrettNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        61 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        149 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        162 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        99 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        286 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X