+1 888 340 6572

TPO Levels Count

From MultiCharts
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


Returns the number of price levels in a TPO bar

Usage

TPO_Levels_Count

Notes

  • The range of returned values is limited by the MaxBarsBack setting.
  • 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.

Assign the number of price levels at the current bar to "value1" variable.

value1 = TPO_Levels_Count;

Assign the number of price levels at the previous bar to "value1" variable.

value1 = TPO_Levels_Count[1];