Weighted Moving Average (WMA)
Moving average indicator very similar to SMA but, as with EMA, it adds more weight to recent data points.
Last updated
Moving average indicator very similar to SMA but, as with EMA, it adds more weight to recent data points.
Last updated
Weighted Moving Average (WMA) is a moving average indicator very similar to SMA but, as with EMA, it adds more weight to recent data points. What sets it apart, however, is that WMA doesn’t include data in its formula that comes from periods older than the selected range.
WMA is a line which is shown within the price graph, moving close to the price and eventually intersecting with it. WMA moving above the price indicates a downtrend while WMA moving below the price indicates an uptrend. It can also act as a level of Support/Resistance in uptrends and downtrends, respectively. We can interpret buy/sell signals using 2 different SMA lines (one with a shorter period than the other).
If the shorter WMA (e.g. a 20 day WMA) crosses upwards over the longer WMA (e.g. 50 days), it is a buy signal. The opposite, where a shorter WMA crosses downwards below the longer WMA, indicates a sell signal. Another interpretation arises when intersecting with the price. A shorter WMA crossing the price from the bottom up, while it remains above the longer WMA, is considered a buy signal, in the same way that the shorter WMA crossing the price from above downwards, while the longer WMA is located above the shorter WMA, indicates a sell signal.
P(n): Closing price from n period
The above calculation was limited to the 5 most recent periods as a matter of simplicity
Name
Type
Range of value
Description
period
int
<1, int.MaxValue>
Number of bars used in the calculation.
Indicator ouptuts a single value.
Type
Range of value
double
(0, double.MaxValue)