chartPoint.from_time
Builds a chart point from a time and a price. Both arguments are required. It is the time-based counterpart of chartPoint.from_index.
chartPoint.from_time(series int time, series float price) → series chartPoint| Parameter | Type | Required | Description |
|---|---|---|---|
time | series int | yes | the point’s time, 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_index · 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.