array.new_linefill() - Pine Script Function
array.new_linefill()
Section titled “array.new_linefill()”Overview
Section titled “Overview”The function creates a new array object of linefill type elements.
Syntax
Section titled “Syntax”array.new_linefill(size, initial_value) → array<linefill>Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
| size | series int | Initial size of an array. |
Returns
Section titled “Returns”The ID of an array object which may be used in other array.*() functions.
Remarks
Section titled “Remarks”- An array index starts from 0.