I add additional bars objects by the following
Add(PeriodType.Minute, 1440);
then I'm trying to get Close, High and Low of that bars objects
double d_ldcp = Closes [1] [1]; // close price of the previous bar
double d_cdhp = Highs [1] [0]; // high price of the cuurent bar
double d_cdlp = Lows [1] [0]; // low price of the bar
but when I load a chart set a period type - Minuty, a period value - 1440 I get the different value of previous and current bar,
what should be the code to get the same valuse.
Thank you in advance.
Comment