Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Serialization problem in NT7 indicator

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

    Serialization problem in NT7 indicator

    I've modified the NT BarTimer indicator with a couple of additional options and am having a "could not serialize" problem. I've removed all [XmlIgnore] instructions, but that didn't help. I'm attaching a copy of the source code....

    Can you help?
    Attached Files

    #2
    Hello,

    Looking into this for you.

    Thank you for your patience.
    BrettNinjaTrader Product Management

    Comment


      #3
      Thanks Brett.
      If you happen to fix it and want to publish/upload to the file share, that's fine with me.

      Comment


        #4
        Hello,

        From what I can tell this is not officially supported. Please see the following link for other users discussing this though.



        When I ran your code though I did get the following error in the trace and didnt see anything obviously wrong.You may need to take out the user defined font if you are unable to resolve with the following thread. You can also search the forum for serialize font and I font a few threads there also.


        There was an error reflecting type 'NinjaTrader.Indicator.TimeRemaining'. ---> System.InvalidOperationException: Cannot serialize member 'NinjaTrader.Indicator.TimeRemaining.TextFont' of type 'System.Drawing.Font'
        BrettNinjaTrader Product Management

        Comment


          #5
          Okay...I'll check that out.
          Thanks.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          596 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
          554 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X