Functions
array.range()
Returns the difference between the largest and the smallest element.
Syntax
array.range(series array id) → series float
Arguments
id required series array Return Type
series float Example
//@lipi=2
indicator("array.range Example", overlay=false)
prices = array.from(open, high, low, close)
plot(array.range(prices), title="Bar Range", color=color.blue)