IntervalType: Difference between revisions
From MultiCharts
(Created page with "Returns a numerical value, indicating the resolution intervals of the data series that the study is applied to. ==== Usage ==== ==== Notes ==== ==== Example ==== [[Ca...") |
(→Notes) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
==== Usage ==== | ==== Usage ==== | ||
==== Notes ==== | <syntaxhighlight>IntervalType</syntaxhighlight> | ||
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, | |||
:'''0 - 5''' = Point & Figure, | |||
:'''0 - 5''' = Kagi, | |||
:'''0 - 5''' = Line Break, | |||
:'''0 - 5''' = Renko, | |||
:'''0 - 5''' = Heikin Ashi. | |||
==== Notes ==== | |||
* See [[IntervalType_ex]] for more specific indication of which chart type the code is applied to. | |||
==== Example ==== | ==== Example ==== | ||
To assign a value, indicating the resolution units of the data series the study is applied to, to Value1 variable: | |||
<syntaxhighlight>Value1 = IntervalType;</syntaxhighlight> | |||
[[Category:Data Information/General]] | [[Category:Data Information/General]] |
Latest revision as of 16:50, 21 August 2017
Returns a numerical value, indicating the resolution intervals of the data series that the study is applied to.
Usage
IntervalType
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,
- 0 - 5 = Point & Figure,
- 0 - 5 = Kagi,
- 0 - 5 = Line Break,
- 0 - 5 = Renko,
- 0 - 5 = Heikin Ashi.
Notes
- See IntervalType_ex for more specific indication of which chart type the code is applied to.
Example
To assign a value, indicating the resolution units of the data series the study is applied to, to Value1 variable:
Value1 = IntervalType;