---
title: "Simple moving average (SMA)"
description: "A simple moving average (SMA) is the unweighted mean of a series' last N values, recalculated at each new point, so it smooths noise and shows the trend."
canonical_url: "https://fincanva.com/glossary/simple-moving-average-sma"
last_updated: "2026-10-06"
md_url: "https://fincanva.com/glossary/simple-moving-average-sma.md"
---

# Simple moving average (SMA)

A simple moving average (SMA) is the unweighted mean of a series' last N values, recalculated at each new point, so short-term noise is smoothed away and the underlying trend becomes easier to read. "Simple" means every value in the window counts the same. In Fincanva it is one of the **Indicator** choices on a [risk condition](/glossary/risk-condition).

**Also seen as:** SMA, moving average, MA, rolling average.

## How is a simple moving average calculated?

$$
{\text{SMA}_N(t)} = \frac{1}{{N}} \sum_{i=0}^{N-1} {P_{t-i}}
$$

where:

- the average on day t
- the number of periods in the lookback window
- each of the most recent N values, the current one included — the closing price, for a price series

A simple moving average adds up the last N values and divides by N, then repeats that at every new point: each new point drops the oldest value out of the window and takes the newest one in, which is what makes the average "move". A weighted or exponential average, by contrast, gives recent values more pull.

## How does Fincanva handle it?

The S&P 500 200-day moving average template's sheet: go Risk-Off when the value of the S&P 500 is below the 200-day moving average of the S&P 500.

- It is one of four **Indicator** options on a risk condition's [instrument](/glossary/instrument) series, alongside [raw price](/glossary/raw-price), [percent change](/glossary/percent-change) and [average momentum](/glossary/average-momentum).
- With "Simple moving average" selected, a **Period** field appears next to the indicator; a condition saves with 22, 60, 200 or 252. The app names the resulting series in days — "SPY · 200-day SMA" in a condition's row.
- The indicator only transforms the series being watched. Whether the [strategy](/glossary/strategy) switches to its [Risk-Off](/glossary/risk-on-and-risk-off) allocation is decided by the condition's [thresholds](/glossary/condition-types), not by the average itself.
- The "S&P 500 200-day moving average" [risk template](/glossary/risk-templates) is built on it.

## What does it look like in practice?

Take a 200-day simple moving average of a price series. On each trading day, the SMA is the sum of the last 200 closes divided by 200. If the closes over a stretch average out to 400, the SMA reads 400 while the latest close might be 415 — the price sits above its own average, which is what "above the 200-day SMA" means. If the price then falls to 380 and stays there, the SMA does not drop to 380 with it: it eases down day by day as older, higher closes leave the 200-day window and newer, lower ones enter. Shorten the window to 50 days and the same fall pulls the average down roughly four times faster, because each new close carries four times the weight in the mean.

## How does the lookback window change an SMA?

A longer window makes the average smoother and slower; a shorter one makes it closer to the raw series. Because the average always looks backwards, it lags the series by construction: after a turn in the underlying series, the SMA keeps carrying older values until they age out of the window, and the longer the window, the longer that takes. This is the standard trade-off of any moving average — less noise, later reaction.

Fincanva is for education and illustration only. It is not personalised financial advice, and past or simulated results do not predict future ones. [Read the Terms Addendum](https://fincanva.com/terms/addendum#section-3)
