TPO Levels Value

From MultiCharts
Revision as of 10:50, 17 August 2018 by Alex MultiCharts (talk | contribs) (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== ''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.