According to the NinjaScript Reference, https://ninjatrader.com/support/help...attributes.htm, if Browsable is set to false, it will not appear on UI and omitting XmlIgnore allows serialization.
#region Properties [Browsable(false)] // do not show this value on the UI's property grid public bool MyBool { get; set; } [XmlIgnore] // removes from serialization public bool MyOtherBool { get; set; } #endregion
My question then is how does one persist a variable and hide from the UI property grid at the same time? I just want some bool flags to persist through a Reload NinjaScript or chart aggregation change, IE going from 30min to 5min.
Thanks.
Tom
Comment