BarInterval

From MultiCharts
Revision as of 12:07, 20 January 2012 by 194.84.116.138 (talk) (→‎Usage)
Jump to navigation Jump to search

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; 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 Value1 variable:

Value1=BarInterval;