I am trying to add a variable number of days to my indicator. I am using a 1 tick dataseries and in my example I am trying to load 10 days worth of tick data. The added series only returns back 10 bars of data instead of 10 days, what am I doing wrong?
BarsPeriod p = new BarsPeriod(); p.BarsPeriodType = BarsPeriodType.Tick; p.Value = 1; p.MarketDataType = MarketDataType.Last; AddDataSeries(Instrument.FullName,p, 10 ,TradingHours.Name,true);
Comment