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== ''..."
Returns the number of blocks for a specified price level in a [[TPO]] bar
'''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.