Skip to content
AlertaChartAlertaScript / docs
AlertaScript / alerta.math.round_to_mintick
On this pageSignatureParametersReturnsExample

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 float

Parameters

NameTypeRequiredDefaultDescription
xseries floatYes—Input value.

Returns

series float

Example

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.

AlertaScript

No results found.

Search by name, alias, or keyword.