Difference between revisions of "TPO Levels Count"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Returns the number of price levels in a TPO bar ==Usage== <syntaxhighlight>TPO_Levels_Count</syntaxhighlight> ==Notes== * The range of returned values is limited by t...")
 
 
Line 1: Line 1:
 +
[[Category:TPO]]
 +
 
Returns the number of price levels in a [[TPO]] bar
 
Returns the number of price levels in a [[TPO]] bar
  

Latest revision as of 17:42, 2 October 2018


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