Functions
array.first()
Returns the first element of the array. The array must not be empty.
Syntax
array.first(series array id) → series
Arguments
id required series array Return Type
series Example
//@lipi=2
indicator("array.first Example", overlay=true)
values = array.from(open, close)
plot(array.first(values), title="Open", color=color.blue)