SUM()

  See Also

Related Topics

 

 

Description

Sum() adds the numbers in a series.  This function is designed for use in quote window layouts.  For formulas intended for use in chart windows and alarms, use an expression.

 

 

Syntax

Sum(value1, value2,...)

 

 

Parameters

value1

Specifies the first value to be added.  Values are specified by group and code.  Omitting the code (i.e., $1) causes the calculation to use the last price.  Specifying a code (i.e., $1.ask) causes the calculation to use the specified value.

 

value2

Specifies the second value to be added.  The second value is required (to produce a sum, you must have at least two values).  The rules for the second value are identical to those described for the first value.

 

...

Additional values can be specified in the manner described above for the first value.  Additional values are optional.

 

 

Return Value

A sum.

 

 

Examples

Sum($1,$2)

 

Sum($3,$4,$5)

 

 

Comments

NA