I need load several BarsSeries into my indicator dynamically through on user request by a properties dialog. The user may open the properties dialog at any time and request new BarSeries.
Is this possible with indicators by using the BarsRequest class or it is incompatible ? (Help about BarsRequest says: The concept can be carried over to any NinjaScript object you may be working on.)
If I use BarsRequest within an indicator seems to work well (the method to handle the Update event from my BarsSerie loaded with BarsRequest works well and it is executed with each tick) until the OnBarUpdate method of the indicator is executed. From this moment the Update handler method is not executed anymore. There aren't exceptions and the indicator continues working well.
Thanks
Comment