![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Strategy Analyzer Support for automated system backtesting and optimization using the NinjaTrader Strategy Analyzer. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Feb 2008
Location: Paris
Posts: 713
Thanks: 10
Thanked 10 times in 7 posts
|
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) |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,240
Thanks: 83
Thanked 338 times in 330 posts
|
Hi cunparis,
Please see my response to the email you have sent.
Jason
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Sep 2007
Posts: 1
Thanks: 0
Thanked 0 times in 0 posts
|
What was the solution to this issue?
|
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Feb 2008
Location: Paris
Posts: 713
Thanks: 10
Thanked 10 times in 7 posts
|
|
|
|
|
|
|
#5 |
|
NinjaTrader Customer Service
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,240
Thanks: 83
Thanked 338 times in 330 posts
|
Hello qlharvey,
I suggest to review the forum thread below that handles a similar error. http://www.ninjatrader-support2.com/...s+of+the+array
Jason
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Array | pipsheker | General Programming | 1 | 05-24-2008 03:45 AM |
| Array Index Errors in Help Guide | KBJ | Suggestions And Feedback | 1 | 12-16-2007 09:12 PM |
| Strategy Array out of Bounds Error or Output CancelAllOrders: BarsInProgress = 0 | Learning1 | Strategy Development | 16 | 09-25-2007 11:02 PM |
| Index out of bounds error... | funk101 | Indicator Development | 5 | 05-23-2007 03:20 PM |
| Symbol Mapping - stock index to futures index contract | tmd | Automated Trading | 9 | 12-07-2006 09:53 AM |