im using this implementation for AddDataSeries:
AddDataSeries(Data.BarsPeriodType.Second, 30);
AddDataSeries(Data.BarsPeriodType.Minute, 2);
AddDataSeries(Data.BarsPeriodType.Minute, 15);
AddDataSeries(Data.BarsPeriodType.Minute, 60);
But i found that this loads all bars for each period DataSeries, but this does my indicator so slow when im adding it to my chart, i want to set the property barsToLoad trying to not load the full daysToLoad for my chart for each Dataseries, it is possible? i found this implementation on the documentation:
AddDataSeries(string instrumentName, BarsPeriod barsPeriod, int barsToLoad, string tradingHoursName, bool? isResetOnNewTradingDay)
But i dont know how to set the period vale for each new dataSeries and i dont know the default values for instrumentName (to take the chart instrument), tradingHoursName and isResetOnNewTradingDay
It is possible?
Thanks for your help

Comment