Returns a numerical value, indicating the resolution units of the data series that the study is applied to.
==== Usage ====
<syntaxhighlight>Bartype|BarType</syntaxhighlight>
<br>The following values are returned for each type of resolution units:
<br>:'''0 – ''' = Ticks (Ticks & Contracts),<br>:'''1 – ''' = Intra-Day (Seconds, Minutes, & Hours),<br>:'''2 – ''' = Days,<br>:'''3 – ''' = Weeks,<br>:'''4 – ''' = Months, Quarters, & Years,<br>:'''5 – ''' = Points & Changes.
==Notes == Example * See [[BarType_ex]] for more specific indicating which chart type is applied. ==Example ==
Assign a value, indicating the resolution units of the data series that the study is applied to, to Value1 variable:
<syntaxhighlight>Value1=BarType;</syntaxhighlight>
[[Category:Data Information/General]]