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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        81 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        42 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        64 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        68 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        55 views
        0 likes
        Last Post CarlTrading  
        Working...
        X