Language version: 2 · Reference version: 2.7 · Date: 2026-10-25 · Compiler build: df7b3b14 · Namespace: global · Entries: 3
false (constant)
Definition
The bool value false. Comparisons and conditions produce it; it can also be written directly, as a default value or a constant.
Type
const bool
Example
na (constant)
Definition
Stands for a missing value. A series is na where there is no data yet, for example close[1] on the first bar, and a plot or colour that is na is simply not drawn.
Test for it with na(x), never with x == na, and replace it with nz(x, alternative).
Type
const na
Example
true (constant)
Definition
The bool value true. Comparisons and conditions produce it; it can also be written directly, as a default value or a constant.
Type
const bool
Example