Foundations

Moving Averages: The Trend Filter Every Trader Needs

Quick Answer

A moving average is the average price over N days. The 20-day MA (trend) and 50-day MA (intermediate trend) together show direction. When the 20-day is above 50-day and price is above both, you're in an uptrend. Use this as a filter: take breakout/momentum trades in uptrends, avoid contrarian trades. Most traders don't use MAs to filter and get caught shorting in uptrends (losing trades).

Key Takeaways
  • 20-day MA tracks short-term trend
  • 50-day MA tracks intermediate trend
  • Price above both MAs = uptrend, take long setups
  • Price below both = downtrend, take short setups
  • MA crossovers (20 crossing 50) signal trend shifts

The moving average is the simplest, most useful technical indicator in all of trading.

What a moving average does

20-day MA on a daily chart = average close of the last 20 days

DateClose20-day MA
Day 20$100$98 (calculated)
Day 21$101$98.50 (updated)
Day 22$102$99.00
Day 23$103$99.50

The MA smooths the noise. If a stock jumps from $100 to $110 in one day, the MA rises slowly ($1–$2), showing the real trend.

The two-MA system

20-day MA: Short-term trend direction (days to weeks) 50-day MA: Intermediate trend direction (weeks to months)

Setup20-day MA50-day MATrendAction
UPTRENDAbove priceAbove 20-MAUpTake long breakouts
DOWNTRENDBelow priceBelow 20-MADownTake short breakouts
TRANSITIONCrossingCrossingUncertainAvoid; wait for new trend
RANGEFlatFlatNeutralTake mean-reversion

Score the Setup Before You Take It

TRADZY's Void Engine rates any setup 0–100 across 12+ variables: structure, trend alignment, volume, momentum and key levels.

Score a Setup Free →

Using MAs as filters

Before every trade, check:

  1. Where is price relative to the 20-day MA?
  2. Where is the 20-day relative to the 50-day?

Example 1: Uptrend filter

Example 2: Downtrend filter

Example 3: Chop filter

MA setups

Setup 1: Pullback to MA in uptrend

Why it works: Buyers at the MA support defend the trend.

Setup 2: MA crossover (trend start)

Why it works: Crossovers mark trend starts. The first impulse after a crossover is often strong.

Setup 3: Price break above MA (trend accelerating)

Why it works: Trend re-confirms after the pullback.

Adjusting MA periods for different timeframes

Daily chart: 20-day, 50-day, 200-day MAs

Hourly chart: 20-hour, 50-hour MAs (equivalent period)

15-min chart: 20 × 15 min = 300 min ≈ 5 hours = 20 five-min bars

The periods scale, but the concept stays the same.

MA crossovers and false signals

Real crossover: 20-MA crosses above 50-MA on heavy volume, price closes cleanly above both

False crossover: 20-MA touches 50-MA but reverses within the same candle, price still below

Filter false crosses:

FAQ

Which MAs should I use?

20 and 50 are standard. Some traders use 10, 20, 50. Some use 9, 21, 55 (similar). Test on your data and pick what works for your timeframe.

Can I trade MA crossovers alone?

You can, but entry signals are wide. Combine with volume, support/resistance, or price action for better entries.

Do MAs work on all timeframes?

Yes, but the longer the timeframe, the more powerful. A 20-MA on a daily chart is meaningful. A 20-MA on a 1-min chart is noise.

What if price is between the 20 and 50-MA?

That's chop/transition. The trend is uncertain. Skip or take only high-probability setups with tight stops.

Should I use exponential or simple MA?

SMA (simple) responds slower, EMA (exponential) responds faster. Both work. Pick one and stick with it.

How do I know when a trend is ending?

When the 20-MA flattens or starts sloping down. When price closes below the 20-MA for the first time. When the 20-MA crosses below the 50-MA. These are early warning signs. The trend isn't over, but it's weakening.

Put This Into Practice

  1. Score your next setup 0–100 with the Void Engine before entering
  2. Log the trade and tag the setup in the TradLog
  3. Review weekly: keep what pays, cut what doesn't

Start Free in TRADZY →

Educational content, not financial advice. Trading involves substantial risk of loss.