matrix.elements_count() - Pine Script Function
matrix.elements_count()
Section titled “matrix.elements_count()”Overview
Section titled “Overview”The function returns the total number of all matrix elements.
Syntax
Section titled “Syntax”matrix.elements_count(id) → series intParameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
| id | any matrix type | A matrix object. |