Lipi Reference
Lipi

Types

table

A screen-anchored grid (not bar/price anchored). At most one live table is shown per position.*; creating another table at the same position deletes the previous one. Cells are created with table.cell; merged cells store colspan/rowspan on the origin cell.

Example


          //@lipi=2
indicator("Table Type Example")
if barstate.islast {
    t = table.new(position.top_right, 1, 1, bgcolor=color.gray)
    table.cell(t, 0, 0, text=str.tostring(close))
}