chart.point.now
A chart.point at the current bar (its time and its index) and a price.
chart.point.now(price: float = close) -> @chart.point
Parameters
pricefloat: the price (y) of the point (default close)
Example
p = chart.point.now(high)
A chart.point at the current bar (its time and its index) and a price.
chart.point.now(price: float = close) -> @chart.point
price float: the price (y) of the point (default close)p = chart.point.now(high)