• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unhandled exception: Index was out of range

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

    Unhandled exception: Index was out of range

    Hi,

    Have received the following error message when opening a chart using my default template.

    Prior to this error I changed the properties of the right scale to set the horizontal grid lines to be fixes, interval type ticks, value 20. I then saved this as my default template. Now when I open a chart with this template prior to it displaying any date the error is shown. The error continues to be displayed (in new error message boxes so there are 20, then 30 error boxes open etc...). This continues and the chart data doesn't load (and can't change settings on the chart etc...). Had to kill the Ninjatrader process and restart using a different chart template.

    Unhandled exception: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

    Log and trace files are emailed to the support email address.

    Thanks
    Last edited by tdouglas; 07-02-2015, 10:16 AM.

    #2
    Hello,
    I have tested the template file you have sent on my end and I do receive the same on my end.
    I have been trying to recreate the template with the specifics you have provided but I am unable to,
    Can you provide what other settings you had save to the template and any indicators that you had added?
    Cody B.NinjaTrader Customer Service

    Comment


      #3
      Hi,

      The only indicators were volume and PriorDayOHLC, this could be where the issue is. As per the thread linked below I updated the indicator, I've also attached the indicator. Other than that was just a standard 5 min candle chart.

      http://ninjatrader.com/support/forum...ad.php?t=75439

      Thanks
      Attached Files

      Comment


        #4
        By any chance did you have the "Data Box" open?

        I get this type of error a lot with the Data Box open...

        Originally posted by tdouglas View Post
        Hi,

        Have received the following error message when opening a chart using my default template.

        Prior to this error I changed the properties of the right scale to set the horizontal grid lines to be fixes, interval type ticks, value 20. I then saved this as my default template. Now when I open a chart with this template prior to it displaying any date the error is shown. The error continues to be displayed (in new error message boxes so there are 20, then 30 error boxes open etc...). This continues and the chart data doesn't load (and can't change settings on the chart etc...). Had to kill the Ninjatrader process and restart using a different chart template.

        Unhandled exception: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

        Log and trace files are emailed to the support email address.

        Thanks

        Comment


          #5
          Hello,
          I have recreated the template with the specifications you have provided but still am unable to reproduce this,
          Would you be able to send your UI.xml so we can view the default properties set for your charts?
          You will find the UI.xml file under (My) Documents> NinjaTrader 8 Folder.
          Cody B.NinjaTrader Customer Service

          Comment


            #6
            Hi,

            UI emailed.

            Regards,
            Tim

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by jerblaster23, Today, 03:42 PM
            0 responses
            2 views
            0 likes
            Last Post jerblaster23  
            Started by brian meade, Today, 01:39 PM
            1 response
            4 views
            0 likes
            Last Post NinjaTrader_PaulH  
            Started by Johnny Santiago, Today, 12:20 PM
            1 response
            5 views
            0 likes
            Last Post NinjaTrader_ChrisL  
            Started by NinjaTrader_Brandon, Today, 10:24 AM
            0 responses
            50 views
            0 likes
            Last Post NinjaTrader_Brandon  
            Started by ptertich, Today, 07:56 AM
            2 responses
            15 views
            0 likes
            Last Post Johnny Santiago  
            Working...
            X