Should your script be the host for other scripts that are creating indicators and series dependent resources in State.DataLoaded, please make sure that the host is doing the same AddDataSeries() calls as those hosted scripts would.
Here are some issues I am having with this. I'm wondering if I am doing something wrong:
- When adding data series to both a host and guest script, it takes an abnormally much longer time to load in the chart. If you have five different hosts that need the data to draw or add plots in multiple panes, this becomes impossible to use. Memory usage also seems to climb exponentially.
- If you want to modify the list of stocks, you have to do it in every host script that calls the guest script.
The other possible solution is giving the developer the ability to draw in the main pane and add plots to multiple (other) panes from one script which adds the data series once. This would do away with the need for multiple hosts to begin with since those are (mainly) needed to get plots into multiple panes.
Comment