Weighted Moving Average (WMA)
The Weighted Moving Average (WMA) gives recent price bars a higher weighting over older price bars. The user may change the input (close), period length and shift number. This indicator’s definition is further expressed in the condensed code given in the calculation below.
How To Trade Using the Weighted Moving Average
The Weighted Moving Average is a lagging trend indicator and may be used in conjuction with other studies. No trading signals are calculated.
How To Access in MotiveWave
Go to the top menu, choose Study>Moving Average>Weighted Moving Average
or go to the top menu, choose Add Study, start typing in this study name until you see it appear in the list, click on the study name, click OK.
Important Disclaimer: The information provided on this page is strictly for informational purposes and is not to be construed as advice or solicitation to buy or sell any security. Please see our Risk Disclosure and Performance Disclaimer Statement.
//input = price, user defined, default is close
//period = user defined, default is 20
//shift = user defined, default is 0
//wma = weighted moving average
//index = current bar number
Plot: wma = wma(index+shift, input, period);