Functions
table()
Converts `value` to the `table` type. It is used almost only as `table(na)`, to declare a table variable that has no drawing yet, so that its type is known before the first drawing is assigned.
Syntax
table(series table value) → series table
Arguments
value required series table Return Type
series table Example
//@lipi=2
indicator("table() Example", overlay=true)
static table info = table(na)
if barstate.islast {
info := table.new(position.top_right, 1, 1, bgcolor=color.gray)
table.cell(info, 0, 0, text="Bars: " + str.tostring(bar_index + 1))
}