×

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.

Changes - MultiCharts

Changes

Jump to navigation Jump to search

GetTPOinfo

1,112 bytes added, 13:56, 7 November 2018
Created page with "Returns a numerical value, indicating the units of the specified Style tab setting for the TPO data series that the study is applied to. == Usage == <syntaxhighlight> getTPO..."
Returns a numerical value, indicating the units of the specified Style tab setting for the TPO data series that the study is applied to.
== Usage ==
<syntaxhighlight> getTPOinfo(style)</syntaxhighlight>'''
Where:
<br/>''<code>(style)</code>'' - '''Valid Parameters:'''
<br/>tpoPI - current Price Increment on TPO chart.
<br/>tpoVAPcnt - current Value Area value on TPO chart (in percentages).
<br/>tpoVAPcnt2 - current Value Area 2 value on TPO chart (in percentages).
<br/>tpoIBR - current Initial Balance Range value on TPO chart (the number of starting TPO intervals).
<br/>tpoOR - reserved for future use (Open Range).
<br/>tpoFillZeroLvls - current Show Blocks with Zero Range value on TPO chart.
==Error Codes:==
-1, current chart resolution is not TPO.
<br/>-2, wrong constant, unexpected usage.
<br/>-10, when tpoOR (Open Range) is requested.
== Example ==
Assign a value, indicating the current Price Increment value of the data series that the study is applied to, to the Value1 variable:
<syntaxhighlight> value1 = getTPOinfo(tpoPI);</syntaxhighlight>

[[Category:Environment Information]]

Navigation menu