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.
chartPoint.from_index(series int index, series float price) → series chartPoint| Parameter | Type | Required | Description |
|---|---|---|---|
index | series int | yes | the point’s bar index, as an int |
price | series float | yes | the point’s price, as a float |
Returns series chartPoint — A series chartPoint.
See also plotting · chartPoint.copy · chartPoint.from_time · chartPoint.new
Part of the function index.
Ready to put this into practice?
Try GoCharting Premium
Unlock advanced orderflow, market profile, options desk, and real-time data — everything you just read about, live in your charts.