Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Workspace not allowed to be reloaded

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

    Workspace not allowed to be reloaded

    I created an indicator but for some reason when I save my workspace, and reload NT8 my workspace will not load. I get this error.
    Failed to restore Indicator"Unknown". Most likely
    {(a) the implementation changed or
    (b) on or more properties have been renamed or removed or
    (c) the custom assembly which implements this indicator is no longer there.

    #2
    I can add the indicator each time and it works

    Comment


      #3
      Hello ballboy11,

      Thank you for your note.

      Generally this would indicate a serialization issue with a parameter the indicator was using. Do you see any other errors in the Log tab of the Control Center in relation to the indicator?

      Thanks in advance; I look forward to assisting you further.

      Comment


        #4
        2020-05-22 12:24:05:795|3|4|Could not save indicator 'MyTradeSystem:' There was an error reflecting type 'NinjaTrader.NinjaScript.Indicators.MyTradeSystem' .

        Where do I look for type?

        Comment


          #5
          the indicator works fine but not saving on the template

          Comment


            #6
            I found what is causing the issue. How can I have it working

            [TypeConverter(typeof(NinjaTrader.Gui.Tools.Instrum entSelector))]
            [Display(Name = "Select Instrument", GroupName = "Select Instrument", Order = 0)]
            public Instrument InstrumentInput
            { get; set; }

            this serialization is causing the issue

            Comment


              #7
              Hello ballboy11,

              Thank you for your reply.

              An Instrument is a complex object which cannot be serialized directly. This would be just like a brush if you wanted to save its value, you would need to write your own property for serialization in that use case. An Instrument its self is not expected to be serialized, you could try using a string of the instruments full name instead to avoid this.

              You can find an example of serializing a brush, or the concept of making a serialization property here: https://ninjatrader.com/support/help...definedbrushes

              Please let us know if we may be of further assistance to you.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              576 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              334 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              101 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              553 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              551 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X