Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

B6 : Regression Channel - index out of bounds

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

    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

    #2
    Unfortunately I was unable to reproduce. Please provide exact (!) steps including all details needed to reproduce. Thank in advance

    Comment


      #3
      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 sender, MouseEventArgs e)
         at System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
         at System.Windows.Forms.Control.WmMouseMove(Message& m)
         at System.Windows.Forms.Control.WndProc(Message& m)
         at System.Windows.Forms.ScrollableControl.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) 
      

      Comment


        #4
        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

        Comment


          #5
          Yes those are my exact steps but I am confused by your 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

          Comment


            #6
            We'll look into and get back to you early next week. Thanks

            Comment


              #7
              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.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              599 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              344 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              103 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              558 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              557 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X