Utilities / Reference
alerta.na
TradingView-compatible spelling: na, runs without warnings
Returns true if the value is null, undefined, or NaN.
alerta.na(val) → series boolParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
val | any | Yes | — | Value to check. |
Returns
series boolExample
alerta.na
if (na(sma(close, 20))) { // Handle missing data during warmup}Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.