Drawing / Reference
alerta.box.set_lefttop
TradingView-compatible spelling: box.set_lefttop, runs without warnings
Pine v6: set left and top in one call.
alerta.box.set_lefttop(id, left, top) → voidParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
id | box | Yes | — | Box handle. |
left | int | Yes | — | Left x. |
top | float | Yes | — | Top y. |
Returns
voidExample
alerta.box.set_lefttop
b = box.new(bar_index - 5, high, bar_index, low)box.set_lefttop(b, bar_index - 10, high)Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.