MovAvgWeighted

Description

The Weighted Moving Average study is a Moving Average indicator that shows the average value of the security price over a period of time with a heavier weighting given to the more recent price action.

The Weighted Moving Average is calculated by multiplying each of the previous days' data by a weight factor. That factor is equal to the number of days past the first day used in the Moving Average so that today's weight factor is the greatest, while the first day's factor is equal to 1. The total is then divided by the sum of the factors, for example, for the 5-day Weighted moving average, it is equal to 5+4+3+2+1=15.

Input Parameters

Parameter Description
price The price used to calculate the WMA.
length The number of bars used to calculate the WMA.
displace The displacement of the WMA study, in bars. Positive values signify displacement to the past.

Plots

Plot Description
AvgWtd The line of Weighted Moving Average.

Example*

*For illustrative purposes only. Not a recommendation of a specific security or investment strategy.

  Past performance is no guarantee of future performance.

You may also like
MomentumPercentDiff
The Momentum Percent Diff is a momentum-based technical indicator. Unlike the regular Momentum ...
跳價圖表
跳價圖表以交易的量代表日間價格動作:完成某一交易數量(跳價)後,會繪劃出一條新的柱條(或蠟燭、線段等)。這個匯總種類可以用於日間圖表,時間間隔不多於5天。舉例,一個2天 133交易 ...
WilliamsAD
The Williams Accumulation/Distribution study is used to determine either the marketplace is ...