• 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

Change Msg for Failed To Restore Indicaor

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

    Change Msg for Failed To Restore Indicaor

    When an indicator fails to restore, you get a log message like this:

    NinjaScript Failed to restore Indicator 'Unknown'. Most likely (a) the implementation changed or (b) one or more properties have been renamed or removed or (c) the custom assembly which implements this Indicator no longer is there.

    The issue is this message should include the name of the indicator it was trying to restore. NT clearly knows the name as it was in the workspace. It is fine that it fails to restore, but including the failed name would help a user better figure out what was going on, instead of saying "Unknown".

    Thanks for considering this simple usability change.

    #2
    Hello aslane,
    Thanks for your post.

    I agree, It would be nice if there was more information in that error message and I have passed this on to Development for their review.
    Sometimes simply knowing the possible causes for an error can help you to track down why it occurred. I believe the two most likely situations for this error are:
    1. File corruption. I have mostly seen this happen with Chart Templates.
    2. A custom indicator is created and it was saved in a chart template. The indicator was then modified. If you now try and use the chart template that was created the error would be thrown.


    I will let you know if I am given any more information on this item.
    JoshNinjaTrader Customer Service

    Comment


      #3
      Thanks, I am sure I caused the issue with some recompiling, but just getting the name would clue me in to what happened.

      Comment


        #4
        While devs are reviewing, should also look at other top level messages like "Chart rendering failed" and the indicator took exception. There are likely more as well. All oth these messages would be vastly improved if Ninja would add the name of the offender to the message.

        Comment


          #5
          This is an active feature request already. I will have your vote added for consideration.
          Thanks for the feedback.
          JoshNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by mohdhm, Today, 04:37 PM
          1 response
          13 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by trader14, Yesterday, 08:23 PM
          1 response
          10 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by bigsurftrader, 02-24-2017, 12:23 AM
          4 responses
          1,162 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by svadukia, Yesterday, 01:56 AM
          2 responses
          25 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by quantrob, Today, 10:24 AM
          1 response
          7 views
          0 likes
          Last Post bltdavid  
          Working...
          X