IntervalType

From MultiCharts
Jump to: navigation, search

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;