Limits

How big a script can be.

For AI tools: this page as Markdown · the whole language in one file

LimitValue
Script size32 KB
Calculations per bar2,000
Looking back, window length5,000 bars
Lines plotted16
Settings24

There are no loops and no recursion, so every script finishes in a fixed number of steps per bar: a script can never freeze the chart. A live tick recomputes only the forming bar.