Home / Basics / D SMA index
Index levelsMoving averages

D SMA index: the 20, 50 and 200-day averages of the index

D SMA20, D SMA50 and D SMA200 index are the 20, 50 and 200-day simple moving averages of the official index — for example the DAX or the S&P 500: the average of its last 20, 50 or 200 daily closing prices. They are the averages every market report refers to, and on a daily chart you see them as curves. Basics turns today's value into a horizontal line on your intraday chart, so you see at a glance where the averages lie. On CFD and index charts the lines sit at the index value itself; on futures (main, mini, micro, nano) they are converted with the current cash-future difference. This page explains what the lines show, why traders watch them and how to adjust them.

On this page
FOREX.com DAX CFD 1-hour chart, 28 September to 6 October 2026, Berlin time, with D SMA200 index: the low of 1 October, 24,828.50, landed on the line, after which the DAX rose almost 700 points 123
Press play to watch it unfold · click the chart to enlarge DAX CFD (FOREX.com GER40) 1-hour, 28 September to 6 October 2026 (Berlin time). Red line: D SMA200 index, the DAX's 200-day average — one line per trading day.
  1. 1Wednesday 30 September 09:00 — the DAX tops at 25,585 and falls more than 500 points that day.
  2. 2Thursday 1 October 10:00 — the sell-off stops at 24,828.50, on D SMA200 index (24,828.80). The candle closes 125 points higher, and by 14:00 the DAX trades at 25,204.
  3. 3Tuesday 6 October 10:00 — 25,523.50: almost 700 points above the low on the 200-day average.

Part of Basics

Free TradingView indicator with all session, week and month levels for index, futures and CFD charts.

Install Basics (free) →

Part of Straydog Zones & Levels

TradingView indicator that draws the daily DAX zones and levels from Straydogtrading.com on index, CFD and futures charts.

Install Straydog →

What the daily averages show

A simple moving average (SMA) of 20 days adds up the last 20 daily closing prices and divides by 20. Every new day the oldest close drops out and the newest comes in, so the average moves along with the market — slowly, and the more days it covers, the slower.

  • D SMA20 — about one month of trading: the short-term trend.
  • D SMA50 — about two and a half months: the medium-term trend.
  • D SMA200 — about 40 weeks: the long-term trend. Above it, the market is generally seen as in an uptrend; below it, in a downtrend.

Today counts too: until the index closes, its current value takes the place of today's close, exactly as on TradingView's own daily chart of the index. So the lines move slightly during the day — D SMA20 by a twentieth of every move, D SMA200 by only a two-hundredth.

Why traders watch them

  • Everyone sees the same lines. The 20, 50 and 200-day averages are the standard settings on every charting platform and in every market report. Because so many traders watch them, price often reacts when it gets there.
  • Pullbacks stop there. In a rising market, dips often end at one of the averages — as on the DAX on 1 October in the example above.
  • A break says something. A close below the 200-day average is news; a market that stays below it has changed character.
  • Hard to see intraday. On a 5-minute or 1-hour chart a normal 200-period average covers 200 candles, not 200 days. Basics draws the daily value as a line, so you know where it is without switching to the daily chart.

Index or future?

Basics draws the averages twice: once from the closing prices of the official index (D SMA index, solid lines) and once from the daily closes of the main future (D SMA future, dashed). The index averages are the ones from the news and the daily chart of the index; the futures averages are what futures traders see on their daily chart. The two are often close in your chart's prices, but not always — especially in the weeks after a quarterly roll, when the futures average still contains prices of the old contract.

How Basics shows them

The index averages appear on every supported chart. On CFD and index charts they are the index value as it is; on futures (main, mini, micro, nano), for example ES or MNQ, they are converted with the current cash-future difference, so they sit exactly where the index average lies in futures prices.

D SMA indexDaily moving averages of the index
Default lookD SMA20 black · D SMA50 blue · D SMA200 red — solid, width 2
Labels on the chartD SMA20 index, D SMA50 index, D SMA200 index (renamable)
Switched on by defaultYes, all three
ValueThe average of the last 20, 50 or 200 daily closing prices of the official index, with today's current value as today's close
Price on your chartFutures (main, mini, micro, nano): converted with the current cash-future difference. CFD and index charts: the index value itself
Where the lines startEach trading day gets its own line, starting before the stock market opens — on US futures at 18:00 New York the evening before; on an index chart at the first candle of regular trading hours
TimeframesCharts from 1 minute up to the daily chart, on seconds charts too, unless the level needs more history than the chart loads; not on weekly or monthly charts
MarketsNasdaq-100, S&P 500, Dow, Russell 2000, DAX, FTSE 100 and AEX — all tickers
Lookback1 — today only (up to 20 sessions, set in the indicator settings)

The same moment on the daily chart

This is how most traders know the 200-day average: as a curve on the daily chart. On 1 October the DAX index found its low right on it. Basics puts exactly this value on your intraday chart, so you see it coming while the day unfolds.

DAX index daily chart, June to mid-October 2026, with TradingView's own 200-day moving average; the low of 1 October touches the average
DAX index (Xetra) daily chart, June to October 2026. Red curve: TradingView's own 200-day simple moving average — the same value Basics draws as D SMA200 index. The circle marks 1 October: low 24,831.60, on the average.

The same averages on other markets

Two more indices, two other averages. Click a chart to enlarge it.

FOREX.com S&P 500 CFD 1-hour chart, 15 to 23 September 2026, New York time, with D SMA50 index; the pullback of 18 September stopped at the line
S&P 500 CFD (FOREX.com) · 15 to 23 September 2026, New York time, D SMA50 index. A sharp drop on Wednesday broke below the line, but by Thursday the S&P was back above it. Friday's pullback stopped at 7,609.63 at 12:00, 7 points under the line (7,616.71) — and the S&P climbed 170 points to 7,781 by Tuesday.
FOREX.com Russell 2000 CFD 1-hour chart, 2 to 8 October 2026, New York time, with D SMA20 index; the retest of 6 October stopped at the line
Russell 2000 CFD (FOREX.com) · 2 to 8 October 2026, New York time, D SMA20 index. On Monday the Russell stalled at its 20-day average. On Tuesday it pushed above it before the stock market opened, to 2,869.35, but from 09:00 it fell back below. The retest at 10:00 stopped at 2,856.95, right at the line (2,855.09) — and by Thursday morning the Russell traded at 2,761.55, more than 90 points lower.

Why don't I see the lines?

  • You are on a weekly or monthly chart, or a seconds chart.The lines are drawn on charts from 1 minute up to the daily chart. On a seconds chart, a level that needs more history than the chart loads is hidden.
  • Price is far away from them.Lines are hidden while the level is more than 5 % from the current price, so they don't squeeze the chart. You can change this under General → Level visibility range.
  • They are switched off.Check the D SMA20, D SMA50 and D SMA200 index boxes and the master switch Show all objects in 'Index SMAs' group in the indicator settings.
  • Your ticker is not recognised.See the supported tickers — and if yours is missing, let me know: requests are very welcome.

What you can change

In the indicator settings (the gear icon next to Basics on your chart), under Index SMAs:

Show / hideD SMA20, D SMA50 and D SMA200 index checkboxes · Index SMAs
Colour, width, styleAny colour · width 1–5 · solid, dashed or dotted
Label textDefault D SMA20 index, D SMA50 index and D SMA200 index
Lookback1–20 sessions (default 1: today only)
Label size, line end, visibility rangeShared with all lines · General
The settings of D SMA index in the Basics settings window, Inputs tab, with their defaults
The same settings in the settings window (Inputs tab), with their defaults. What each field does.

Charts and defaults on this page: Basics v11.72.8 · updated 21 October 2026.

Frequently asked questions

What is the 200-day moving average?

The average of the last 200 daily closing prices. It covers about 40 weeks of trading and is the most widely watched measure of the long-term trend: above it, a market is generally seen as in an uptrend.

Why does the line move during the day?

Because today counts as one of the days. Until the index closes, its current value stands in for today's close, the same as on TradingView's daily chart. The effect is small: D SMA200 moves only a two-hundredth of every price move.

Is it the same as TradingView's SMA on the daily chart?

Yes. D SMA index is the same value that a 20, 50 or 200-period SMA shows on the daily chart of the index itself — Basics shows it as a line on your intraday chart, at the right price for your chart.

Can I see the S&P 500's 200-day average on ES or MES?

Yes. On ES, MES and other index futures Basics converts the index average to futures prices with the current cash-future difference. On a CFD such as US500 it sits at the index value itself.

What is the difference between D SMA index and D SMA future?

D SMA index averages the official closing prices of the index; D SMA future averages the daily closes of the main future. See index or future.

See the daily averages on your own chart

Basics is free on TradingView. Add it to any supported chart — for example NQ or a GER40 CFD — and the 20, 50 and 200-day averages of the index appear without any setup.

Tap, click or press Esc to close