SUMW(d,p)
Previous Topic  Next Topic 


Name

Comment

Name

Description

Parameter 1

Parameter 2

Returns

Comment

Example


Weighted sum of dataseries

Weighted sum of values for dataseries d for p periods

Dataseries, reference back in dataseries or return value from other function returning dataseries

Periods

Dataseries with sums that are the product of weight and price

Closest in time gets the weight p, next period back is weighted (p-1) and so on.

SUMW(C,10) sums the last close price weighted 10 periods back