# Glossary

> The terms these docs use, in one place: from bar index and series to repainting, tick count and space.

| Term | Meaning |
| --- | --- |
| **Bar** | One candle: the open, high, low, close and volume of a period. |
| **Bar index** | `bar_index`: the bar's position, 0 on the oldest loaded bar. |
| **Series** | A value with one entry per bar, such as `close` or `ta.rsi(close, 14)`. |
| **History reference** | `x[n]`: the value of `x` n bars ago. |
| **na** | "No value": before warm-up ends, or further back than the chart goes. |
| **Warm-up** | The first bars of a study, where it has too little history and returns `na`. |
| **var** | A declaration that keeps its value from bar to bar instead of resetting. |
| **Qualifier** | When a value is known: const, input, simple or series. |
| **Overlay** | Drawing on the price chart rather than in a separate pane. |
| **Pane** | A separate panel under the price chart, with its own scale. |
| **Confirmed bar** | A bar that has closed; `barstate.isconfirmed`. |
| **Repainting** | A script showing on history something it did not show live. |
| **Lookahead** | Letting a higher-timeframe value see the end of its bar early. |
| **Higher timeframe (HTF)** | A longer timeframe than the chart's, read with `request.security`. |
| **Aggregated timeframe** | A timeframe the feed does not serve, built by combining smaller bars. |
| **Tick count** | What `volume` holds on this feed: price updates per bar. |
| **OTC** | Over-the-counter: the pairs this feed quotes, trading 24x7. |
| **PineTS** | The open-source runtime that executes Pine Script here. |
| **Transpile** | Turning Pine into code the engine runs; a failure is a syntax error. |
| **Strategy** | A script that places simulated orders and produces a backtest. |
| **Drawdown** | The largest fall in equity from a peak. |
| **Open source / Protected / Invite-only** | Who can read and who can use a published script. |
| **Space** | An author's paid storefront: one subscription for a set of scripts. |
| **Grant** | Access to an invite-only script for one person, by hand or by subscription. |
| **Boost** | A signed-in recommendation of a published script. |
