Drawing / Reference
alerta.text.align_center
TradingView-compatible spelling: text.align_center, runs without warnings
Pine v6: Center horizontal alignment.
alerta.text.align_center → stringValue
center
Returns
stringExample
alerta.text.align_center
var t = table.new("top_right", 1, 1)table.cell(t, 0, 0, "x")table.cell_set_text_halign(t, 0, 0, text.align_center)Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.