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 Hwop38, 05-04-2026, 07:02 PM
              0 responses
              182 views
              0 likes
              Last Post Hwop38
              by Hwop38
               
              Started by CaptainJack, 04-24-2026, 11:07 PM
              0 responses
              335 views
              0 likes
              Last Post CaptainJack  
              Started by Mindset, 04-21-2026, 06:46 AM
              0 responses
              259 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by M4ndoo, 04-20-2026, 05:21 PM
              0 responses
              358 views
              0 likes
              Last Post M4ndoo
              by M4ndoo
               
              Started by M4ndoo, 04-19-2026, 05:54 PM
              0 responses
              188 views
              0 likes
              Last Post M4ndoo
              by M4ndoo
               
              Working...
              X