chartPoint.now

Builds a chart point from a price alone: it takes no time and no bar index, and even the price is optional. Where the point lands is left to the function. This edition does not state which time or bar index it fills in, so read it as the constructor that takes no position rather than as one with a documented position.

chartPoint.now(series float price) → series chartPoint
ParameterTypeRequiredDescription
priceseries floatnooptional; 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.
Upgrade