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?
      BertrandNinjaTrader Customer Service

      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?
          BertrandNinjaTrader Customer Service

          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.
              BertrandNinjaTrader Customer Service

              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 wzgy0920, 04-20-2024, 06:09 PM
                2 responses
                26 views
                0 likes
                Last Post wzgy0920  
                Started by wzgy0920, 02-22-2024, 01:11 AM
                5 responses
                32 views
                0 likes
                Last Post wzgy0920  
                Started by wzgy0920, Yesterday, 09:53 PM
                2 responses
                49 views
                0 likes
                Last Post wzgy0920  
                Started by Kensonprib, 04-28-2021, 10:11 AM
                5 responses
                192 views
                0 likes
                Last Post Hasadafa  
                Started by GussJ, 03-04-2020, 03:11 PM
                11 responses
                3,234 views
                0 likes
                Last Post xiinteractive  
                Working...
                X