Difference between revisions of "TPO Levels Value"
Jump to navigation
Jump to search
(Created page with "Returns the number of blocks for a specified price level in a TPO bar ==Usage== <syntaxhighlight>TPO_Levels_Value(price, barsback) </syntaxhighlight> ==Parameters== ''...") |
|||
Line 1: | Line 1: | ||
+ | [[Category:TPO]] | ||
+ | |||
Returns the number of blocks for a specified price level in a [[TPO]] bar | Returns the number of blocks for a specified price level in a [[TPO]] bar | ||
Latest revision as of 17:43, 2 October 2018
Returns the number of blocks for a specified price level in a TPO bar
Usage
TPO_Levels_Value(price, barsback)
Parameters
price – the price level for which the number of blocks is to be returned
barsback – specifies the bar from where to get the target value
Notes
- It is possible to specify a random price; if it doesn't correspond to any of the price levels of a TPO bar, then the level which is closer to this price will be taken. If the price goes beyond the bar, 0 will be returned.
- This keyword is calculated assuming that Price Increment = 1
- The keyword is calculated as if the "Show blocks with zero trades" option is turned off.