line.set_y2

Moves the second point to price y.

line.set_y2(id: line, y: int/float)

Parameters

Example

l.set_y2(close)