BarType

From MultiCharts
Revision as of 13:27, 18 January 2012 by 194.84.116.138 (talk) (Created page with "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 ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 

Example

Assign a value, indicating the resolution units of the data series that the study is applied to, to Value1 variable:

Value1=BarType;