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 > Miscellaneous Support > Historical Version 7 Beta Threads > Version 7 Beta General Questions & Bug Reports

Version 7 Beta General Questions & Bug Reports Ask questions here and post bug reports.

 
 
Thread Tools Display Modes
Old 01-08-2010, 10:51 AM   #1
superarrow
Senior Member
 
Join Date: Dec 2007
Posts: 128
Thanks: 0
Thanked 0 times in 0 posts
Default B6 : Regression Channel - index out of bounds

Applying the regression channel drawing tool to the indicator panel causes index out of bounds error resulting in NT requiring shutdown. You should reproduce this easily. Will post exception in trace file if required.

Cheers,
SA
superarrow is offline  
Old 01-08-2010, 12:40 PM   #2
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Unfortunately I was unable to reproduce. Please provide exact (!) steps including all details needed to reproduce. Thank in advance
NinjaTrader_Dierk is offline  
Old 01-08-2010, 12:45 PM   #3
superarrow
Senior Member
 
Join Date: Dec 2007
Posts: 128
Thanks: 0
Thanked 0 times in 0 posts
Default

Dierk,
This is the simplest to reproduce. Open a chart of any instrument, add any indicator to panel 2. Then Ctrl+F10/select Drawing Tool > Regression Channel. Once selected, apply to indicator panel 2. This should cause the error.

Here is one I just did:
PHP Code:
2010-01-08 13:41:28:415 ********* exception trapped *********
2010-01-08 13:41:28:415 Index was outside the bounds of the array.
2010-01-08 13:41:28:415    at NinjaTrader.Gui.Chart.ChartControl.OnMouseMove(Object senderMouseEventArgs e)
   
at System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
   
at System.Windows.Forms.Control.WmMouseMove(Messagem)
   
at System.Windows.Forms.Control.WndProc(Messagem)
   
at System.Windows.Forms.ScrollableControl.WndProc(Messagem)
   
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Messagem)
   
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Messagem)
   
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWndInt32 msgIntPtr wparamIntPtr lparam
superarrow is offline  
Old 01-08-2010, 12:50 PM   #4
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Unfortunately I can't reproduce. Here is what I tried:
- new chart ES 03-10 1min, no chart template, all default
- added MACD to a new panel
- CTRL+F10, tried to paint a Regression Channel on panel 2

-> did not work, nothing painted, no exception -> expected

What are you doing differently? Thanks
NinjaTrader_Dierk is offline  
Old 01-08-2010, 01:21 PM   #5
superarrow
Senior Member
 
Join Date: Dec 2007
Posts: 128
Thanks: 0
Thanked 0 times in 0 posts
Default

Yes those are my exact steps but I am confused by your quote:
Quote:
Originally Posted by NinjaTrader_Dierk View Post

-> did not work, nothing painted, no exception -> expected
Ctrl+F10, then attempt to draw it on the indicator fails because NT throws an exception. Tried on two computers with same effect. Whereas when you Ctrl+F8 or Ctrl+F9, the respective tool is drawn on panel 2 without exception.

SA
superarrow is offline  
Old 01-08-2010, 11:14 PM   #6
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

We'll look into and get back to you early next week. Thanks
NinjaTrader_Dierk is offline  
Old 01-11-2010, 01:44 AM   #7
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

I stand corrected: the regression channel should be drawable on an indicator panel. Also: We had been able to reproduce the exception. This is a bug which will be fixed with next update. Thanks for reporting.
NinjaTrader_Dierk is offline  
 

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
OnUnhandledThreadException - Index was outside the bounds of the array. tamas Suggestions And Feedback 15 08-17-2009 09:41 AM
Index was outside the bounds of the array cunparis Strategy Analyzer 4 07-13-2009 03:14 AM
Strategy problem. Index was outside the bounds of the array Ninja B Automated Trading 1 02-27-2009 07:55 AM
Regression Channel rtj4201 Charting 2 02-17-2009 04:17 AM
Index out of bounds error... funk101 Indicator Development 5 05-23-2007 03:20 PM


All times are GMT -6. The time now is 01:44 PM.