TPO Symbol Levels Value

From MultiCharts
Revision as of 17:43, 2 October 2018 by Alex MultiCharts (talk | contribs)
(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 with barNum number

Usage

TPO_Symbol_Levels_Value(price, barNum)

Parameters

price – the price level for which the number of blocks is to be returned

barNum – 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.
  • The range of returned values is not limited by the MaxBarsBack setting. This keyword can return the value of any bar of the data series.
  • 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.