iVolume
Returns the tick volume of a bar in the specified symbol's price history.
Syntax
iVolume(Symbol: string, TimeFrame: number, index: number): numberParameters
Symbol: The symbol to get data forTimeFrame: The timeframe of the data (in minutes)index: The index of the bar (0 is current/last bar, 1 is previous bar, etc.)
Return Value
Returns a number representing the tick volume of the specified bar.
Description
The iVolume method retrieves the tick volume of a bar at the specified index from the price history of a given symbol and timeframe. The index parameter uses zero-based indexing where 0 represents the current (most recent) bar. The volume represents the number of price changes (ticks) that occurred during the bar period.
Example
Last updated