Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

* could not be serialized.

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

    * could not be serialized.

    I keep receiving this error on one of my custom indicators and I couldn't find the information to help me solve it. Has anyone seen this before and what was the fix if you have. Thanks in advance!
    Click image for larger version

Name:	mfterror.PNG
Views:	1
Size:	30.0 KB
ID:	902152

    #2
    Deserialized problem also

    I also have another custom indicator that is having "deserialization" issues. I've attached the error window. I've never had problems before on either on of these and I've been running them for months.
    Click image for larger version

Name:	ichierror.PNG
Views:	1
Size:	29.3 KB
ID:	872601

    Comment


      #3
      thekreme, are those indicator your own creations? Have you modified any code recently perhaps introducing color inputs or timespans?

      Would you see this happen as well if you tried to save them in a complete new workspace setup?

      Comment


        #4
        hekreme, are those indicator your own creations? Have you modified any code recently perhaps introducing color inputs or timespans?
        Yes, the indicators are mine and yes, I have been updating the code as need, but I haven't added any color or timespan inputs (though there are color types being used).


        Would you see this happen as well if you tried to save them in a complete new workspace setup?
        I tried opening a new workspace and adding a clean chart. I still get the IchiMacR error when I select it from the list of indicators. I still get the MFTMomentum error after it's added to the chart and I try to save the chart template.

        Comment


          #5
          thekreme, understand thanks. Could you perhaps send the scripts to us at platformsupport at ninjatrader dot com so we can reproduce on our end?

          Comment


            #6
            I just sent them. Thanks again for your assistance Bertrand. Best support group ever!

            Comment


              #7
              Thanks for the kind words, we will look into.

              Comment


                #8
                For those that were wondering I had declared some public DataSeries' in Variables region that were causing my issues. Once I switched them to private and exposed only the ones I need to in the Properties region (shown below), all was right as rain. Kuddos to the NT support group!

                Code:
                [Browsable(false)]
                [XmlIgnore()]
                public DataSeries MomentumMarker
                {
                    get { return momMarker; } //momMarker is a private DataSeries variable declared above
                }

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by argusthome, 03-08-2026, 10:06 AM
                0 responses
                85 views
                0 likes
                Last Post argusthome  
                Started by NabilKhattabi, 03-06-2026, 11:18 AM
                0 responses
                48 views
                0 likes
                Last Post NabilKhattabi  
                Started by Deep42, 03-06-2026, 12:28 AM
                0 responses
                29 views
                0 likes
                Last Post Deep42
                by Deep42
                 
                Started by TheRealMorford, 03-05-2026, 06:15 PM
                0 responses
                32 views
                0 likes
                Last Post TheRealMorford  
                Started by Mindset, 02-28-2026, 06:16 AM
                0 responses
                67 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Working...
                X