Skip to content
Algo Trade Analytics Docs

array.new_linefill() - Pine Script Function

The function creates a new array object of linefill type elements.

array.new_line
fill(size, initial_value) → array<linefill>
NameTypeDescription
sizeseries intInitial size of an array.

The ID of an array object which may be used in other array.*() functions.

  • An array index starts from 0.