×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

TPO Levels Count - MultiCharts
Open main menu


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];