×

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
Open main menu

Changes

BarType

86 bytes added, 11:38, 19 February 2012
no edit summary
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]]