1,501
edits
(Created page with "Returns the volume of the current bar. For tick and volume-based charts, and time-based charts with resolutions of 24 hours or less: - the volume traded on Up ticks will be...") |
No edit summary |
||
Line 2: | Line 2: | ||
For tick and volume-based charts, and time-based charts with resolutions of 24 hours or less: | For tick and volume-based charts, and time-based charts with resolutions of 24 hours or less: | ||
* the volume traded on Up ticks will be returned if '''Build Volume On''' is set to '''Trade Volume''' | |||
* the number of Up ticks in the current bar will be returned if '''Build Volume On''' is set to '''Tick Count''' | |||
For time-based charts with resolutions of 1 day or more: | For time-based charts with resolutions of 1 day or more: | ||
* the total volume traded will be returned if '''Build Volume On''' is set to '''Trade Volume''' | |||
* the total number of ticks in the current bar will be returned if '''Build Volume On''' is set to '''Tick Count''' | |||
Please note that most data feeds provide only a limited history of volume and tick data; storing real-time feed data will ensure the availability of historical volume and tick data. | Please note that most data feeds provide only a limited history of volume and tick data; storing real-time feed data will ensure the availability of historical volume and tick data. | ||
==== Usage ==== | ==== Usage ==== | ||
<syntaxhighlight>Volume</syntaxhighlight> | |||
==== Example ==== | ==== Example ==== |