Drawing / Reference
alerta.box.set_text_valign
TradingView-compatible spelling: box.set_text_valign, runs without warnings
Updates vertical alignment of box text.
alerta.box.set_text_valign(id, text_valign) → voidParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
id | box handle | Yes | — | Target box handle. |
text_valign | string | Yes | — | top | center | bottom |
Returns
voidExample
alerta.box.set_text_valign
bx = box.new(bar_index - 5, high, bar_index, low)box.set_text_valign(bx, "center")Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.