Functions
chartPoint.from_index()
Builds a chart point from a bar index and a price. Both arguments are required. Where you would rather locate the point by time, use chartPoint.from_time.
Syntax
chartPoint.from_index(series int index, series float price) → series chartPoint
Arguments
index required series int the point's bar index, as an int price required series float the point's price, as a float Return Type
series chartPoint