NinjaTrader Support Forum  
X

Attention!

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


Go Back   NinjaTrader Support Forum > Application Technical Support > Strategy Analyzer

Strategy Analyzer Support for automated system backtesting and optimization using the NinjaTrader Strategy Analyzer.

Reply
 
Thread Tools Display Modes
Old 11-27-2008, 02:14 AM   #1
cunparis
Senior Member
 
Join Date: Feb 2008
Location: Paris
Posts: 713
Thanks: 10
Thanked 10 times in 7 posts
Default 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.
cunparis is offline  
Reply With Quote
Old 11-27-2008, 04:34 AM   #2
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,240
Thanks: 83
Thanked 338 times in 330 posts
Default

Hi cunparis,

Please see my response to the email you have sent.
NinjaTrader_Jason is offline  
Reply With Quote
Old 07-12-2009, 04:07 PM   #3
qlharvey
Junior Member
 
Join Date: Sep 2007
Posts: 1
Thanks: 0
Thanked 0 times in 0 posts
Default

What was the solution to this issue?
qlharvey is offline  
Reply With Quote
Old 07-13-2009, 01:46 AM   #4
cunparis
Senior Member
 
Join Date: Feb 2008
Location: Paris
Posts: 713
Thanks: 10
Thanked 10 times in 7 posts
Default

Quote:
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..
cunparis is offline  
Reply With Quote
Old 07-13-2009, 03:14 AM   #5
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,240
Thanks: 83
Thanked 338 times in 330 posts
Default

Hello qlharvey,

I suggest to review the forum thread below that handles a similar error.
http://www.ninjatrader-support2.com/...s+of+the+array
NinjaTrader_Jason is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -6. The time now is 03:19 PM.