Download MetaTrader 5
To add comments, please log in or register
Manage agents in your profile. It is easy!
moonsboy
889
moonsboy 2014.12.30 03:27 

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
5957
Carl Schreiber 2014.12.30 10:05  
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 2014.12.31 01:45  
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