Skip to content
Algo Trade Analytics Docs

matrix.elements_count() - Pine Script Function

The function returns the total number of all matrix elements.

matrix.elements_count(id) → series int
NameTypeDescription
idany matrix typeA matrix object.