# Moving Average Convergence/Divergence

### Overview

Moving Average Convergence Divergence (MACD) is a trend-following momentum indicator that shows the relationship between two *moving averages* of a security’s price. The MACD is calculated by subtracting the longer-term EMA *exponential moving average* (EMA) from the shorter-term EMA. The result of that calculation is the MACD line. An EMA of the MACD called the "signal line," is then plotted on top of the MACD line, which can function as a trigger for buy and sell signals.

{% hint style="info" %}
**Create fully automated trading strategies using over 100 technical indicators in Market Dynamics. Head to the build page and add indicators using the "Add block" menu**. **Reach out to the team if you have any questions  or need technical support.**
{% endhint %}

<div align="left"><figure><img src="/files/rZEFRMXvQagojIEFkZev" alt=""><figcaption></figcaption></figure></div>


---

# 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://trylevel2.gitbook.io/getting-started/indicator-guides/moving-average-convergence-divergence.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.
