The table.cell_set_text(table_id, column, row, text)
command does not contain the color attribute.
How can I assign color, text_color, text_size and other different attributes to a table cell?
Either you look into the Pine Script language reference for the table cell function(s) and how to change attributes here: Link
Or you can use the Pine Script editor´s hints during coding. When you write table.
the editor will show you all available choices resp. functions...
So, depending on what you want to color, you either need table.cell_set_bgcolor()
or table.cell_set_text_color()
.