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

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) → void

Parameters

NameTypeRequiredDefaultDescription
idboxYes—Box handle.
text_wrapstringYes—text.wrap_auto | text.wrap_none.

Returns

void

Example

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.

AlertaScript

No results found.

Search by name, alias, or keyword.