# Limits

How big a script can be.

| 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.
