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

# label variables

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

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

## `label.all` (variable)

**Definition**

Array of all currently existing label drawings, from oldest to newest.

**Type**

`series array<label>`

**Example**

```lipi theme={"languages":{"custom":["/languages/lipi.json","/languages/lipi-invalid.json"]}}
//@lipi=2
indicator("label.all Example", overlay=true)
if barstate.islast {
    label.new(bar_index, high, text="H")
}
plot(array.length(label.all), title="Label Count")
```


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