Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

There was an error generating the XML document

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

    There was an error generating the XML document

    Hello guys,

    I created a simple indicator, but when I try to save the settings as "Default" I get this error from NT8.

    Click image for larger version

Name:	XMLError.png
Views:	405
Size:	9.1 KB
ID:	1276402

    Please let me know what I can do to fix it.

    Thank you for your help!!

    Kind regards,

    Felipe

    #2
    Can you share the code? I have seen this error before, and with code I may be able to remember how it can happen.

    Comment


      #3
      Hello Felipe,

      Thanks for your post.

      There is likely an input in your script that is not properly serialized. Often times this error is due to Brush inputs that are not serialized properly.

      Below is a link to a forum post that has an example of a properly serialized input.
      https://ninjatrader.com/support/foru...43&postcount=2
      <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

      Comment


        #4
        Thank you! I just set XMLIgnore to the Barbrush property I created and that solved the problem.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        63 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        90 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        47 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        105 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        63 views
        0 likes
        Last Post PaulMohn  
        Working...
        X