Difference between revisions of "DownTicks"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Returns the total number of Down ticks for the current bar if '''Build Volume On''' is set to '''Tick Count.''' Returns the total Down volume for the current bar if '''Build ...")
 
Line 6: Line 6:
 
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 Down ticks in the current bar will be returned for multi-tick, volume, and time-based charts  
+
* the total number of Down 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 Down volume of the current tick will be returned for 1-tick charts
+
* the Down volume of the current tick will be returned for 1-tick charts
  - the total Down volume of the current bar will be returned for multi-tick, volume, and time-based charts  
+
* the total Down 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 ====
[[DownTicks]]  
+
 
 +
[[Downticks|DownTicks]]
 
   
 
   
 
==== Example ====
 
==== Example ====

Revision as of 15:09, 18 January 2012

Returns the total number of Down ticks for the current bar if Build Volume On is set to Tick Count. Returns the total Down volume for the current bar if Build Volume On is set to Trade Volume.

A down tick is a tick with the price lower then the preceding tick, and down volume is the volume traded on down 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 Down 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 Down volume of the current tick will be returned for 1-tick charts
  • the total Down 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

DownTicks

Example

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

Plot1(DownTicks,"Down Ticks");

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

Plot1(DownTicks,"Down Volume");