line.set_y1
Moves the first point to price y.
line.set_y1(id: line, y: int/float)
Parameters
idline: The line's handle (from line.new); na or a deleted line does nothing.yint/float: A price.
Example
l.set_y1(open)
Moves the first point to price y.
line.set_y1(id: line, y: int/float)
id line: The line's handle (from line.new); na or a deleted line does nothing.y int/float: A price.l.set_y1(open)