TotalSum

TotalSum ( IDataHolder data );

Description

Returns the sum of all values from the first bar to the current.

Input parameters

Parameter Default value Description
data - Defines values to be summed.

Example

declare lower;
plot data = TotalSum(volume);

The example returns the total accumulated volume for the time frame of the current chart.