Skip to content

charton API


charton API / @chart-on/ta / sum

Function: sum() ​

sum(values, length, out?): Float64Array

Defined in: helpers.ts:68

Sum of the last length values. Lookback length - 1. NaN when the window holds a NaN.

Parameters ​

values ​

Series

length ​

number

out? ​

Float64Array<ArrayBufferLike>

Returns ​

Float64Array