[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: code question



PureBytes Links

Trading Reference Links


Harrison wrote:

The function XAverage(Price, Length) only takes two parameters, not three. It returns the weighted moving average of the PRICEs of the last LENGTH bars.
You're sure about that? I 've always thought that XAverage returns an exponential average whereas WAverage returns a weighted moving average.


-- Harrison
www.HarrisonProgramming.com