+1 888 340 6572

BarType: Difference between revisions

From MultiCharts
Line 3: Line 3:
==== Usage ====
==== Usage ====


[[Bartype|BarType]]
<syntaxhighlight>Bartype|BarType</syntaxhighlight>


<br>The following values are returned for each type of resolution units:  
<br>The following values are returned for each type of resolution units:  

Revision as of 12:08, 20 January 2012

Returns a numerical value, indicating the resolution units of the data series that the study is applied to.

Usage

Bartype|BarType


The following values are returned for each type of resolution units:


0 – Ticks (Ticks & Contracts)
1 – Intra-Day (Seconds, Minutes, & Hours)
2 – Days
3 – Weeks
4 – Months, Quarters, & Years
5 – Points & Changes

Example

Assign a value, indicating the resolution units of the data series that the study is applied to, to Value1 variable:

Value1=BarType;