SUM
SUM
Summary
Rolling sum of the input over a fixed period. Each output is the sum of the most recent optInTimePeriod input values.
Formula
, N = optInTimePeriod
Inputs
inReal— Values to sum
Outputs
outReal— Windowed sum over the period
Parameters
optInTimePeriod— Window length summed
Implementation
TA-Lib Definition: sum.c · sum.yaml
| Native | File |
|---|---|
| C | ta_SUM.c |
| Rust | sum.rs |
| Java | Core_SUM.java |
TA-Lib is also available for Python, R and more using a wrapper.
Aliases
Summation, Rolling Sum, Moving Sum