Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Need a solution for computation Intensive process

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

    Need a solution for computation Intensive process

    I have a strategy that adds several symbols. the strategy works with 500 symbols... I add them to barsarray, and access them one by one. When I try to input several more (more than a 1000), Ninjatrader throws an exception and stops working. I can only assume that this happens because this process is computation intensive. is there a sample available in NT8 to use Parallel.ForEach() loop to input the bars in BarsArray, and return a list with the indicator values...?

    #2
    Hello Yandychang,

    Thank you for your note.

    There would be an example of what you are attempting to do. What exception are you seeing?

    Comment


      #3
      Error

      attached is the error I am Getting
      Attached Files

      Comment


        #4
        Hello Yandychang,

        The image looks as though it did not upload correctly. Can you re-attach the screenshot to your response?

        Comment


          #5
          Is there an email I can send you the files to. I was able to use parallel.ForEach() method and return what I needed; works faster for the symbols in SP500, but I get the same error for several more symbols...

          Comment


            #6
            Yandychang,

            You can send it over to platformsupport[at]ninjatrader[dot]com with 'ATTN: Patrick H - 1463869' in the subject line.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            648 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            369 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            109 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            573 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            575 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X