Math / Reference
alerta.math.round_to_mintick
TradingView-compatible spelling: math.round_to_mintick, runs without warnings
Rounds value to the nearest multiple of syminfo.mintick, the symbol's tick size.
alerta.math.round_to_mintick(x) → series floatParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
x | series float | Yes | — | Input value. |
Returns
series floatExample
alerta.math.round_to_mintick
v = round_to_mintick(close)plot(v)Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.