images/contents.gifimages/index.gifimages/prev1.gifimages/next1.gif

SUM()

Definition 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 images/aspen00000205.gif

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. Specifiying 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.

Examples SUM_EX1($1,$2)

SUM_EX2($3,$4,$5)