open1()
Previous  Next

open1(bar_number as integer) as double

contains the opening price of the specified bar number for the chart that is currently displayed.
Bar number : 0 is the first bar (with the most recent date time), from the right to the left.

These are open prices for the 1 minute chart period (timeframe).
This array is filled when you attribute a specified timeframe to the current chart. There are also arrays (open5(), open15(), ...) for all the other timeframes. Useful for multi timeframe indicators, chart overlays...