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

# linefill variables

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

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

## `linefill.all` (variable)

**Definition**

Array of all currently existing linefill drawings, from oldest to newest. A second fill on the same ordered line pair replaces the previous one, so this array never holds two fills for the same pair.

**Type**

`series array<linefill>`

**Example**

```lipi theme={"languages":{"custom":["/languages/lipi.json","/languages/lipi-invalid.json"]}}
//@lipi=2
indicator("linefill.all Example", overlay=true)
if barstate.islast {
    l1 = line.new(bar_index[10], high[10], bar_index, high)
    l2 = line.new(bar_index[10], low[10], bar_index, low)
    linefill.new(l1, l2, color.new(color.teal, 0.7))
}
plot(array.length(linefill.all), title="Linefill Count")
```


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