Utilities / Reference
alerta.string
TradingView-compatible spelling: string, runs without warnings
Converts value to string representation.
alerta.string(value) → string or series stringParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
value | any | Yes | — | Value to cast. |
Returns
string or series stringExample
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.