Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Serialising

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

    Serialising

    Hi

    I'm getting the following error message when I use a custom indicator in NT7 Beta 4.
    "Indicator XYZ could not be serialized. Please refer help for more information on serialising indicators"

    What's strange is that I only get the error message when I save the workspace or when I exit NinjaTrader, not when applying the indicator to a chart. The compiling also works without a problem, which is why I'm at a loss here.

    Thanks

    #2
    Please rip through to offending indicator (I believe 6.5 should come with documentation on this issue) and see if you could isolate the cause of trouble. Also, please make sure you ONLY are using supported stuff so e.g. no indicator derived from custom base class or so.

    Comment


      #3
      I'm still at a loss regarding this issue. I also found nothing in the Help section that could point me in the right direction.

      How can it be that an indicator can be compiled and work properly but that it can't be serialised? This is very annoying because every time I load Ninja I have to manually add the indicator to all my charts, since it can't be saved as a Default Template.

      Could anyone kindly offer some help?

      Thanks a lot.

      Comment


        #4
        Real simple: XML serialization imposed restrictions on your code which is beyond what actually compiles. Thus your indicators might compile and work well, it just could not be XML serialized. I suggest consulting the Miscrosoft docs on XML serialization. Worst case you could contact a verified NS consultant for assistance or post your indicator here.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        597 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        343 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        556 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        555 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X