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

# line variables

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

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

## `line.all` (variable)

**Definition**

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

**Type**

`series array<line>`

**Example**

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


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