# WMA

​The WMA is a moving average that places more emphasis on recent price closes and less on past price closes.

When calculating this average, it assigns a multiplier to each price close during the period, which changes the weight and significance of the close. This multiplier is formed to give more importance to the final data.

<figure><img src="/files/pzGC6Pqv3mwDEBcETmyH" alt=""><figcaption></figcaption></figure>

A 5 period WMA;

> WMA = (P1 \* 5) + (P2 \* 4) + (P3 \* 3) + (P4 \* 2) + (P5 \* 1) / (5 + 4+ 3 + 2 + 1)

P1 = last price close in the period&#x20;

P5 = first price close in the period


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://academy.coinlegs.com/fundamentals/moving-average-ma/wma.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
