> For the complete documentation index, see [llms.txt](https://cryptoquote.gitbook.io/cryptoquote/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cryptoquote.gitbook.io/cryptoquote/apis/analytics-apis/technical-analysis/weighted-moving-average-wma.md).

# Weighted Moving Average (WMA)

#### <mark style="color:orange;">Description</mark>

WMA, Weighted Moving Average is a moving average that gives more weight to recent price data and less weight to older data.

WMA determines the number of periods to include in the average (for instance a 10-period WMA would include the last 10 price points). You then multiply each price by a weighting factor, with the most recent price receiving the highest weight and the oldest price receiving the lowest weight. The result is then summed and divided by the total weighting factor to calculate the WMA.

WMA can be used to identify trends and make trading decisions. If the price is above the WMA, it may indicate an uptrend, while if the price is below the WMA, it may indicate a downtrend. Use the WMA in combination with our other tools to make informed decisions.

{% embed url="<https://www.youtube.com/watch?index=26&list=PLog30vtb4ZA76-tBWML69sR_RuKNn1kaB&v=9yBAe4um8vI>" %}

#### <mark style="color:orange;">End Point</mark>

#### <mark style="color:orange;">Example</mark>

<mark style="color:orange;">**Use Cases:**</mark>

## [Click here for a Free API key](https://www.cryptoquote.io/register) then [**Test the API yourself!**](https://www.cryptoquote.io/api_doc?code=ta_wma\&page=api_analytics)&#x20;
