If you are talking about mt5 is a bug. You don't expect solution because I sent ticket and they didn't give any answer
I am. Is there a public link to this ticket? I am not familiar with their bug report system. Anyway, thank you.
Tickets to service desk are private. You can send them one for report bugs
There's an easy solution... limit the indicator loop to total rates copied and index your buffers from right to left.
int limit = CopyRates(Symbol(),Period(),0,Bars(Symbol(),Period()),rates);
Volume_Buffer[i] = rates[i].tick_volume;
Thank you for idea, I completely forgot about array order. I will try to implement it.