Skip to main content

Class: LowerTf

A lower timeframe (request.lowerTf): the intrabars of the chart bar being run, oldest first. len() of them; i 0 is the oldest, len() - 1 the newest (still developing on a forming chart bar). A negative i reads the intrabars of earlier chart bars (close(-1) = the intrabar before this bar's first). Out of range is na.

Constructors​

Constructor​

new LowerTf(handle): LowerTf

Parameters​

handle​

i32

Returns​

LowerTf

Properties​

handle​

readonly handle: i32

Methods​

close()​

close(i): f64

Parameters​

i​

i32

Returns​

f64


get()​

get(src, i): f64

src: 0 open, 1 high, 2 low, 3 close, 4 volume, 5 hl2, 6 hlc3, 7 ohlc4, 8 hlcc4, 9 open time (unix secs), 10 close time (unix secs).

Parameters​

src​

i32

i​

i32

Returns​

f64


high()​

high(i): f64

Parameters​

i​

i32

Returns​

f64


len()​

len(): i32

Returns​

i32


low()​

low(i): f64

Parameters​

i​

i32

Returns​

f64


open()​

open(i): f64

Parameters​

i​

i32

Returns​

f64


time()​

time(i): f64

Open time, unix seconds.

Parameters​

i​

i32

Returns​

f64


volume()​

volume(i): f64

Parameters​

i​

i32

Returns​

f64