Math / Reference
alerta.math.ceil
TradingView-compatible spelling: math.ceil, runs without warnings
Rounds x upward to nearest integer.
alerta.math.ceil(x) → series floatParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
x | series float | Yes | — | Input value. |
Returns
series floatExample
alerta.math.ceil
v = ceil(1.2)plot(v, { pane: "oscillator" })Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.