Skip to main content
← Back to blog
TUTORIAL What Is a Moving Average? SMA, EMA, and How to Use Them MoonHydra · moonhydra.com/blog
Tutorial Charts Trading Technical Analysis

What Is a Moving Average? SMA, EMA, and How to Use Them

· 9 min read · MoonHydra Research

A moving average is one of the first indicators most traders add to a chart, and for good reason: it takes a jittery line of prices and smooths it into a single flowing curve that shows the underlying trend at a glance. That is all it does — no magic, no prediction, just a rolling average of recent prices redrawn as each candle closes. This guide explains what a moving average actually is, the difference between the two kinds you will meet (SMA and EMA), which periods traders use, how the line gets used for trend and support, and the one limitation you can never remove: lag. Then it covers the honest catch for Solana memecoins, where thin liquidity and almost no price history make moving averages far less trustworthy than they are on established tokens.

What a moving average actually is

A moving average takes the average price over a fixed number of recent periods and recalculates it every time a new period arrives. Because the window slides forward with each candle, the average moves along with it — hence the name. It is plotted as a line directly on top of the price, so you can see both the raw candles and the smoothed trend at the same time.

A concrete example makes it click. Put a 20-period moving average on a 1-minute chart, and the line at any moment is simply the average of the last 20 one-minute closes. When the next minute closes, the oldest price drops out of the window and the newest one is added, so the average updates. Do that continuously and you get a smooth curve that lags slightly behind price but strips out most of the minute-to-minute noise.

The point of all that smoothing is to answer one question: which way is price generally heading, underneath the chop? Individual candles jump around constantly, and it is easy to mistake one green candle for a trend. A moving average filters that noise so the direction becomes clear. It does not tell you where price is going next — it summarizes where price has been in a way your eye can read instantly.

SMA versus EMA

There are two moving averages you will actually meet, and they differ only in how they weight the prices inside the window.

The Simple Moving Average (SMA) treats every price in the window equally. A 20-period SMA is a plain average of the last 20 closes — the price from 20 candles ago counts exactly as much as the most recent one. That makes it smooth and stable but slow: a sharp recent move gets diluted by all the older prices still sitting in the average, so the line reacts gently.

The Exponential Moving Average (EMA) weights recent prices more heavily and lets older prices fade in influence. Because the newest candles carry more weight, the EMA reacts faster to fresh price action and hugs the current price more closely. A 20-period EMA and a 20-period SMA cover the same span of time, but the EMA turns sooner when price changes direction.

Neither is simply better — they trade the same thing off in opposite directions. The EMA turns quickly, which helps you notice a move early but produces more false starts and whipsaws in choppy conditions. The SMA is steadier and gives fewer misleading signals, but confirms a change later. Traders who want responsiveness lean toward EMAs; those who want a calmer read of the bigger trend prefer SMAs. Other variants exist, but these two are the ones worth understanding first.

Common periods and what they are for

The period (sometimes called the length) is how many candles the average covers, and it is always relative to your timeframe. A 20-period average spans 20 minutes on a 1-minute chart, but 20 days on a daily chart. Change the timeframe and the same number means a completely different stretch of time, so always know which chart you are on.

  • 9 and 20 (short) — near-term momentum. These lines hug price closely and react quickly, useful for reading the immediate tempo of a move.
  • 50 (medium) — the intermediate trend. A middle-ground read that filters short-term noise without lagging too far behind.
  • 100 and 200 (long) — the big-picture trend. The 200-period line especially is the classic long-term reference on established assets, watched by a huge number of traders.

The pattern is consistent: shorter periods are more responsive but noisier, and longer periods are smoother but slower. The specific numbers are not magic — they are popular partly by convention, and partly because so many traders watch the same round figures that those levels become mild, self-reinforcing reference points. Pick periods that match how long you actually hold: a scalper on 1-minute candles cares about the 9 and 20, while someone tracking a token over weeks cares about the 50 and 200.

How traders use moving averages

Once the line is on the chart, it gets used in a few practical ways. The first is trend direction. Is the average sloping up, down, or running flat? Price above a rising average is a straightforward uptrend; price below a falling average is a downtrend; a flat average with price crossing back and forth is a range with no clear trend. That single glance orients you before you do anything else.

The second use is as dynamic support and resistance. In a healthy trend, price often pulls back to a moving average and then bounces off it, so the line behaves like a moving floor in an uptrend or a moving ceiling in a downtrend. Unlike a flat horizontal level you draw by hand, a moving average slides along with price — which is exactly why traders call it dynamic.

The third use is as a filter: whether price sits above or below a chosen average tells you which side of the trend you are on, and many traders only take long setups while price holds above a key line. None of this replaces reading the actual candles — it complements it. If you are still building that foundation, the candlestick charts guide and the walkthrough of a full Solana token chart pair naturally with an average laid on top.

Crossovers, golden cross, and death cross

When two moving averages of different lengths sit on the same chart, the moment one crosses the other is read as a shift in momentum. A shorter average crossing above a longer one means recent prices are pulling ahead of the older trend, which traders read as strengthening upside. A shorter average crossing below a longer one means the opposite.

Two of these crossovers have famous names. The golden cross is when the 50-period average crosses above the 200-period, traditionally read as a bullish sign that the longer trend may be turning up. The death cross is the mirror image — the 50 crossing below the 200 — read as bearish. A simpler version is price itself crossing a single average, which some traders use as a basic entry or exit trigger.

The honest framing matters here. Crossovers are confirmations, not predictions. Because both averages are built from past prices, a golden cross only prints after a good chunk of the move has already happened — the signal arrives late by design. Crossovers help you stay on the right side of a sustained trend, but if you are waiting for one to call a bottom, you will always be buying well after the low. Treat them as evidence a trend is underway, not as a starting gun.

The lag you can never remove

Every moving average shares one built-in limitation, and it is worth being clear-eyed about: a moving average is calculated entirely from prices that have already happened. It can only describe the past. It follows price; it never leads it.

That lag scales with the period. A longer average is smoother precisely because it is slower to respond, so the 200-period line reacts to a change much later than the 20. And the moment an average is least helpful is exactly the one you most want a signal — the turning point. When price reverses, the average keeps pointing the old direction for a while, because all those old prices are still sitting in the window, holding the line in place until enough new candles drag it around.

So a moving average is a trend-follower, not a crystal ball. It is genuinely good at confirming that a trend is in place and helping you stay with it, and genuinely poor at calling exact tops and bottoms. This is not a bug you can tune away by finding the perfect setting — it is the fundamental trade-off between smoothness and responsiveness. A faster average lags less but gives more false signals; a slower one gives cleaner signals but lags more. You always choose a point on that spectrum, never escape it.

The honest caveat for Solana memecoins

Moving averages assume two things that most Solana memecoins simply do not have: a reasonable amount of price history and reasonably continuous trading. Break either assumption and the line stops meaning much.

Start with history. A moving average needs a window of closed candles to average, and a token that launched an hour ago barely has any. A 200-period line either does not exist yet or is computed from a tiny handful of wildly volatile prints — noise dressed up as a trend. Longer averages are effectively useless on brand-new tokens, for the simple reason that there is not enough past for them to summarize.

Then there is liquidity. Smoothing works when price moves in relatively small, continuous steps. On a thin memecoin, a single large trade can yank the price several percent in one candle, which makes even the averaged line lurch instead of glide. Add the reality that some of the volume on low-float tokens is manufactured — wash trading and coordinated pumps distort the very prices the average is built from — and the smooth curve can be summarizing fabricated data. The psychological pull of a clean line is worth being aware of, a theme the memecoin trading psychology guide digs into.

The takeaway is not to throw moving averages out, but to know where they earn their keep. They work best on more established, liquid tokens with real trading history, where price is continuous and the window is full. They are least useful on fresh, thin memecoins, where you are better off reading raw price action, liquidity depth, and holder distribution directly. If you do put an average on a young token, keep it short and treat it as rough orientation, never a signal to act on by itself.

How MoonHydra fits

A moving average helps you frame a decision — it does not place the trade for you. MoonHydra is a non-custodial Solana trading bot that lives in Telegram: your keys are encrypted with AES-256-GCM and never leave your control, trades route through Jupiter for pricing, and there are no custom contracts anywhere in the path. Once you have used an average to read the trend — price holding above a rising line, a pullback toward it, a level you want to defend below it — you can set a limit order or a take-profit and stop-loss and let the bot execute when price gets there, instead of watching the chart all day. To be clear about what it is: MoonHydra is an execution tool, not a signal service. It does not calculate indicators or tell you when a golden cross forms — you make the read, and it carries out the order. Pricing is a flat 1% per trade on buys and sells, with no subscription. You can find where to view charts and averages before you act in the DexScreener guide.

Bottom line

A moving average is a rolling average of recent prices, redrawn as each candle closes, whose job is to smooth out noise and show the underlying trend. The SMA weights every price equally and reacts slowly; the EMA weights recent prices more and reacts faster — a trade-off between steadiness and responsiveness, not a case of one being better. Shorter periods like 9 and 20 track near-term momentum, while 50 and 200 track the longer trend. Traders read these lines for trend direction, as dynamic support and resistance, and through crossovers like the golden and death cross — always remembering that every average lags, because it is built from the past and can only follow price, never predict it. On thin Solana memecoins with almost no history and jumpy liquidity, averages are at their least reliable, so lean on them for established, liquid tokens and read structure directly on fresh ones.

Next: build the chart-reading foundation these lines sit on with how to read candlestick charts and how to read a Solana token chart, learn the tool you will view them on in how to use DexScreener, then act on your levels through MoonHydra at t.me/moonhydrabot.


Ready to put this into practice?

MoonHydra is a multi-wallet Solana memecoin trading bot on Telegram. 1% per trade. AES-256-GCM encrypted. Non-custodial.

Open MoonHydra