1,501
edits
(Created page with "Category:Data Information/General") |
No edit summary |
||
Line 1: | Line 1: | ||
Returns the total number of Up ticks for the current bar if '''Build Volume On''' is set to '''Tick Count'''. | |||
Returns the total Up volume for the current bar if '''Build Volume On''' is set to '''Trade Volume'''. | |||
An up tick is a tick with the price higher than the preceding tick, and up volume is the volume traded on up ticks. | |||
With '''Build Volume On''' is set to '''Tick Count''': | |||
* the value of 1 will be returned for 1-tick charts | |||
* the total number of Up 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 Up volume of the current tick will be returned for 1-tick charts | |||
* the total Up 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_UpTicks</syntaxhighlight> | |||
== Example == | |||
Plot the number of Up ticks in the current bar ('''Build Volume On''' is set to '''Tick Count'''): | |||
<syntaxhighlight>Plot1(Symbol_UpTicks, "Up ticks");</syntaxhighlight> | |||
Plot the Up volume of the current bar ('''Build Volume On''' is set to '''Trade Volume'''): | |||
<syntaxhighlight>Plot1(Symbol_UpTicks, "Up Volume");</syntaxhighlight> | |||
[[Category:Data Information/General]] | [[Category:Data Information/General]] |