×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts
Open main menu

Changes

Symbol Ticks

1,373 bytes added, 13:15, 1 March 2012
no edit summary
Returns the total number of ticks for the current bar if '''Build Volume On''' is set to '''Tick Count'''.
 
Returns the total volume for the current bar if '''Build Volume On''' is set to '''Trade Volume'''.
 
With '''Build Volume On''' is set to '''Tick Count''':
* the value of 1 will be returned for 1-tick charts
* the total number of ticks in the current bar will be returned for multi-tick, volume, and time-based charts
 
With '''Build Volume On''' is set to '''Trade Volume''':
* the volume of the current tick will be returned for 1-tick charts
* the total volume of the current bar will be returned for multi-tick, volume, and time-based charts
 
== Note ==
* Most data feeds provide only a limited history of tick and volume data; storing real-time feed data will ensure the availability of historical tick and volume data
* The range of returned values is not limited by the MaxBarsBack setting. This keyword can return the value of any bar of the data series.
 
== Usage ==
<syntaxhighlight>Symbol_Ticks</syntaxhighlight>
 
== Example ==
Plot the number of ticks in the current bar ('''Build Volume On''' is set to '''Tick Count'''):
<syntaxhighlight>Plot1(Symbol_Ticks, "Ticks");</syntaxhighlight>
 
Plot the volume of the current bar ('''Build Volume On''' is set to '''Trade Volume'''):
<syntaxhighlight>Plot1(Symbol_Ticks, "Volume");</syntaxhighlight>
 
 
[[Category:Data Information/General]]