All toolsIndicators

Moving Average Chart

Plot SMA and EMA overlays on any price series to separate trend from noise.

What is a moving average chart?

A moving average chart plots the average of a price over a trailing window alongside the raw price, smoothing short-term noise so the underlying trend is visible. A simple moving average (SMA) weights every day in the window equally; an exponential moving average (EMA) weights recent days more heavily, so it turns faster. Crossovers between a fast and slow average are among the most widely used trend signals.

Price with SMA 20 & EMA 50time-series

Illustrative price path with a 20-period simple and 50-period exponential moving average overlaid. Data is synthetic for demonstration.

Moving averages are the first indicator most analysts reach for because they answer a simple question: which way is this series actually trending, once you strip out the day-to-day chop? This tool overlays a 20-period SMA and a 50-period EMA on a price path so you can see how the two respond differently to the same data.

SMA vs EMA — which should you use?

An SMA is the arithmetic mean of the last N values and treats a price from N days ago exactly like yesterday's. That makes it smooth but slow to react to a genuine turn. An EMA applies a decay factor so the most recent observations dominate, which means it hugs the price more closely and signals reversals earlier — at the cost of more false starts in choppy markets.

Read more
A common convention pairs a fast average (e.g. EMA 12 or SMA 20) with a slow one (e.g. EMA 26 or SMA 50). When the fast line crosses above the slow line it is read as bullish momentum; a cross below is bearish. The wider the gap between the two windows, the fewer — but higher-conviction — the crossovers.

Reading crossovers and the golden cross

The best-known long-horizon signal is the 'golden cross', where the 50-day average rises above the 200-day, and its inverse the 'death cross'. Neither is predictive on its own; both are lagging by construction because they average past data. Their value is in confirming that a trend has changed regime rather than merely wobbled.

How Quadesto computes it

Quadesto's compute engine derives SMA, EMA, WMA and volume-weighted variants directly from your uploaded series — no spreadsheet formulas, no manual windowing. You pick the source column and the period, and the engine appends the derived column, which you can then plot as an overlay like the one above and embed anywhere.

Build this with your own data

Upload a CSV or connect a live source, and Quadesto renders this exact chart — styled, computed, and embeddable in your reports and newsletters. Free to start.

Create free account

Frequently asked questions

What period should I use for a moving average?
It depends on your horizon. Short-term traders often use 9–21 periods; swing traders 50; long-term investors 200. Shorter windows react faster but generate more noise; longer windows are smoother but lag more. Test a few against your own series.
Is an EMA better than an SMA?
Neither is universally better. An EMA reacts faster to recent moves, which helps in trending markets but produces more whipsaws when a series is range-bound. An SMA is steadier. Many analysts plot both and use the relationship between them.
What is a golden cross?
A golden cross occurs when a shorter moving average (commonly the 50-day) crosses above a longer one (commonly the 200-day), signalling a potential shift to a longer-term uptrend. The death cross is the opposite and is read as bearish.
Can I add moving averages to my own data?
Yes. Upload any time series to Quadesto, add an SMA or EMA derived column with the period you want, and overlay it on the price chart. The result is embeddable in reports, newsletters, and dashboards.
Do moving averages predict price?
No. Moving averages are lagging indicators — they summarise what has already happened. They are useful for identifying and confirming trend, not for forecasting exact future levels.