Double Moving Average Crossover: How to Combine Them

Using a single moving average on the chart already helps you see the price's direction, but it leaves a question unanswered: exactly when to enter? Waiting for the price to cross the average on its own tends to generate late signals or, worse, false signals every time the price wiggles near it without establishing a trend.
The most common solution among trend traders is placing two moving averages on the same chart, one fast and one slow, and trading the crossover between them instead of the crossover between price and average. This simple adjustment significantly reduces the number of false signals and also gives an immediate visual sense of the trend's strength.
How the double moving average crossover works
The logic uses two averages of different periods, for example a 9-period one (fast) and a 21-period one (slow). When the fast average crosses above the slow one, called a golden cross, it's a signal of a possible start of an uptrend. When the fast one crosses below the slow one, the so-called death cross, it's a signal of a possible start of a downtrend. The distance between the two averages also matters: when they spread apart a lot, the trend is strong; when they run close together, the market is indecisive.
Choosing the periods for the two averages
There's no universally correct combination — the choice depends on the chart timeframe and the trading style. Common combinations include 9 and 21 periods for shorter-term trades, 20 and 50 for medium-term positions, and 50 and 200 for long-term trend analysis, the latter widely used by investors to identify an asset's overall picture. Shorter averages react faster but generate more false signals; longer averages take longer to confirm but filter out noise better.
Practical example with numbers
Suppose a stock trading around R$ 15.00, with the 20-period average at R$ 14.60 and the 50-period average at R$ 14.80 — the two close together, indicating indecision. Over two weeks, the price rises and the 20-period average crosses above the 50-period one, with the price at R$ 15.40. That's the entry signal.
The trader buys at R$ 15.40, sets the stop loss at R$ 14.70 (a bit below the 50-period average, which now acts as support), and projects a target at R$ 17.00, based on a previous resistance. The risk is R$ 0.70 per share and the potential gain is R$ 1.60, a ratio of roughly 2.3 to 1 — meaning the target is more than twice the size of the risk taken.
The problem with trendless markets
The biggest risk of any moving average crossover strategy is trading in a sideways market with no defined trend. Under these conditions, the two averages cross repeatedly over short spans of time, generating a series of false signals known as whipsaw — each entry is quickly followed by an opposite signal, resulting in small, recurring losses.
How to filter out false signals
- Use a trend-strength indicator, like the ADX, requiring a minimum value before considering the crossover valid.
- Require a minimum distance between the two averages at the moment of the crossover, ignoring crossovers where they're practically glued together.
- Combine the crossover with the context of a larger-timeframe chart: if the daily chart shows sideways movement, crossovers on the 15-minute chart tend to be less reliable.
- Accept that no filter eliminates 100% of false signals — the goal is to reduce their frequency, not eliminate the risk.
Putting it all together in a simple routine
A practical way to apply this strategy is to review the daily chart at the day's close, checking whether the two averages are close to a crossover, and only then follow the asset more closely over the following days. This avoids constantly checking the chart looking for a signal that hasn't formed yet.
Like any system based on moving averages, the double moving average crossover reacts to what has already happened to the price, not to what will happen — so there's always risk of loss, even on well-filtered signals. Testing different period combinations on a demo account, whether on Astron or another platform, before applying real capital helps you find the combination that best fits the asset and the chart timeframe you follow.
Practice before you risk. Open your Astron account and test your ideas on the demo account with R$ 10,000 in virtual funds.
Create free account