Drawing / Reference
alerta.table.cell_set_text_formatting
TradingView-compatible spelling: table.cell_set_text_formatting, runs without warnings
Pine v6: apply bold/italic formatting to a cell. Combine with + (e.g. text.format_bold + text.format_italic).
alerta.table.cell_set_text_formatting(table_id, column, row, text_formatting) → voidParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
table_id | table | Yes | — | Table handle. |
column | int | Yes | — | Cell column. |
row | int | Yes | — | Cell row. |
text_formatting | string | Yes | — | text.format_none | text.format_bold | text.format_italic. |
Returns
voidExample
alerta.table.cell_set_text_formatting
var t = table.new("top_right", 1, 1)table.cell(t, 0, 0, "PnL")table.cell_set_text_formatting(t, 0, 0, text.format_bold)Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.