Point

forge.drawclassSince Forge API 1
Signaturepython
forge.draw.Point(bar: int | None = None,time: int | None = None,price: float | None = None) -> None

A place on the chart: a bar (bar=12) or a time (time=ns), and a price.

Parameters

NameTypeDefault
barint | NoneNone
timeint | NoneNone
pricefloat | NoneNone

A point is anchored by bar=... or time=..., never both. time is nanoseconds since the epoch, UTC. On a chart of time bars a time after the last bar is placed by the bar length; on other bar types only the bar is kept.