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

Drawing / Reference

alerta.box.set_text_size

TradingView-compatible spelling: box.set_text_size, runs without warnings

Updates size of box text.

alerta.box.set_text_size(id, text_size) → void

Parameters

NameTypeRequiredDefaultDescription
idbox handleYes—Target box handle.
text_sizestringYes—tiny | small | normal | large | huge

Returns

void

Example

alerta.box.set_text_size
bx = box.new(bar_index - 5, high, bar_index, low)box.set_text_size(bx, "small")

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.