Skip to main content
Trading & Risk

Moving Averages

Pomegra Learn

Moving Averages

A moving average is the simplest and most widely used trend-following indicator. It smooths out price noise by averaging the closing prices over a specified number of periods. A 50-day moving average is the average of the close over the most recent 50 trading days; a 200-day moving average smooths over 200 days. Moving averages serve multiple purposes: they define trend direction, act as dynamic support and resistance, signal crossovers when two averages intersect, and form the foundation of more sophisticated indicators like MACD and VWAP. This chapter teaches you three types of moving averages, how to use their intersections as trading signals, and how to interpret the relationship between price and moving averages.

The simplicity of moving averages belies their power. Professional traders use the 200-day moving average as the ultimate arbiter of long-term trend direction. If price is above the 200-day average, the long-term trend is up; below it, the trend is down. The 50-day average provides a shorter-term view. The intersection of a shorter-term average crossing above a longer-term average—the golden cross—is one of the oldest and most reliable buy signals in technical analysis. The death cross, when the short-term average falls below the long-term average, signals a shift to downtrend. These signals are not perfect, but they carry sufficient probability that they form the backbone of many trading systems.

Why This Matters

Moving averages work because they capture trend direction with a lag. That lag—the fact that they follow price rather than predict it—is their greatest weakness and their greatest strength. The weakness is obvious: the signal comes after the move has already started. The strength is that they keep you in the trend for its duration. A trader who buys at every golden cross and sells at every death cross will have many false signals, but the signals that work will capture large portions of sustained trends. Moving averages also serve as dynamic support and resistance. Price that has been trending upward tends to pull back to its 50-day moving average before resuming the rally. This knowledge guides entry decisions.

What You Will Learn

This chapter covers the three main types of moving averages: simple (equal weight to all periods), exponential (more weight to recent periods), and weighted (also weighted toward recent data). You will learn when each type is most useful, and why professional traders prefer exponential moving averages for their responsiveness. We will examine crossover strategies—systems based entirely on moving average intersections—and the historical returns they generate. You will encounter the MACD (Moving Average Convergence Divergence), a momentum indicator built on moving averages, and VWAP (Volume Weighted Average Price), which incorporates volume to create an even more realistic picture of average price.

How to Read This Chapter

Pull up a chart of the S&P 500 index (SPY) and add a 50-day and 200-day exponential moving average. Watch how price oscillates around these averages. Zoom out to the past five years and identify every golden cross and death cross. How many of those signals would have caught a major trend? How many would have whipsawed you with false signals? This exercise builds intuition about both the power and the limitations of moving average crossovers.

The articles below start with moving average basics and move into crossover strategies and the MACD indicator. By the end, you will understand why millions of dollars in algorithmic trading capital is deployed on moving average signals every single day.

Articles in this chapter