1,501
edits
No edit summary |
(→Usage) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
Returns the total number of Down ticks for the current bar if '''Build Volume On''' is set to ''Tick Count'''. | 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'''. | 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 than the preceding tick, and down volume is the volume traded on down ticks. | A down tick is a tick with the price lower than the preceding tick, and down volume is the volume traded on down 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 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 | ||
Line 18: | Line 18: | ||
== Usage == | == Usage == | ||
<syntaxhighlight> | <syntaxhighlight>Symbol_DownTicks</syntaxhighlight> | ||
== Example == | == Example == | ||
Plot the number of Down ticks in the current bar ('''Build Volume On''' is set to ''Tick Count'''): | Plot the number of Down ticks in the current bar ('''Build Volume On''' is set to '''Tick Count'''): | ||
<syntaxhighlight>Plot1(Symbol_DownTicks, "Down ticks");</syntaxhighlight> | <syntaxhighlight>Plot1(Symbol_DownTicks, "Down ticks");</syntaxhighlight> | ||
Plot the Down volume of the current bar ('''Build Volume On''' is set to ''Trade Volume'''): | Plot the Down volume of the current bar ('''Build Volume On''' is set to '''Trade Volume'''): | ||
<syntaxhighlight>Plot1(Symbol_DownTicks, "Down Volume");</syntaxhighlight> | <syntaxhighlight>Plot1(Symbol_DownTicks, "Down Volume");</syntaxhighlight> | ||
[[Category:Data Information/General]] | [[Category:Data Information/General]] |