Screener.Tradingbeta
FeaturesGuidesGlossaryPricingSign in
  1. Home
  2. Indicators
  3. Simple Moving Average (SMA)

Simple Moving Average (SMA)

The oldest and most widely used trend indicator: an average of recent closes that smooths out market noise and acts as a dynamic reference line.

The Simple Moving Average (SMA) is probably the most widely used technical indicator in the world. Its principle is straightforward: instead of watching a price that zigzags constantly, you plot the average of recent closes. The result is a smoothed line that follows price with a lag and highlights the market's overall direction.

In use since the early days of technical analysis, long before computers, the SMA serves as a trend filter, a dynamic support or resistance, and the computational basis for many other indicators, including Bollinger Bands.

How it's calculated

The calculation is a plain arithmetic mean: add up the closes of the last N candles, then divide by N. With each new candle, the oldest one drops out of the calculation and the newest one enters : hence the term "moving". A 20 SMA on the daily is therefore the average of the last 20 daily closes.

In Screener.Trading, the default period is 20 candles, but you can change it freely in each rule. The most widely watched periods are 20 (short-term trend), 50 (intermediate trend) and 200 (long-term trend). The longer the period, the smoother the line, and the later it reacts.

How to read it

  • Direction: a rising SMA signals an uptrend on its horizon; a falling SMA, a downtrend.
  • Price position: a price holding above its 200 SMA is classically considered to be in a long-term uptrend.
  • Crossovers: the 50 SMA crossing above the 200 SMA is the famous "golden cross"; the reverse cross, the "death cross".
  • Dynamic support/resistance: in a trend, price often pulls back to its moving average before resuming.

The SMA's main limitation is its lag: it confirms a trend already in place rather than anticipating it. In a trendless (ranging) market, price crosses its average in both directions and crossovers produce many false signals. It is a trend-following indicator, not a precise timing tool.

In the screener

The SMA is one of the most effective trend filters in a screener. Rule examples you can build in Screener.Trading: "close above the 200 SMA on D1" to keep only bullish assets; "50 SMA above the 200 SMA on D1" to detect active golden crosses; "close below the 20 SMA on H4" to spot a pullback within a trend.

Cross-timeframe comparisons add another dimension: you can for instance require the H1 close to stay above the daily 200 SMA, so you only take intraday signals in the direction of the underlying trend. A validity-window rule ("the condition has held for at least 5 candles") further filters out short-lived crosses.

A moving average alone is not enough: in a range, its crossovers multiply false signals. Combine it with a momentum indicator such as the RSI or MACD.

Stop scrolling through charts for hours

Define your rules once : the screener watches the markets for you.

Join the waitlist for early access

Frequently asked questions

Keep exploring

  • FeatureThe multi-indicator, multi-timeframe screenerCombine technical indicators, timeframes and comparison operators to keep only the assets that match your strategy exactly.
  • FeatureThe backtesting tool built into your screenersBacktests built from your screeners: entries, exits, fees and full metrics to judge a strategy on numbers instead of gut feeling.
  • IndicatorExponential Moving Average (EMA)A moving average that gives more weight to recent candles: it hugs price more closely than the SMA and reacts earlier to trend changes.
  • IndicatorPrice: the raw data behind all technical analysisBefore any indicator, there is price. The close, open, high and low of each candle are the building blocks of your screener rules.
  • IndicatorBollinger BandsA volatility envelope around a moving average: the bands widen when the market gets busy and tighten when it calms down.
  • IndicatorMACD (Moving Average Convergence Divergence)A momentum indicator built on two exponential moving averages: its crossovers and histogram measure the acceleration and exhaustion of trends.
  • GlossaryTimeframeA timeframe is the duration each candle on a chart represents (from one minute to several months) and sets the horizon of the analysis.
  • GlossaryMulti-timeframe analysisMulti-timeframe analysis means studying the same asset across several timeframes, typically a higher one for the trend and a lower one for timing.
  • GuideBuilding your first screener, step by stepHow to turn a strategy idea into objective rules, pick the right asset universe, read scan results and iterate until you get a genuinely actionable list of opportunities.
  • GuideBacktesting a trading strategy, step by stepBefore risking a cent, replay your strategy on historical data: backtest setup, reading the key metrics, and the traps of over-optimization.

Product

  • The multi-indicator, multi-timeframe screener
  • Automated scans: your screeners on autopilot
  • The backtesting tool built into your screeners
  • Paper trading: learn in real conditions, without the risk
  • Charts built for technical analysis
  • Watchlists: your favorite symbols and your scan and backtest results
  • Pricing

Resources

  • Indicators
  • Glossary
  • The complete beginner's guide to trading
  • Building your first screener, step by step
  • Backtesting a trading strategy, step by step
  • Setting up trading alerts with autoscans
  • Creating and using effective watchlists
  • Getting started with paper trading: practice without risking a cent
  • Running a manual market scan

Markets

  • The crypto screener across about 460 Binance pairs
  • The stock screener: S&P 500, CAC 40, DAX 40 and FTSE 100
  • The ETF screener: indices, sectors, bonds and UCITS
  • The index screener: 13 barometers of world markets
  • The forex screener: majors and euro crosses
  • The commodities screener: metals, energy and agriculture

Legal

© 2026 Screener.Trading

Terms of Service
Terms of Sale
Legal notice
Privacy (GDPR)
Sign in