Difference between revisions of "BarInterval"
Jump to navigation
Jump to search
(Created page with "Returns a numerical value, indicating the number of resolution units (bar interval) of the data series that the study is applied to. Returns the number of Ticks, Contracts, ...") |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
Returns a numerical value, indicating the number of resolution units (bar interval) of the data series that the study is applied to. | Returns a numerical value, indicating the number of resolution units (bar interval) of the data series that the study is applied to. | ||
− | Returns the number of Ticks, Contracts, Points, Changes, Seconds, Minutes, Hours, Days, Weeks, Months, Quarters, or Years, depending on the chart resolution | + | Returns the number of Ticks, Contracts, Points, Changes, Seconds, Minutes, Hours, Days, Weeks, Months, Quarters, or Years, depending on the chart resolution. For example, a value of 5 will be returned for a 5-second as well as for a 5-tick chart. |
− | + | == Usage == | |
− | + | <syntaxhighlight>BarInterval</syntaxhighlight> | |
− | |||
− | |||
− | |||
− | + | == Example == | |
+ | Assign a value, indicating the number of resolution units (bar interval) of the data series that the study is applied to, to the Value1 variable: | ||
+ | <syntaxhighlight>Value1 = BarInterval;</syntaxhighlight> | ||
[[Category:Data Information/General]] | [[Category:Data Information/General]] |
Latest revision as of 11:42, 19 February 2012
Returns a numerical value, indicating the number of resolution units (bar interval) of the data series that the study is applied to.
Returns the number of Ticks, Contracts, Points, Changes, Seconds, Minutes, Hours, Days, Weeks, Months, Quarters, or Years, depending on the chart resolution. For example, a value of 5 will be returned for a 5-second as well as for a 5-tick chart.
Usage
BarInterval
Example
Assign a value, indicating the number of resolution units (bar interval) of the data series that the study is applied to, to the Value1 variable:
Value1 = BarInterval;