◆ TICKERBASEOpen TickerBase →
◆ TICKERBASE · INVESTING GLOSSARY

What is a SMA (simple moving average)?

A simple moving average (SMA) is the plain mean of the last N values of a price series, recalculated on every bar so the line travels with price.

Our SMA draws up to six lines on the price pane; the defaults are 20, 50 and 200 bars, a short, medium and long view of the same trend. It reads the close unless you pick another price field (open, high, low, hl2, hlc3, ohlc4) or another indicator as the source. Each line starts only once N bars are loaded.

How is a SMA calculated?

SMA(N) = (P[t] + P[t-1] + ... + P[t-N+1]) / N

The terms in the formula

P[t]
Source value on bar t (the close by default).
N
Length in bars: 20, 50 and 200 by default, up to six lines.
t
The current bar.

How do you read a SMA?

What are the limits of a SMA?

Where can you see it on TickerBase?

Open a live chart and add the indicator

Related terms

All terms in the glossary · עברית · About TickerBase · Data methodology & sources · Privacy · Terms

TickerBase is provided for educational and informational purposes only. Nothing on this page is financial, investment, tax or legal advice, or a recommendation to buy, sell or hold any security. Figures are approximate and drawn from public filings. Past performance does not predict future results.