+1 888 340 6572

IntervalType: Difference between revisions

From MultiCharts
 
(One intermediate revision by the same user not shown)
Line 19: Line 19:
:'''0 - 5''' = Heikin Ashi.
:'''0 - 5''' = Heikin Ashi.


==== Notes ====  
==== 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;