array.new_color
A new array<color> with `size` elements, all set to initial_value (default na). Keep it in a var to grow it across bars; a plain variable gets a new array on every bar.
array.new_color(size: int = 0, initial_value: color = na) -> array<color>
Parameters
sizeint: number of elements, 0 to 100000initial_valuecolor: The value every element starts with (default na); a color.
Example
var colors = array.new_color(3, color.gray)