We are in the process of completing an AddOn that creates and updates custom Controls for interaction on the ChartControl grid. These controls are designed to be available on every Chart window created and therefore achieving this via Indicator would not make sense because manually adding an indicator to every chart would be required.
Unfortunately, we've hit a total roadblock because we have no way of knowing when the ChartControl child collection is in a ready-state to be added to (ie. after a new data connection, symbol change, interval change, etc.). Reference this thread: https://ninjatrader.com/support/foru...-within-add-on
If we add our controls before the chart is completely loaded and rendered, it ends up refreshing the ChartControl.Children collection without our controls for which there seems to be no good remedy except a timer which is a very non-ideal solution for obvious reasons (data loading time can vary). We also need to update the properties and location of these controls whenever the Chart is rendered, also for which there is no exposed event.
These events are obviously part of the inner-workings of the Chart Control somehow. Can I please request the following features be exposed for AddOn development?
1) Some sort of Chart Control loading State-Changed event or Data-Loaded property
2) An OnRender or OnUpdated event that fires when a Chart is changed or updated (much like the OnRender override for the Indicator framework)
I think having these events/properties available would really allow the proper development of some excellent tools from the EcoSystem. Charting is one of NT8's primary features used by traders and I'm sure that by having access to these basic chart events we can really help the user harness the power available in NinjaTrader.
Thank you for considering this request.
Comment