|
Navigation: Study Formulas > MultiTimeFrame MultiTimeFrame |
Top Previous Next |
The study formulas included in the MultiTimeFrame section are:
interval()
Retrieve a stream (source) in the bar interval (inv) selected. Allows you to request an input source from a different bar interval which can then be used as input to other formulas. Valid intervals are D,W,M or an integer representing an intraday bar interval (i.e., 1-min or greater). Note that most study formulas already have their own built-in interval option. The interval formula would be used when you need to construct a custom study formula that takes input from more than one bar interval.
See the MultiTimeframe section for more information.
Parameters
inv |
select the bar interval for which to retrieve the data point specified in source |
source |
the standard data point to be converted to inv |
symInterval()
Retrieve a stream (source) for the symbol and bar interval selected. Allows you to request an input source from a specific symbol and bar interval which can then be used as input to other formulas. Typically you would use this to request data from an index which you would then use to compare against all of the securities in your active portfolio. Valid intervals are D,W,M or an integer representing an intraday bar interval (i.e., 1-min or greater). Start time and End time must either both be '0:00' (for a 24-hour session) or End time must be after Start time.
Parameters
symbol |
select a valid symbol name for which to retrieve data |
inv |
select the bar interval for which to retrieve the data point specified in source |
starts |
set the session start time (defaults to 0:00) |
ends |
set the session end time (defaults to 0:00) |
source |
the standard data point to be retrieved for symbol |