Download MetaTrader 5

Does it mean the 2 variables are defined duplicated?

To add comments, please log in or register
moonsboy
889
moonsboy  

When you open an indicator code file, you can see both 'tick_volume[]' and 'volume[]' defined in OnCalculate().

 You can see "const long& volume[], // Real Volume" in the help for OnCalculate().

May I understand the value returned from 'volume[]' is the real volume instead of tick volume?

Or same as  'tick_volume[]' as duplicated?

Carl Schreiber
6692
Carl Schreiber  
tick_volume[] counts the amount of ticks being traded, volume[] would sum up the amount of money being traded, but in forex I don't know any broker providing this value!
moonsboy
889
moonsboy  
gooly:
tick_volume[] counts the amount of ticks being traded, volume[] would sum up the amount of money being traded, but in forex I don't know any broker providing this value!
It's a pity!
To add comments, please log in or register