Limits
How big a script can be.
For AI tools: this page as Markdown · the whole language in one file
| Limit | Value |
|---|---|
| Script size | 32 KB |
| Calculations per bar | 2,000 |
| Looking back, window length | 5,000 bars |
| Lines plotted | 16 |
| Settings | 24 |
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.


