# Empty values

Not enough history, a division by zero, or none.

A value is empty before there is enough history (a 20-bar average on bar 5), after a division by zero, or where it was set to `none` (Pine's `na`).

- Maths with an empty value stays empty.
- A comparison with one is false.
- `max` and `min` skip empty values, so `max(prev(stop), x)` works from the first bar.
- `empty(x)` tests for it; `fallback(x, y)` swaps it for `y` (Pine's `na(x)` and `nz(x, y)`).
- An empty value draws nothing: a plot has a gap there.

```vex
r = rsi(close, 14)
plot(r > 70 ? r : none, "Overbought only", style = dots)
plot(fallback(prev(close), close), "Previous close")
```

See also: [empty](/documentation/vex/reference/maths#empty), [fallback](/documentation/vex/reference/maths#fallback), [none](/documentation/vex/reference/formulas#none)
