Drawing / Reference
alerta.box.set_text_wrap
TradingView-compatible spelling: box.set_text_wrap, runs without warnings
Pine v6: enable/disable text wrapping inside the box.
alerta.box.set_text_wrap(id, text_wrap) → voidParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
id | box | Yes | — | Box handle. |
text_wrap | string | Yes | — | text.wrap_auto | text.wrap_none. |
Returns
voidExample
alerta.box.set_text_wrap
b = box.new(bar_index - 5, high, bar_index, low)box.set_text(b, "Zone notes")box.set_text_wrap(b, text.wrap_auto)Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.