Summation (SUM)
Last updated
Summation is the sum over a predefined number of periods.
SUM(int period)
SUM(IDataSeries inSeries, int period)
SUM(int period)[int barsAgo]
SUM(IDataSeries inSeries, int period)[int barsAgo]double
When using this method with an index (e.g. SUM(14)[int barsAgo] ), the value of the indicator will be issued for the referenced bar.
inSeries Input data series for the indicator
period Number of bars included in the calculations

Last updated
// Sum of the volume for the last 10 trading days
Print(SUM(Volume,10)[0]);