Reference

Reference: limits

Bounds#

BoundValueBeyond
Script length200,000 charactersE950
Syntax nesting (parentheses, blocks, else if, operator chains)200 levelsE117
Operations per bar (body) and per event (each handler and pattern)200,000 by default; budget: from 1 to 20,000,000E902
Loop iterations (for over a range, while)10,000E906
Nested function calls65E914
List or map size1,000,000 elementsE941
ring(n)n from 1 to 1,000,000E940
norm.* populations (by: keys, all calls of a script together)200,000E933
norm.* window in values1,000,000clamped
Objects (line.new, box.new, label.new)500 per scriptthe oldest are deleted
Tables20 live tables; 1 to 50 columns and rowsE928 on the size
printlast 500 bars, 500 characters per lineignored
mbo.levels(side, n)n from 1 to 500clamped
mbo.large(min)500 resultstruncated
book.depth, book.imbalance300 levelsclamped
of.vpin(…, buckets:)1 to 1,000clamped
level_history:default 2 minutes, at most 30 minutesE942; longer mbo.level window: E933
flow_history:default 5 minutes, at most 60 minutesE942; longer of.* window: E933
mbo_history: (indicators)default 30 minutes—
book_history: (indicators)default 2 hours—
mbo_max:default 25,000,000, from 1,000 to 100,000,000 order-by-order events per open barE942 / E944
Book snapshots held for one open bar8 hoursE944
initial_balance:1 to 390 whole minutesE942
Bars received by an indicatorthe chart's last 2,000 bars—
Bars received by a strategy or research script on a chartat launch the last 4,000 to 8,000 bars (all if fewer), then grows up to 48,000; beyond, the start moves by 8,000. With the footprint: the last 2,000—
Bars per script50,000E945
persist memory256 KB, 50,000 values, 16 levels of nesting; 500 memories per modenot written (the previous memory is kept)
Live order-by-order recording8 instruments—
request(…, symbol:)8 symbols—

Strategies and research#

BoundValue
Positionsone at a time (a pending entry counts)
Equity curve300 points
Trade list in the Reportlatest 200 trades
CSV export200,000 trades
Bootstrap draws (ci:)0 to 20,000 (default 1,000; 400 in sweeps)
Sweep40 values; time limit 30 s to 60 min (60 s for strategies computed at once)
Long backtest600 days; 20,000 bars per day; 15,000,000 order-by-order events per day's window; one at a time; default time limit 120 minutes

Performance and memory#

Not supported#

STRATE / PRODUCT SCREENSHOT

Actual platform screenshot.