A trader adds a moving average to the chart and the noise falls away: the choppy days smooth into a line with a direction. Then the trader adds a second average, and the two lines cross — and the cross feels like a signal, clean and mechanical. The feeling is the trap. A moving-average cross is a lagging summary of what the price has already done, and it works as well as the market’s recent behaviour deserves — well in a trend, badly in a range. This article explains what a moving average is, what its three uses (crosses, ribbons, and dynamic support) measure, and how to build a system from them that knows its own limits. By the end, you will be able to compute a simple and an exponential average by hand, read a cross without mistaking it for a prediction, and write down testable rules for a system.
Prerequisite: “Technical Analysis Basics: How to Read a Chart, Trends, Support and Resistance, and Moving Averages” (Beginner Batch 1) — what a trend line is and how a chart is read. Builds on “ATR and Volatility” (M1) for the volatility reading that decides whether the system is in its element.
Key points
- A moving average is the average of the last N closing prices, recomputed on every bar. A simple average weights every close equally; an exponential average weights recent closes more.
- A cross — a fast average passing a slow one — is a lagging summary of a trend change, not a prediction of one. In a trend it confirms late; in a range it whipsaws as the price oscillates.
- A ribbon of several averages shows the trend’s strength at a glance: fanned out in a strong trend, compressed and tangled in a range.
- A moving average can act as dynamic support or resistance — a line the price respects repeatedly — but only in a trend, and only where the price has respected it before.
- A moving-average system is a set of written rules (which averages, which cross, which filter, which invalidation), tested on past data and followed without improvisation. The average is the tool; the system is the discipline around it.
Start trading with Exness
You can open an account here:
In plain words
A moving average is just the average of the last N closing prices, recomputed on every bar — five closes of 1.1000, 1.1020, 1.1010, 1.1040 and 1.1060 average to 1.1026 — and an exponential average weights the recent closes more, ending a touch higher at about 1.1032. A cross of a fast average over a slow one, like the golden cross of the 50-day average above the 200-day, only confirms a trend after it has begun: in the worked example the price had already risen 350 pips from its low before the cross arrived. In a sideways market the same crosses fire back and forth and lose a little each time, which is why a written filter — such as the averages fanned out in a ribbon — matters more than the cross itself. An average can also act as a moving floor or ceiling in a trend, but only where the price has respected it before, as gold’s 50-day average did three times at $2,350.
1. What a moving average is
A moving average takes the closing prices of the last N periods, averages them, and plots the result — then does it again on the next bar, dropping the oldest close and adding the newest. The line is smoother than the price itself, because each point is an average of many closes, and the jagged day-to-day movement is averaged out. The cost of the smoothing is lag: the average describes where the price has been, not where it is, and the longer the average, the further behind it sits.
Two kinds of average dominate practical use, and the difference is the weighting. The simple moving average (SMA) adds the last N closes and divides by N, weighting every close equally. The exponential moving average (EMA) gives more weight to recent closes, with the weight decaying exponentially — so the EMA reacts faster to a new move than an SMA of the same length, and it never fully drops an old close, its weight merely fading. A worked calculation makes the difference concrete. Take five daily closes on EURUSD: 1.1000, 1.1020, 1.1010, 1.1040, 1.1060. The 5-period SMA is (1.1000 + 1.1020 + 1.1010 + 1.1040 + 1.1060) ÷ 5 = 1.1026. The 5-period EMA, with the smoothing factor 2 ÷ (5 + 1) = 0.3333, builds up bar by bar and ends at approximately 1.1032, above the SMA, because the recent closes were higher and the EMA weights them more. The difference grows with the length: on a 50-period average, the SMA still gives the close from fifty days ago the same weight as yesterday’s, while the EMA has faded it to a small fraction of yesterday’s weight. Neither is “correct”: the SMA is simpler and slower, the EMA is faster and noisier, and a system should pick one, write it down, and use it consistently.
The length of the average is the other choice, and the more important one. A 10-period average follows the price closely and changes direction quickly; a 200-period average follows it from far behind and changes direction slowly. The common lengths — 10, 20, 50, 100, 200 — are conventions, not discoveries: 50 and 200 are the lengths the “golden cross” and “death cross” are defined on, and 20 is the length of the Bollinger middle band (Article 3). A length should be chosen for the holding period it serves: a 200-day average describes a trend measured in months, and it is the wrong tool for a trade held for hours. The timeframe and the length are chosen before the trade, and written down with it.
2. Crosses: the signal everyone learns first, and its price
A cross happens when a fast average passes a slow one. The two famous cases are the golden cross, when the 50-day average rises above the 200-day average, and the death cross, when it falls below. The names are dramatic, and the drama is misleading. A cross is an arithmetic event: the recent average has risen above (or fallen below) the longer one, which means the recent closes have been higher (or lower) than the older ones for long enough to move the averages. It is a summary of the recent trend, and it arrives after the trend has begun — that is the lag, not a flaw to be fixed but the price of the smoothing. A cross that confirmed a trend early would be one that reacted to noise, and a tool that reacts to noise is not a tool at all.
The cross works best where it was made for: a market that has been trending for a while and continues to trend. There the cross arrives late, but the move continues, and the late confirmation still leaves a trade worth taking. The cross fails where it was not made for: a ranging market, where the price oscillates and the averages cross and recross with each swing. In a range, a golden cross is followed by a fall, a death cross by a rise, and each cross loses money — the whipsaw, the moving-average system’s characteristic failure. The defence is not a cleverer cross but a filter: a condition, separate from the cross, that says whether the market is trending or ranging, and forbids the cross from being traded when it is ranging. The filters in common use are the slow average’s slope, the separation between the averages, and the ATR reading from M1. Any one of them will do; the point is that one of them is written into the system, and the cross is never traded alone.
A second property of crosses deserves a plain statement, because it is where the most money is lost. A cross is a single event on a single day, and a trend is a process that lasts weeks. Treating the cross as the whole trade — entering on the cross and holding until the opposite cross — means holding through every pullback and exiting only when the trend has already reversed far enough to cross the averages back. The opposite cross is a slow exit, and a slow exit gives back a large part of the trend’s profit. Practical systems therefore pair the cross with a separate exit rule — a trailing stop, a close below the slow average, a fixed target — rather than waiting for the reverse cross. The cross is an entry trigger, not a complete system.
3. Ribbons: reading the trend’s strength at a glance
A ribbon is several moving averages plotted together — for example, the 10, 20, 50, 100 and 200-period averages. Read as a group, they show something no single average can: the trend’s strength and state. In a strong uptrend, the averages fan out in order — the fastest at the top, the slowest at the bottom, each separated by a clear gap — because the recent closes are higher than the older ones at every length. In a strong downtrend, the fan reverses: the fastest at the bottom, the slowest at the top. In a range, the averages compress and tangle: they cross repeatedly, the gaps close, and the ribbon becomes a knot — the visual signature of a market with no trend, and the warning that crosses will whipsaw.
The ribbon’s two readings are the expansion and the compression. An expanding ribbon — the gaps between the averages widening — means the trend is strengthening. A compressing ribbon — the gaps narrowing — means the trend is weakening or the market is entering a range. The compression is the earlier warning, and the more useful: a ribbon that has compressed after a long trend is a trend that has run out of momentum, and the trader who sees it can reduce the position or tighten the exit before the reverse cross arrives. The ribbon is also the simplest trend filter for the cross system of Section 2: a cross is traded only when the ribbon is fanned out in the direction of the cross, and not when it is tangled.
The ribbon has the same limitation as every average-based tool: it is a summary of the past, and it cannot say whether the trend will continue. A fanned-out ribbon can stay fanned out for months, or compress tomorrow on a single piece of news. The ribbon describes the trend’s state today; it does not predict next week. Its value is the discipline it imposes: a trader who only trades with a fanned ribbon, never into a tangled one, has a rule that keeps them out of the ranging market where moving-average systems lose their money.
4. Dynamic support and resistance: the average as a line the price respects
The third use treats a moving average as a line the price respects — dynamic support in an uptrend, dynamic resistance in a downtrend. In a healthy uptrend, the price repeatedly falls back to a rising average — often the 50-period or the 20-period — stalls, and resumes upward. The average is not a level drawn from a past high or low, like the zones of M-T2; it is a line that moves with the price — which is why it is called dynamic. The reading is the same as for any support: the line is support only where the price has respected it before; a single touch proves nothing.
The procedure has three steps. First, identify the trend by the ribbon or by the slope of the slow average: the average is only used as support in an uptrend, and only as resistance in a downtrend. Second, find the average the price has respected: look back over the trend and count the touches — a 50-period average that has held three pullbacks is a line with evidence behind it, and a 20-period average the price has sliced through twice is not. Third, wait for the pullback to the average and for evidence that it is holding — a candlestick pattern at the line, a close back in the direction of the trend — before acting, exactly as with a Fibonacci level (Article 2) or a band touch (Article 3). The invalidation is a close beyond the average, against the trend: a daily close below the rising 50-period average in an uptrend ends the reading.
Two cautions belong here. The first is that the average that worked as support in one trend may not be the average that works in the next: a trend that respected the 50-period average for months may, after a volatility change, start respecting the 20-period instead, or none at all. The average is chosen by evidence, not by habit, and the evidence is re-checked on each trend. The second is that a moving average is a lagging line: after a sharp move, the average sits far below the price, and a pullback to it is a deep pullback. A pullback to a moving average is a patient trade, and a trader who chases the price down to the average has mistaken a lagging line for a fixed level.
5. A worked example: a golden cross, a ribbon, and a pullback to the average (illustrative)
All figures in this section are invented, and each step is shown in full.
The golden cross on EURUSD, daily chart. The pair has been falling for months, then bases and begins to rise. The 50-day average, which sat at 1.0800 during the fall, begins to rise as the higher closes enter the window. The 200-day average, at 1.0950, is still falling, because it still carries the closes from the downtrend. On the day the 50-day average closes above the 200-day average — both at approximately 1.0900 — the golden cross occurs. The price on that day is 1.1150: it has already risen 350 pips from the low of 1.0800 before the cross confirms. That is the lag, stated as a number. The question is whether the remaining move justifies the trade, and the answer comes from the filter, not from the cross: the 200-day average is still falling, not yet rising, and the ribbon is still compressed — the 10, 20 and 50-day averages tangled within 100 pips of each other. A system that requires a fanned ribbon would not trade this cross. A system that trades every cross would enter at 1.1150, and its exit — the death cross, months later — would come after the price had already fallen far from its peak. The example is a cross that happened, and a system that passed on it: a cross is a candidate, and the filter decides.
The ribbon on GBPUSD, daily chart. The pair trends upward for two months. The ribbon — 10, 20, 50, 100 and 200-day averages — fans out in order: the 10-day at 1.2900, the 20-day at 1.2850, the 50-day at 1.2750, the 100-day at 1.2600, the 200-day at 1.2400. The gaps are clear and widening: the trend is strong. In the third month, the gaps begin to narrow: the 10-day falls toward the 20-day, the 20-day toward the 50-day, and the ribbon compresses from a fan into a band 150 pips wide. No cross has occurred — the 50-day is still above the 200-day — but the compression is the warning: the trend’s momentum is fading, and the trader who watches the ribbon reduces the position or tightens the exit now, rather than waiting for the reverse cross.
The pullback to the average on XAUUSD, daily chart. Gold trends upward, and the 50-day average has held three pullbacks over two months: each time the price fell to the average, it stalled and resumed upward. The average now sits at $2,350, and the price, at $2,420, pulls back to $2,355 — five dollars above the average — and forms a bullish candlestick. The reading is dynamic support: the average has evidence behind it (three holds), the trend is intact (the ribbon is fanned), and the candlestick is the confirmation. The invalidation is a daily close below the average at $2,350. The target is the previous high at $2,450. From the entry ($2,355), the invalidation is $5 away and the target $95 away — a generous ratio, which is what a pullback to a respected average is for. The trade fails if the price closes below $2,350, and the failure ends the idea cleanly: the average that held three times has now broken.
What the three examples show together. The cross arrived late and was filtered out; the ribbon warned before any cross occurred; the pullback to the average gave the best ratio. One tool, three uses — which is why Section 6 writes down which use the system trades, and refuses the others.

6. Building a moving-average system: the written rules
- Averages: which averages, which type (SMA or EMA), which lengths — for example, a 20-period and a 50-period EMA for entries, a 200-period SMA as the filter. Written down, not changed trade by trade.
- Trend filter: the condition that must be true before any cross is traded — for example, the 200-period average is rising, or the ribbon is fanned out. A cross without its filter is not a trade.
- Entry: the event that opens the trade — for example, a daily close with the fast average above the slow average, with the filter true. A wick is not an entry; a close is.
- Exit: the event that closes the trade, not the reverse cross — for example, a daily close below the slow average, or a trailing stop at a multiple of ATR. The reverse cross is too slow to be the only exit.
- Invalidation: the single event that ends the idea — for example, a close back inside a tangled ribbon, or beyond the average used as support. Written down before the trade.
- Testing: the rules are run over past data before they are traded — on the daily chart, over at least a year, counting wins, losses, and whipsaws in ranging periods. A system that has not been counted is a preference, not a system. The minimum is that the counting happens, and that it includes the ranging months.
- In the journal: record the averages, the filter reading, the cross, and the exit (Article 3 of batch M3). The record lets a later review count how often the crosses paid and the filter saved the trade.
Summary — what to take away
- A moving average is the average of the last N closes, recomputed every bar. The SMA weights every close equally; the EMA weights recent closes more. The length decides the lag.
- A cross — a fast average passing a slow one — summarises a trend change after it has begun. The golden cross (50 above 200) and the death cross (50 below 200) arrive late.
- In a range, crosses whipsaw: they cross and recross with each swing, and each cross loses. A trend filter — the slow average’s slope, the ribbon’s fan, the ATR reading — keeps the system out of the range.
- A ribbon of several averages shows the trend’s strength: fanned out in a trend, compressed and tangled in a range. Compression is the early warning of a weakening trend.
- A moving average can act as dynamic support or resistance, but only in a trend, and only where the price has respected it before. The system is the written rules around the tool.
Next reads
- Bollinger Bands in Practice: Squeeze, Walk and Mean Reversion (this batch, Article 3) — the middle band is a 20-period moving average, and the bands are the average plus a volatility measure.
- ATR and Volatility: Sizing Your Stops by What the Market Is Doing (M1) — the volatility reading that filters a moving-average system, and the stop distances its exits use.
- Ichimoku for the Global Reader: The Cloud, the Lines and What Comes Next (this batch, Article 5) — a system built from midpoints rather than averages, and the comparison case for this article.
FAQ
Q: Which is better, the SMA or the EMA?
A: Neither is better in general. The EMA reacts faster, which means it crosses sooner and whipsaws more; the SMA reacts slower, which means it crosses later and whipsaws less. The choice is a trade-off between speed and stability, made once, written into the system, and tested — not switched trade by trade.
Q: How many averages should a ribbon have?
A: Three to five is enough: for example, 10, 20, 50, 100 and 200, or a shorter set of 10, 20 and 50. Fewer than three, and the ribbon cannot show compression; more than five, and the chart becomes unreadable. The set is chosen once and kept constant, so readings from different months compare.
Q: My golden cross happened and the price fell the next week. Did the system fail?
A: The cross is a summary of the recent trend, not a promise about next week, and a single cross followed by a fall is a normal outcome — especially if the filter was not satisfied, or the market was ranging. The question is not whether this cross worked but whether the system, with its filter and exit rule, works over a counted sample. One cross is an anecdote; a year of them is evidence.
Q: Can I use moving averages on an hourly chart?
A: Yes, and the construction is identical — but a 50-period average on an hourly chart describes fifty hours, and its cross is an hourly event. A system built on hourly crosses is for trades held for hours, with hourly exits and invalidation too. Mixing a daily average with an hourly cross produces a system whose parts belong to different trades.
Q: Why not just trade the cross and exit on the reverse cross?
A: Because the reverse cross is as slow as the cross itself: it arrives after the trend has already reversed far enough to move the averages, and by then a large part of the trend’s profit has been given back. A separate exit rule — a close below the slow average, a trailing stop, a fixed target — exits sooner.
Sources: the moving-average definitions as documented in the MetaTrader 5 platform documentation (MetaQuotes), and the golden cross / death cross conventions (50-day above/below the 200-day average) as described in John J. Murphy, Technical Analysis of the Financial Markets (New York Institute of Finance, 1999); J. Welles Wilder, New Concepts in Technical Trading Systems (1978), for Wilder’s smoothing — a related exponential-smoothing method (factor 1/N) used inside RSI and ATR, and distinct from the standard EMA’s factor of 2/(N+1); John Bollinger, Bollinger on Bollinger Bands (McGraw-Hill, 2001), for the 20-period average as the middle band. Checked: 22 November 2026. The worked examples in Sections 1 and 5 are illustrative, with invented figures.
This article is information only and is not investment advice. Forex and CFD trading involves a substantial risk of loss, including the possibility of losing more than you deposited with some account types and jurisdictions. Practise on a demo account until every procedure in this batch is familiar. Make sure you fully understand how leveraged products work before you consider trading with real money.
Disclosure: Broker Cost Check is reader-supported. If you open an account through a partner link on this page and trade, Exness pays us a share of the revenue from your trading activity under its partner programme. You pay us nothing: our payment comes from Exness, out of that revenue. How we make money: How Broker Cost Check works — method and how we make money

Leave a Reply