Lipi Reference
Lipi

Variables

box.all

Array of all currently existing box drawings, from oldest to newest. The pointer is stable for the script lifetime.

Example


          //@lipi=2
indicator("box.all Example", overlay=true)
if barstate.islast {
    box.new(bar_index[5], high, bar_index, low)
}
plot(array.length(box.all), title="Box Count")
        

Type

series array<box>