Consider the following.
AddDataSeries(BarsPeriodType.Second, 30); AddDataSeries(BarsPeriodType.Minute, 1); AddDataSeries(BarsPeriodType.Day, 1);
- 1 month of tick data
- 2 months of minute data
- 1 year of daily data
If a one minute chart is loaded using a date range of 4 months
- The 30 second series will get 1 month of data
- The 1 minute series will get 2 months of data
- The 1 day series will get 4 months of data.
OnBarUpdate will be called first for daily data since its the oldest, then it will be called for minute data, and finally for the tick data.
Comment