> For the complete documentation index, see [llms.txt](https://docs.million-moves.net/start/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.million-moves.net/start/learn-the-indicators/million-moves-algo/moving-average.md).

# Moving Average

**The Magic of Moving Averages**

Think of the moving average as a friendly guide that simplifies complex price data. It calculates the average price over a specific period, helping us spot trends and make informed decisions. In our case, we rely on the 200 EMA, where "EMA" stands for Exponential Moving Average. This means it pays more attention to recent prices, giving us a more current picture.

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

**You can activate the Moving Average in the Million Moves Algo settings:**\
\
![](/files/V9RiK8FWbE855jryKu9C)

### **Why the Moving Average Matters for Trading:**&#x20;

🔍 **Short Setups Below:** When the price falls below the 200 EMA line, it's like a signal telling us that the possibility of short setups increases. This suggests that the trend might be shifting downwards or encountering resistance.

🚀 **Long Setups Above:** On the flip side, if the price stays above the 200 EMA line, it hints at a higher chance of long setups. This indicates that the trend might be moving upward or finding support.

**Visualizing Trends:** Imagine the 200 EMA as a reference point that guides us through market trends. When prices move below or above this line, it's like the moving average whispering insights about potential market directions.

### Why It's Important for Our Indicator:&#x20;

🔍 **Smart Signals Aligned:** Our indicator is designed to generate smart signals when the price aligns with the correct side of the Moving Average. It's like having a compass that points you in the right trading direction based on this crucial reference line.

⚙️ **Customizable Settings:** What's even better is that our indicator's effectiveness can be tailored to your preferences. When you adjust the settings, such as changing values from the default 200 to something like 100, it directly impacts the smart signals it generates. This customization ensures that the indicator works harmoniously with your trading style and strategy.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.million-moves.net/start/learn-the-indicators/million-moves-algo/moving-average.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
