Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Index was outside the bounds of the array

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

    Index was outside the bounds of the array

    I seem to get this regularly starting today. I'm not sure why, I'm backtesting the same strategy that I've been working on for a few days now. I've received it several times today. The last time I ran the optimizer and then I clicked on a strategy and then clicked on the graph.

    Code:
    2008-11-27 09:39:44:194 in OnUnhandledThreadException
    2008-11-27 09:39:44:245 ********* exception trapped *********
    2008-11-27 09:39:44:245 Index was outside the bounds of the array.
    2008-11-27 09:39:44:245    at NinjaTrader.Gui.PerformanceViewerControl.RunBackTest()
       at NinjaTrader.Gui.PerformanceViewerControl.Display()
       at NinjaTrader.Gui.PerformanceViewerControl.OnTabSelected(Object sender, EventArgs e)
       at System.EventHandler.Invoke(Object sender, EventArgs e)
       at System.Windows.Forms.TabControl.OnSelectedIndexChanged(EventArgs e)
       at System.Windows.Forms.TabControl.WmSelChange()
       at System.Windows.Forms.TabControl.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Code:
    2008-11-27 10:03:58:348 in OnUnhandledThreadException
    2008-11-27 10:03:58:350 ********* exception trapped *********
    2008-11-27 10:03:58:350 Index was outside the bounds of the array.
    2008-11-27 10:03:58:350    at NinjaTrader.Gui.PerformanceViewerControl.RunBackTest()
       at NinjaTrader.Gui.PerformanceViewerControl.Display()
       at NinjaTrader.Gui.PerformanceViewerControl.OnTabSelected(Object sender, EventArgs e)
       at System.EventHandler.Invoke(Object sender, EventArgs e)
       at System.Windows.Forms.TabControl.OnSelectedIndexChanged(EventArgs e)
       at System.Windows.Forms.TabControl.WmSelChange()
       at System.Windows.Forms.TabControl.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    2008-11-27 10:05:16:097 Gui.WorkspaceOptions.ApplicationExit
    2008-11-27 10:05:32:228 in OnUnhandledThreadException
    2008-11-27 10:05:32:228 ********* exception trapped *********
    2008-11-27 10:05:32:228 Index was outside the bounds of the array.
    2008-11-27 10:05:32:228    at NinjaTrader.Gui.PerformanceViewerControl.RunBackTest()
       at NinjaTrader.Gui.PerformanceViewerControl.Display()
       at NinjaTrader.Gui.PerformanceViewerControl.OnTabSelected(Object sender, EventArgs e)
       at System.EventHandler.Invoke(Object sender, EventArgs e)
       at System.Windows.Forms.TabControl.OnSelectedIndexChanged(EventArgs e)
       at System.Windows.Forms.TabControl.WmSelChange()
       at System.Windows.Forms.TabControl.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    If I can provide more details just let me know.

    #2
    Hi cunparis,

    Please see my response to the email you have sent.

    Comment


      #3
      What was the solution to this issue?

      Comment


        #4
        Originally posted by qlharvey View Post
        What was the solution to this issue?
        Sorry I should have posted the solution here. Now it's been a while and I forget what it was..

        Comment


          #5
          Hello qlharvey,

          I suggest to review the forum thread below that handles a similar error.

          Comment

          Latest Posts

          Collapse

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