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

Utilities / Reference

alerta.string

TradingView-compatible spelling: string, runs without warnings

Converts value to string representation.

alerta.string(value) → string or series string

Parameters

NameTypeRequiredDefaultDescription
valueanyYes—Value to cast.

Returns

string or series string

Example

alerta.string
txt = string(close)if barstate.islast    label.new(bar_index, high, txt)

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.