chart.point.from_index
A chart.point at a bar index and a price (its time is na: use it with xloc.bar_index).
chart.point.from_index(index: int, price: float) -> @chart.point
Parameters
indexint: bar index of the pointpricefloat: the price (y) of the point
Example
p = chart.point.from_index(bar_index - 10, low)