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:	390
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 Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        636 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        366 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        107 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        568 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        571 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X