How Can We Help?

Weighted Moving Average

You are here:
< All Topics

WeightedMovingAverage(Vector, Periods)
WMA(Vector, Periods)

MA Type Argument ID: WEIGHTED

Overview
A Weighted Moving Average or WMA places more weight on recent values and less
weight on older values.

Interpretation
A Moving Average is most often used to average values for a smoother
representation of the underlying price or indicator.

Example
set BUY = CLOSE > WMA(CLOSE, 30)
Evaluates to buy when the close is greater than a 30-day WMA.

Table of Contents