Kxianbi is an independent, third-party guide, not affiliated with OKX. Some links are referral links (invite code OK3188); if you sign up through them, we may earn a referral fee. Full disclosure here.
KxianbiCandlestick notes for beginners
中文 English ភាសាខ្មែរ አማርኛ සිංහල
HomeStarter notes › How to read moving averages

How to read moving averages: the 5, 20 and 60-day lines and the golden/death cross

Open a candlestick chart and you'll see a few coloured curves drifting over the candles, tracking the price — those are moving averages. A lot of beginners' first thought is "when these lines cross, is that when I buy?" Hold that thought. The moving average is the most basic tool in chart-reading, and also the most easily misused, so this note walks through it from the start, with one aim: to get you to stop believing "golden cross buy, death cross sell".

One line to remember first

A moving average (MA) is the last N days' closing prices averaged, with each day's average joined up into a line. The 5-day MA is the average price of the last 5 days; the 60-day MA is the average of the last 60. It's basically a "smoothed-out price".

A moving average is just an average price

The full name is "moving average", MA for short. The maths fits in one sentence: take the last N days' closing prices, add them up, divide by N, and that's today's value for the line. Tomorrow you recompute using the latest N days, one point per day, and joined up they make a line.

An example. Say a coin's last five closing prices are 100, 102, 98, 105, 100 — today's 5-day MA is the average of those five, which is 101. Tomorrow you drop the oldest 100, add the new close, and recompute, shifting forward one slot each day — which is why it's called a "moving" average.

What's the point of averaging? Looking at a single candle, the price jumps around so much that the direction is hard to see; average it and those one-day-up, one-day-down wobbles get "smoothed out", leaving a relatively clean trend. The whole value of a moving average is to grind off the noise so you can see roughly where the price is heading. If you haven't got a single candle down yet, start with how to read a candlestick chart.

What the 5, 20 and 60-day lines each look at

Pick a different N and the average takes on a completely different character: the smaller N is, the closer it hugs the price, the more sensitive, the more it twitches; the bigger N is, the smoother, the slower to react, and the better it represents the big direction. In crypto these three are the most common:

Moving averageAverages how many daysRoughly looks at
5-day (MA5)Last 5 daysShort-term mood; hugs the price, turns fastest
20-day (MA20)Last 20 daysMedium-term rhythm; roughly a month's average cost
60-day (MA60)Last 60 daysMedium-to-long direction; slowest and steadiest to turn

Think of them as "average cost lines" on three time scales. The 20-day roughly stands for "the average price people bought in at over the past month": with the current price above it, the people who bought this month are broadly in profit; below it, that group starts sitting on a loss. These day counts aren't gospel — 5, 10, 20 and 60 are all used, so don't go hunting online for "the most accurate moving average setting"; that thing doesn't exist.

One more point that gets overlooked: more than "is the price touching the average", what you should watch is whether the line itself is sloping up, sloping down, or going flat. A 60-day line sloping up says the medium-to-long trend is up; sloping down says the big direction is falling. See the direction first, then talk about the rest.

What a golden cross and a death cross are

When there are two moving averages of different lengths on the chart, they cross each other every so often. Those two crossings are the golden cross and the death cross you hear people going on about:

  • Golden cross: the short moving average (say the 5-day) crosses up through the long one (say the 20-day), often taken as a "turning stronger lately" signal.
  • Death cross: the short MA crosses down through the long one, often taken as a "turning weaker lately" signal.

Why do they cross? The short MA is more sensitive — when the price rises it lifts its head first, crosses ahead of the long one, and you get a golden cross; the death cross is the same thing in reverse. Put plainly, a golden or death cross is just a geometric result of "the short MA moving faster than the long one", with no magic to it.

Remember: a golden cross is not a prophecy that "it will rise". It's a description that "this short stretch has already been stronger than the long one". One is a prediction, the other an after-the-fact record — a big difference.

Does a golden cross always mean a rise?

This is the section I most want to settle. The answer is blunt: not necessarily, and quite often it'll lose you money. A moving average is computed from the last N days' prices, so it's slow by birth. By the moment the 5-day finally crosses the 20-day and the golden cross is "confirmed", the price has usually already risen a stretch; you see the signal and enter, possibly catching the small top exactly. That's the "lag" — the signal always arrives late.

What's worse is a choppy market. When the price grinds back and forth in a range, the two averages tangle together and cross repeatedly: golden cross today, death cross a couple of days later, golden cross again a few days after that. If you mechanically buy the golden cross and sell the death cross, you'll buy at the top of the range and sell at the bottom, getting slapped back and forth. Trend tools like moving averages all but stop working in a market that has no trend.

To look back at golden and death crosses in history, you need a screen where you can scroll the chart freely and drop a moving average on with a tap. You can open an account on OKX, add the average, and verify everything above on the free demo account — no money on the line, and a wrong read just costs you virtual funds.

Lag and a fear of choppiness are flaws a moving average can never shake, and once you understand them you stop believing in it. The smart use isn't "trust the average's signal" but "use the average to confirm the big picture": the price holding above an up-sloping average is an uptrend, where you can lean bullish; the other way round, lean cautious. What it gives you is a background read, not an on/off switch for entries and exits. On "why no indicator can predict moves", how a beginner reads MACD tells it from another angle — that note and this one are a pair, worth reading back to back.

One line is enough for a beginner

After all those flaws, how do you actually use it? Here's the hardest-to-mess-up approach — watch just one line, ideally the 20-day.

  1. Direction first: a 20-day sloping up is an uptrend, sloping down a downtrend, going flat means choppy (act less).
  2. Then position: with the price above the 20-day, the people who bought recently are broadly in profit; below it, raise your guard a notch.
  3. Don't treat it as a buy/sell button: it helps you judge "what kind of environment this is", not "whether to place an order". Whether to act, and the most you'll lose, is risk management — see the risk calculator.

Once you can read one 20-day line fluently, there's no rush to add a second line and study the golden and death cross. The most common beginner pile-up is slapping on five or six averages from the get-go, half-understanding each, and getting tangled up. Less is more — and that's especially true for chart-reading.

⚠️ Don't treat a moving average as a traffic light

No single moving average and no golden or death cross can reliably predict moves. Technical analysis helps you see the current state clearly and keep risk in check; it isn't fortune-telling. Crypto swings hard, and contracts with leverage can wipe out all of your capital, and then some. While you're learning, use small amounts or a demo account only. Everything here is chart-reading education, not investment advice.

Adding a moving average on OKX

With the idea clear, adding a line is simple. Take OKX (formerly OKEx) as the example — both web and mobile let you drop averages on freely, and it has a demo account good for practice:

Step 1: open the chart, switch to daily

Say BTC/USDT; use "1D" first for the big direction.

Step 2: tap "Indicators", add MA

Find MA (moving average) and turn it on.

Step 3: keep only one MA20

Switch off the extra averages and get one line read fluently first.

Step 4: scroll left through history, check it yourself

Use the demo account to see how golden and death crosses hold up across different market conditions.

Once you've got moving averages down, the next stop we'd suggest is MACD — it's made from the gap between two moving averages, so it goes down easily once averages make sense.

Common questions

The 5, 20 and 60-day moving averages — which should a beginner watch?

One line is enough for a beginner. We'd suggest starting with the 20-day moving average on the daily timeframe to read the big direction. Getting clear on whether the price is above or below the 20-day line, and whether the line is sloping up or down, is far more useful than staring at three or four lines that contradict each other.

Does a golden cross always mean a rise is coming?

Not necessarily. A golden cross is just the short moving average crossing above the long one, and it's calculated from past prices, so it lags by nature. In a choppy market, golden and death crosses alternate constantly and false signals are everywhere, so trading off them mechanically gets you slapped back and forth.

Can moving averages predict where the price is going?

No. A moving average is an average of past prices; it describes a trend that has already happened and always lags the price by a step. It can help you judge whether things are broadly trending up or down right now, but it can't predict the future, and anyone claiming averages reliably predict prices isn't being honest.

Check golden and death crosses on the history yourself

Rather than memorising slogans, look for yourself. OKX lets you drop on moving averages, scroll left through history, and has a free demo account so you can test with virtual funds how golden and death crosses hold up across different markets.

Open a practice account on OKX →

Contains a referral link (invite code OK3188). We're not affiliated with OKX; whether you sign up, and your fees, are unaffected. Crypto carries risk — assess it for yourself.