Point
forge.drawclassSince Forge API 1
Signaturepython
forge.draw.Point(bar: int | None = None,time: int | None = None,price: float | None = None) -> NoneA place on the chart: a bar (bar=12) or a time (time=ns), and a price.
Parameters
| Name | Type | Default |
|---|---|---|
| bar | int | None | None |
| time | int | None | None |
| price | float | None | None |
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.