> ## Documentation Index
> Fetch the complete documentation index at: https://gocharting.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# table variables

> Reference for the 1 variables of the table namespace: table.all, each with its definition and an example.

> [!NOTE]
>
> Language version: 2 · Reference version: 2.7 · Date: 2026-10-25 · Compiler build: df7b3b14 · Namespace: table · Entries: 1

## `table.all` (variable)

**Definition**

Array of all currently existing tables, from oldest to newest. Hidden/stacked tables do not exist: only the live table at each position is present. Maximum of 9 tables (one per position.\*).

**Type**

`series array<table>`

**Example**

```lipi theme={"languages":{"custom":["/languages/lipi.json","/languages/lipi-invalid.json"]}}
//@lipi=2
indicator("table.all Example")
if barstate.islast {
    t = table.new(position.top_right, 1, 1)
    table.cell(t, 0, 0, text=str.tostring(array.length(table.all)))
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.