Sum volume of historical data and output as line

Daniel
77
Daniel  

I came across with the following functions:

CopyTickVolume, CopyTicks, iTickVolume

Is there any chance to work with each historical data ? For example if on 1min chart there are 100 ticks, is there any chance i can go through all 100 ticks and sum that volume up ?

I just tried to use iTickVolume and CopyTickVolume but it looks like they both are exactly the same.

Documentation on MQL5: Constants, Enumerations and Structures / Named Constants / Predefined Macro Substitutions
Documentation on MQL5: Constants, Enumerations and Structures / Named Constants / Predefined Macro Substitutions
  • www.mql5.com
Predefined Macro Substitutions - Named Constants - Constants, Enumerations and Structures - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
amando
3396
amando  
Daniel:

I came across with the following functions:

CopyTickVolume, CopyTicks, iTickVolume

Is there any chance to work with each historical data ? For example if on 1min chart there are 100 ticks, is there any chance i can go through all 100 ticks and sum that volume up ?

I just tried to use iTickVolume and CopyTickVolume but it looks like they both are exactly the same.

If you habe 100 ticks, your volume will be 100,that is not how it works

amando
3396
amando  
amando:

If you habe 100 ticks, your volume will be 100,that is not how it works

In mqltick, you have stored the last 4000 ticks