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 Hwop38, 05-04-2026, 07:02 PM
        0 responses
        160 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        308 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        245 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        349 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        179 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X