array - Pine Script Type
Overview
Section titled “Overview”Keyword used to explicitly declare the “array” type of a variable or a parameter. Array objects (or IDs) can be created with the array.new
Remarks
Section titled “Remarks”- Array objects are always of “series” form.
Example
Section titled “Example”//@version=6indicator("array", overlay=true)array<float> a = naa := array.new<float>(1, close)plot(array.get(a, 0))