Drawing / Reference
alerta.box.set_text_font_family
TradingView-compatible spelling: box.set_text_font_family, runs without warnings
Pine v6: switch the box's text font family.
alerta.box.set_text_font_family(id, text_font_family) → voidParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
id | box | Yes | — | Box handle. |
text_font_family | string | Yes | — | Font family. |
Returns
voidExample
alerta.box.set_text_font_family
b = box.new(bar_index - 5, high, bar_index, low)box.set_text(b, "Zone")box.set_text_font_family(b, font.family_monospace)Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.