Bentrix Docs
HomePricingDashboard

Assay reference: timeframe

runs as written · runs with Bentrix's own convention, said in its note · refused by name, the note says what Bentrix lacks · not yet built.

Functions

timeframe.change#

runs — Bentrix's own convention
timeframe.change(timeframe: string) → bool

Whether this bar opens a new candle of the timeframe, cut on the bench's clock as request.security cuts it; every bar for the chart's own interval or a finer one

timeframestringrequired

timeframe.from_seconds#

runs
timeframe.from_seconds(seconds: int) → string

The token of an interval of that many seconds

secondsintrequired

timeframe.in_seconds#

runs
timeframe.in_seconds(timeframe: string?) → int

An interval's length in seconds; a month counts 30 days

timeframestringoptional

Variables

timeframe.isdaily#

runs

An interval of days

timeframe.isdwm#

runs

Days, weeks or months

timeframe.isintraday#

runs

An interval shorter than a day

timeframe.isminutes#

runs

An interval of minutes

timeframe.ismonthly#

runs

An interval of months

timeframe.isseconds#

runs

An interval of seconds

timeframe.isticks#

runs

An interval of ticks

timeframe.isweekly#

runs

An interval of weeks

timeframe.multiplier#

runs

The interval's count

timeframe.period#

runs

The chart's interval as a token: "1", "60", "D", "W", "M", "30S"

Bentrix 0.1.382Every number, name and default on these pages is read from the application itself.What is comingWhat changed