Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unhandled Exception Prevents Open Indicators Dialog

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

    Unhandled Exception Prevents Open Indicators Dialog

    When get an unhandled exception in some indicator code, I can not open the indicator dialog of the chart to remove the wrong indicator.

    Steps (Beta2):
    1.- Open historical chart (EN 06-15, 30 min). I am not connected to a datafeed.
    2.- Load an indicator that causes the error "Unhandled exception: Index was outside the bounds of the array".
    3.- Then I can not remove the indicator of the chart. If I click the "Indicator" button, again to get the message of the exception and I can not access the dialog to remove the wrong indicator.

    I guess this same applies to all unhandled exceptions.

    Regards.

    #2
    Hello cls71,

    Thank you for your post.

    Can you attach the .cs file for the indicator that generates the message? Or you can send it to platformsupport[at]ninjatrader[dot]com with this thread in the subject line: "http://www.ninjatrader.com/support/forum/showthread.php?t=74593"

    Comment


      #3
      Hello Patrick,

      sorry for the delay in answer.

      If you load this indicator on a chart, it will raise an exception and is no longer possible to open the indicator's dialog.

      Best Regards.
      Attached Files

      Comment


        #4
        Hello cls71,

        Thank you for your response.

        I am able to re-create this with your indicator. I must ask if the intention of the indicator is solely to demonstrate this issue or if you were trying to implement a List and ran into this error?

        Comment


          #5
          Originally posted by NinjaTrader_PatrickH View Post
          Hello cls71,

          Thank you for your response.

          I am able to re-create this with your indicator. I must ask if the intention of the indicator is solely to demonstrate this issue or if you were trying to implement a List and ran into this error?
          My intention is solely to demostrate this issue. (The exception can be avoided by checking that Count is greater than zero).

          However if this error occurs on an indicator non-multiseries, the exception doesn't prevent to open Indicator's Dialog. I guess the issue is related to some feature of the multiseries and multitimeframe.

          Best Regards.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by TheWhiteDragon, 01-21-2019, 12:44 PM
          5 responses
          551 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by rtwave, 04-12-2024, 09:30 AM
          5 responses
          37 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by funk10101, Today, 12:02 AM
          1 response
          11 views
          0 likes
          Last Post NinjaTrader_LuisH  
          Started by GLFX005, Today, 03:23 AM
          1 response
          6 views
          0 likes
          Last Post NinjaTrader_Erick  
          Started by nandhumca, Yesterday, 03:41 PM
          1 response
          13 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Working...
          X