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
ParameterTypeRequiredDescription
timeseries intyesthe point’s time, as an int
indexseries intyesthe point’s bar index, as an int
priceseries floatyesthe 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.
Upgrade