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

# Lipi v2 reference

> The Lipi v2 language reference: every keyword, operator, type, constant, variable and function, by kind and namespace, with the page and entry that define it.

Reference 2.7, compiler build df7b3b14, 946 entries. Look a name up by what it is, or find its namespace in the table.

## Where to start

> [card] [Functions](https://gocharting.com/docs/scripting/reference/functions/global.md)
>
> 424 functions (642 entries with overloads), a page for each namespace, starting with those that have none.

> [card] [Variables](https://gocharting.com/docs/scripting/reference/variables/global.md)
>
> 98 variables, a page for each namespace, starting with those that have none.

> [card] [Constants](https://gocharting.com/docs/scripting/reference/constants/global.md)
>
> 100 constants, a page for each namespace, starting with those that have none.

> [card] [Types](https://gocharting.com/docs/scripting/reference/types.md)
>
> 23 types, on one page.

> [card] [Keywords](https://gocharting.com/docs/scripting/reference/keywords.md)
>
> 24 keywords, on one page.

> [card] [Operators](https://gocharting.com/docs/scripting/reference/operators.md)
>
> 22 operators, on one page.

> [card] [Compiler messages](https://gocharting.com/docs/scripting/reference/errors.md)
>
> the messages the compiler reports.

## Every namespace

| Namespace | Functions | Variables | Constants |
| - | - | - | - |
| Global (no namespace) | [79](https://gocharting.com/docs/scripting/reference/functions/global.md) | [24](https://gocharting.com/docs/scripting/reference/variables/global.md) | [3](https://gocharting.com/docs/scripting/reference/constants/global.md) |
| `array` | [66](https://gocharting.com/docs/scripting/reference/functions/array.md) | | |
| `barstate` | | [7](https://gocharting.com/docs/scripting/reference/variables/barstate.md) | |
| `box` | [31](https://gocharting.com/docs/scripting/reference/functions/box.md) | [1](https://gocharting.com/docs/scripting/reference/variables/box.md) | |
| `chart` | | [9](https://gocharting.com/docs/scripting/reference/variables/chart.md) | |
| `chartPoint` | [5](https://gocharting.com/docs/scripting/reference/functions/chartpoint.md) | | |
| `color` | [28](https://gocharting.com/docs/scripting/reference/functions/color.md) | | [17](https://gocharting.com/docs/scripting/reference/constants/color.md) |
| `dayofweek` | | | [7](https://gocharting.com/docs/scripting/reference/constants/dayofweek.md) |
| `extend` | | | [4](https://gocharting.com/docs/scripting/reference/constants/extend.md) |
| `format` | | | [5](https://gocharting.com/docs/scripting/reference/constants/format.md) |
| `input` | [14](https://gocharting.com/docs/scripting/reference/functions/input.md) | | |
| `interval` | [3](https://gocharting.com/docs/scripting/reference/functions/interval.md) | [11](https://gocharting.com/docs/scripting/reference/variables/interval.md) | |
| `label` | [22](https://gocharting.com/docs/scripting/reference/functions/label.md) | [1](https://gocharting.com/docs/scripting/reference/variables/label.md) | [21](https://gocharting.com/docs/scripting/reference/constants/label.md) |
| `line` | [24](https://gocharting.com/docs/scripting/reference/functions/line.md) | [1](https://gocharting.com/docs/scripting/reference/variables/line.md) | [6](https://gocharting.com/docs/scripting/reference/constants/line.md) |
| `linefill` | [6](https://gocharting.com/docs/scripting/reference/functions/linefill.md) | [1](https://gocharting.com/docs/scripting/reference/variables/linefill.md) | |
| `math` | [106](https://gocharting.com/docs/scripting/reference/functions/math.md) | | [4](https://gocharting.com/docs/scripting/reference/constants/math.md) |
| `order` | | | [2](https://gocharting.com/docs/scripting/reference/constants/order.md) |
| `orderflow` | [1](https://gocharting.com/docs/scripting/reference/functions/orderflow.md) | [10](https://gocharting.com/docs/scripting/reference/variables/orderflow.md) | |
| `polyline` | [3](https://gocharting.com/docs/scripting/reference/functions/polyline.md) | [1](https://gocharting.com/docs/scripting/reference/variables/polyline.md) | |
| `position` | | | [9](https://gocharting.com/docs/scripting/reference/constants/position.md) |
| `session` | | [2](https://gocharting.com/docs/scripting/reference/variables/session.md) | |
| `str` | [74](https://gocharting.com/docs/scripting/reference/functions/str.md) | | |
| `strategy` | [29](https://gocharting.com/docs/scripting/reference/functions/strategy.md) | [15](https://gocharting.com/docs/scripting/reference/variables/strategy.md) | [9](https://gocharting.com/docs/scripting/reference/constants/strategy.md) |
| `syminfo` | | [14](https://gocharting.com/docs/scripting/reference/variables/syminfo.md) | |
| `ta` | [64](https://gocharting.com/docs/scripting/reference/functions/ta.md) | | |
| `table` | [23](https://gocharting.com/docs/scripting/reference/functions/table.md) | [1](https://gocharting.com/docs/scripting/reference/variables/table.md) | |
| `talib` | [64](https://gocharting.com/docs/scripting/reference/functions/talib.md) | | |
| `text` | | | [8](https://gocharting.com/docs/scripting/reference/constants/text.md) |
| `xloc` | | | [2](https://gocharting.com/docs/scripting/reference/constants/xloc.md) |
| `yloc` | | | [3](https://gocharting.com/docs/scripting/reference/constants/yloc.md) |

The 8 [enums](https://gocharting.com/docs/scripting/reference/enums.md) are on one page.


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