The basic crossover has a well-known weakness: it crosses back and forth when the market goes sideways. Most variations are attempts to deal with that. By the end of this lesson, you'll know four common ones, how to write a slope filter in numbers, and how to count what a filter removes.
1 of 9
What you'll learn
- Add a slope filter. Trade a cross only if the slow average has risen a set amount.
- Wait for a close beyond both. Later entries, with fewer quick flips.
- Use a third average. Take crosses only in the direction of the slowest line.
- Try price and one average. It gives the most signals and the most whipsaws.
- Count what a filter removes. Check whether it cut more losers than winners.
Exercise
- Pick one variation and write it as a rule with numbers.
- On 10 days of the 5m practice chart in Wildflower, count the crosses with and without it, and note which removed crosses would have won or lost.
Practise this on Wildflower's free practice chart. It needs a free account.
Join waitlistQuick check
1. What does a slope filter check?
2. Which variation usually gives the most signals?
3. A filter cuts 50 crosses to 20. What should you check next?
0 of 3 answered.
Finished this lesson?
Tick it off and keep your place
Read the full notes
Common crossover variations add a slope filter, wait for a close beyond both lines, use a third average for direction, or use price and one average; each changes how many signals you get, and only testing shows which it removes.
- Four common variations on the The moment a shorter moving average crosses a longer one: above it for a cross up, below it for a cross down.More in the glossary: a slope filter; a close beyond both lines; three averages; and price crossing one average.
- Slope filter: trade a cross up only if the slow average has risen by a set amount, for example 0.75 One whole unit of a price. On the S&P 500, a move from 5,000 to 5,001 is one point, and each futures contract sets what a point is worth in dollars.More in the glossary over 5 One bar on a price chart. It shows where price opened and closed, and the highest and lowest it reached, in one stretch of time.More in the glossary (5,001.60 to 5,002.63 is 1.03, so it passes). The numbers are examples; choose yours by testing. See Ways traders use moving averages.
- Close beyond both: wait for a candle to close above both averages for a buy. Later entries, fewer quick flips.
- Three averages (such as 9, 21 and 50): buy a 9-21 cross up only while both are above the 50. The slow line acts like a A bigger candle size than the one you’re looking at. On a 5-minute chart, the 1-hour chart is a higher timeframe.More in the glossary: see Top-down analysis step by step.
- Price and one average: a close above it is a buy, a close below a sell. The earliest and most signals, and the most flips in sideways markets (A run of signals that quickly reverse, such as moving averages crossing back and forth when price moves sideways.More in the glossary).
- Count what a filter removes, and check whether it removed more losers than winners, on the same dates. More: Market regimes.
Worked example
Made-up numbersWrite a slope filter in numbers
Made-up numbers · rule: the 21 EMA must have risen at least 0.75 points over 5 candles
- On the cross candle: 5,002.63
- Five candles earlier: 5,001.60
- Rise: 1.03 points
1.03 is at least 0.75, so the trade is allowed.
Your turn
DrillMade-up numbers · 21 EMA now: 5,118.50 · five candles ago: 5,116.00
Trading is risky. You can lose money. This lesson explains how a strategy is built and tested. It isn't advice, and it doesn't say the strategy works.