public class CustomValueDescriptor : PropertyDescriptor { public override object GetValue(object component) { ............ } public override void SetValue(object component, object value) { ............. } }
However, when we update our settings, we are only able to get the new settings to alter the BarsType rendering if we also update one of the internal Ninjatrader Values as a second step. Ie (Value, Value2, or BaseBarsPeriodValue). This is annoying and/or confusing since you end up needing 3 steps to make a change:
1 - change custom value
2 - change an internal value to something else
3 - change internal value back to what it was
And only then we can see the result of our changed custom value.
I realize this is a hack, and not a supported method.... But, is there a way for me to force a Data refresh? Force a call of OnDataPoint, perhaps?
Comment