I have a serious problem. I am about to deliver an indicator but I keep getting this message :
Indicator 'NinjaTrader.Indicator.MyIndicator' could not be deserialized : There is an error in XML document(1,2079).
This is something I have added lately because I wasn't getting that message before.
I have added a lot of properties but when the property was a Color or a Font I have used the following syntax to serialize the objects :
[Browsable(false)] public string FontSerialize { get { return NinjaTrader.Gui.Design.SerializableFont.ToString(helper.captionFont); } set { helper.captionFont = NinjaTrader.Gui.Design.SerializableFont.FromString(value); } }
[Browsable(false)] public string CloseTickColorSerialize { get { return NinjaTrader.Gui.Design.SerializableColor.ToString(helper.closeTickColor); } set { helper.closeTickColor = NinjaTrader.Gui.Design.SerializableColor.FromString(value); } }
Is there a way to look at the XML file to get a clue ?
Comment