How to know volume at price in bar by mql4?

 
I need to know volume at price in current bar by mql4.
I don’t know to create function for solve this problems.
Thank you for helping!
 
Aphicha Anothai:
I need to know volume at price in current bar by mql4.
I don’t know to create function for solve this problems.
Thank you for helping!

https://www.mql5.com/en/docs/series/ivolume

Documentation on MQL5: Timeseries and Indicators Access / iVolume
Documentation on MQL5: Timeseries and Indicators Access / iVolume
  • www.mql5.com
The tick volume of the bar (indicated by the 'shift' parameter) on the corresponding chart or 0 in case of an error. For error details, call the GetLastError() function. The function always returns actual data. For this purpose it performs a request to the timeseries for the specified symbol/period during each call. This means that if there is...