If you do not set the start (t0) and end(T1) time points for copying ticks in the code below (the default value is 0, i.e. “since the beginning of time”), then copying occurs (R and ticks_number (essentially the same) take the default limit value) as soon as I set T0 and T1-R=0. I can’t figure out where the error is in the code. Please help, thank you in advance.
MqlTick ticks; //array for ticks collection