Exponential 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.
The Exponential Moving Average (EMA) addresses the simple moving average's main flaw: its lag. Where the SMA gives every candle in the period the same weight, the EMA weights the most recent ones more heavily. It therefore reacts faster to reversals, while keeping the smoothing effect that makes moving averages useful.
This responsiveness makes it a staple of short- and medium-term strategies. It is also at the heart of the MACD, which is built entirely on the difference between two EMAs.
How it's calculated
The EMA is computed recursively: each new value combines the current candle's close with the previous EMA, using a smoothing coefficient that depends on the period. The shorter the period, the more weight this coefficient gives to the latest close. In practice, a recent candle weighs heavily in the result, and the influence of older candles decays gradually without ever fully disappearing : hence the name "exponential".
In Screener.Trading, the EMA's default period is 20 candles, adjustable in each rule. Common periods are 9 and 21 for the short term, 50 for the medium term and 200 for the underlying trend.
How to read it
- Trend: as with the SMA, the EMA's slope and price's position relative to it indicate the market's direction on its horizon.
- EMA crossovers: a short EMA (e.g. 9) crossing above a longer one (e.g. 21) signals bullish acceleration; the reverse cross, fading momentum.
- Dynamic support: in a clear trend, price often bounces off its 21 or 50 EMA during pullbacks.
The flip side of responsiveness is noise sensitivity: a short EMA tracks price so closely that it generates constant crossovers in a hesitant market. Responsiveness and reliability trade off against each other : the fundamental compromise of all moving averages, which the EMA shifts but does not eliminate.
In the screener
Rule examples you can build in Screener.Trading: "9 EMA above the 21 EMA on H4" to filter assets with bullish momentum; "close above the 200 EMA on D1" as an underlying trend filter; "close below the 21 EMA on H1" to detect a potential pullback. You can also compare an EMA against an SMA of the same period to gauge the recent acceleration of price.
Cross-timeframe comparisons let you combine horizons: for example, keep only assets whose H1 close is above the daily 200 EMA, then look for a short EMA crossover intraday. Candle offsets also let you target fresh crosses: "the crossover happened at most 3 candles ago".
Test your EMA periods with the backtester before using them live: the "best" period varies by asset and timeframe.
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.
- IndicatorSimple 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.
- 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.
- 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.
- IndicatorRSI (Relative Strength Index)The most popular momentum oscillator: it bounds the strength of a move between 0 and 100 and flags overbought and oversold conditions.
- 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.