Difference between revisions of "BarType"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
:'''3''' = Weeks, | :'''3''' = Weeks, | ||
:'''4''' = Months, Quarters, & Years, | :'''4''' = Months, Quarters, & Years, | ||
− | :'''5''' = Points & Changes. | + | :'''5''' = Points & Changes, |
+ | :'''6''' = (Reserved for future use), | ||
+ | :'''7''' = (Reserved for future use), | ||
+ | :'''8''' = Kagi, | ||
+ | :'''9''' = (Reserved for future use), | ||
+ | :'''10''' = Line Break, | ||
+ | :'''11''' = (Reserved for future use), | ||
+ | :'''12''' = (Reserved for future use), | ||
+ | :'''13''' = Renko, | ||
+ | :'''256''' = Heikin Ashi. | ||
== Notes == | == Notes == |
Revision as of 14:39, 11 April 2012
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 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,
- 6 = (Reserved for future use),
- 7 = (Reserved for future use),
- 8 = Kagi,
- 9 = (Reserved for future use),
- 10 = Line Break,
- 11 = (Reserved for future use),
- 12 = (Reserved for future use),
- 13 = Renko,
- 256 = Heikin Ashi.
Notes
- See BarType_ex for more specific indicating which chart type is applied.
Example
Assign a value, indicating the resolution units of the data series that the study is applied to, to Value1 variable:
Value1 = BarType;