Bentrix Docs
HomePricingDashboard

Assay reference

Every built-in of Assay — 509 names — with its signature, what it computes and whether Bentrix runs it: 362 run as written, 127 run with a convention of Bentrix's own (each note says which), 9 are refused by name and 11 are not built yet. Read from the language service of Bentrix 0.1.382.

Keywords

and, or, not, if, else, for, while, switch, var, varip, true, false, import, export, type, method, enum, break, continue

By namespace

Settings › Assay

What decides how every script runs, in ☰ › Settings › Assay — read from the language’s own table.

SettingDefaultChoicesWhat it decides
script.conventiontalibtalib | mt5The arithmetic of the built-ins whose two conventions differ: ema, dema, tema, macd, atr, stdev, bb, kc, mom, roc
script.ta.momentum_formfollow_conventionfollow_convention | always_differenceWhether ta.mom and ta.roc follow the MetaTrader convention's ratio forms or keep the difference forms
script.ta.leading_naskipskip | feedWhether a stateful built-in begins at its input's first value or is handed the na values before it
script.int_divisionfloatfloat | truncateWhat / makes of two ints
script.steps_per_bar2000000a countThe evaluator steps one bar may take
script.max_bars_back5000a countHow far back a history read with a varying offset reaches
script.max_array100000a countThe elements one array may hold
script.max_string4096a countThe characters one string value may hold
script.future_reads.laboratoryoffoff | onWhether a script that reads a higher-timeframe bar before it has closed runs in the Laboratory, marked
script.future_reads.liveoffoff | onWhether a script that reads a higher-timeframe bar before it has closed runs on a paper or real workbench, marked

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