chartPoint.new
Builds a chart point with all three of its fields given: a time, a bar index and a price. All three arguments are required. Use one of the narrower constructors where you have only two of the three.
chartPoint.new(series int time, series int index, series float price) → series chartPoint| Parameter | Type | Required | Description |
|---|---|---|---|
time | series int | yes | the point’s time, as an int |
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_index · chartPoint.from_time
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.