Lipi Reference
Lipi

Types

line

A line drawing between two chart points. Use line.new to create lines and line.set_* functions to change them.

Example


          //@lipi=2
indicator("Line Type Example", overlay=true)
if barstate.islast {
    line.new(bar_index[10], high[10], bar_index, high, color=color.red, width=2)
}