Difference between revisions of "IntervalType"
Jump to navigation
Jump to search
(→Usage) |
|||
Line 22: | Line 22: | ||
==== 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]] |
Revision as of 16:43, 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
Example
To assign a value, indicating the resolution units of the data series the study is applied to, to Value1 variable:
Value1 = IntervalType;