Drawing / Reference
alerta.table.set_position
TradingView-compatible spelling: table.set_position, runs without warnings
Pine v6: relocate a table to a different chart corner.
alerta.table.set_position(table_id, position) → voidParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
table_id | table | Yes | — | Table handle. |
position | string | Yes | — | top_left | top_center | top_right | middle_left | middle_right | bottom_left | bottom_center | bottom_right. |
Returns
voidExample
alerta.table.set_position
var t = table.new("top_right", 2, 2)table.set_position(t, "bottom_right")if barstate.islast table.cell(t, 0, 0, "Styled cell", text_color=chart.fg_color) table.cell(t, 1, 0, "Second cell", text_color=chart.fg_color)Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.