Cumulative Sum

(Be careful if used for trading)

Abbreviation: CumSum
Category: Basic
Input Parameters:

Name Range Default
Time Series
Inital Value Real 100

 
Calculation:

Initial Value + Sum of the current Time Series value and all previous Time Series values back to the first available data value

 
Discussion:

Provides a cumulative sum of a time series. Useful when creating custom indicators that require a running sum of a time series.

Note that this indicator is labled with “(Be careful if used for trading) because it is very dependent upon the first data value available. If the amount of previous data changes, the value for any given data point will change due to the change in the cumulative sum. Therefore if you base trading rules on this indicator, your trades may change if the amount of previous data changes.
 

Was this article helpful?

Related Articles