Difference between revisions of "UpTicks"

From MultiCharts
Jump to navigation Jump to search
(Created page with "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 Volu...")
 
 
(4 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
An up tick is a tick with the price higher then the preceding tick, and up volume is the volume traded on up ticks.  
 
An up tick is a tick with the price higher then the preceding tick, and up volume is the volume traded on up ticks.  
  
With '''build volume on''' is set to '''tick count:'''
+
With '''build volume on''' is set to '''tick count''':
  
  - the value of 1 will be returned for 1-tick charts
+
* 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  
+
* 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:'''
+
With '''build volume on''' is set to '''trade volume''':
  
  - the Up volume of the current tick will be returned for 1-tick charts
+
* 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
+
* The total Up volume of the current bar will be returned for multi-tick, volume, and time-based charts.
  
 
Please note that 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.   
 
Please note that 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.   
  
==== Usage ====
+
== Usage ==
[[UpTicks]]  
+
<syntaxhighlight>UpTicks</syntaxhighlight>
+
 
==== Example ====
+
== Notes ==
[[Plot]] the number of Up ticks in the current bar ('''Build Volume On'' is set to '''Tick Count'''):  
+
* See [[DownTicks]] to get the number of DownTicks for the specified bar.
 +
* The range of returned values is limited by the [[MaxBarsBack]] setting.
 +
 
 +
== Examples ==
 +
[[Plot]] the number of Up ticks in the current bar ('''Build Volume On''' is set to '''Tick Count'''):  
  
 
<syntaxhighlight>Plot1(UpTicks,"Up Ticks");</syntaxhighlight>  
 
<syntaxhighlight>Plot1(UpTicks,"Up Ticks");</syntaxhighlight>  
 
  
 
[[Plot]] the Up volume of the current bar ('''Build Volume On''' is set to '''Trade Volume'''):  
 
[[Plot]] the Up volume of the current bar ('''Build Volume On''' is set to '''Trade Volume'''):  
Line 29: Line 32:
 
<syntaxhighlight>Plot1(UpTicks,"Up Volume");</syntaxhighlight>  
 
<syntaxhighlight>Plot1(UpTicks,"Up Volume");</syntaxhighlight>  
 
   
 
   
 
 
 
 
 
 
  
 
[[Category:Data Information/General]]
 
[[Category:Data Information/General]]

Latest revision as of 15:57, 28 February 2012

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 then 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.

Please note that 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.

Usage

UpTicks

Notes

  • See DownTicks to get the number of DownTicks for the specified bar.
  • The range of returned values is limited by the MaxBarsBack setting.

Examples

Plot the number of Up ticks in the current bar (Build Volume On is set to Tick Count):

Plot1(UpTicks,"Up Ticks");

Plot the Up volume of the current bar (Build Volume On is set to Trade Volume):

Plot1(UpTicks,"Up Volume");