BarType: Difference between revisions
From MultiCharts
(Created page with "Returns a numerical value, indicating the resolution units of the data series that the study is applied to. ==== Usage ==== BarType The following values are returned ...") |
(→Usage) |
||
Line 2: | Line 2: | ||
==== Usage ==== | ==== Usage ==== | ||
The following values are returned for each type of resolution units: | [[Bartype|BarType]] | ||
<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 | |||
==== Example ==== | ==== Example ==== | ||
Assign a value, indicating the resolution units of the data series that the study is applied to, to Value1 variable: | Assign a value, indicating the resolution units of the data series that the study is applied to, to Value1 variable: |
Revision as of 15:12, 18 January 2012
Returns a numerical value, indicating the resolution units of the data series that the study is applied to.
Usage
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;