ta.cum() - Pine Script Function
ta.cum()
Section titled “ta.cum()”Overview
Section titled “Overview”Cumulative (total) sum of source. In other words it’s a sum of all elements of source.
Syntax
Section titled “Syntax”ta.cum(source) → series floatParameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
| source | series int/float | Source used for the calculation. |
Returns
Section titled “Returns”Total sum series.