chart.Point
A point on the chart (index, time, price).
Kind: object
Fields
| Name | Type | Description |
|---|---|---|
index | int | The x-coordinate of the point, expressed as a bar index value. |
time | int | The x-coordinate of the point, expressed as a UNIX timestamp in milliseconds. |
price | float | The y-coordinate of the point. |
Static Methods
from_index
navi
Point.from_index(index: int, price: float): PointReturns a chart.Point object at the specified bar index and price.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
index | int | ||
price | float |
Returns: Point
from_time
navi
Point.from_time(time: int, price: float): PointReturns a chart.Point object with specified time and price.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
time | int | ||
price | float |
Returns: Point
now
navi
Point.now(price: float = close): PointReturns a chart.Point object with price as the y-coordinate.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
price | float | close |
Returns: Point