Lipi Reference
Lipi

Types

box

A rectangular drawing on the chart, defined by two corners. Use box.new to create boxes and box.set_* functions to change them.

Example


          //@lipi=2
indicator("Box Type Example", overlay=true)
if barstate.islast {
    box.new(bar_index[10], high, bar_index, low, bgcolor=color.new(color.blue, 0.8))
}