Skip to content
Algo Trade Analytics Docs

table.cell_set_text() - Pine Script Function

The function sets the text in the specified cell.

table.cell_set_text(table_id, column, row, text) → void
NameTypeDescription
table_idseries tableA table object.
//@version=6
indicator("TABLE example")
var tLog = table.new(position = position.top_left, rows = 1, columns = 2, bgcolor = color.yellow, border_width=1)
table.cell(tLog, row = 0, column = 0, text = "sometext", text_color = color.blue)
table.cell_set_text(tLog, row = 0, column = 0, text = "sometext")