Functions
table.cell_set_text()
Sets the text of an existing cell. No-op if the cell does not exist.
Syntax
table.cell_set_text(series table id, series int column, series int row, series string text) → void
Arguments
id required series table Table object. column required series int 0-based column. row required series int 0-based row. text required series string New cell text. Return Type
void Example
//@lipi=2
indicator("table.cell_set_text Example")
if barstate.islast {
t = table.new(position.top_right, 1, 1)
table.cell(t, 0, 0, text="")
table.cell_set_text(t, 0, 0, str.tostring(close))
}