Skip to the content

Help / Indicator reference

Exponential Moving Average

An average that weights recent closes more, so it turns sooner than an SMA.

Drawn on the price chart.

How it’s worked out#

EMA = α·C + (1 − α)·EMA₋₁, with α = 2 / (N + 1)

How to read it#

Price above a rising average reads as an uptrend, below a falling one as a downtrend; crossings of price or of a faster and a slower average mark possible turns. Longer lengths are smoother and later.

Note:These are the common readings, not trading advice: no indicator is right every time, and most work better with others and with the trend.

Settings#

  • Length: 20 (1 to 1000)
  • Source: close
  • Smoothing: None (None, SMA, EMA, SMMA (RMA), WMA, SMA + Bollinger Bands)
  • Smoothing length: 14 (1 to 1000)
  • Bands (StdDev): 2 (0.1 to 10)

What it draws#

  • EMA (line)
  • Smoothing (line)
  • Smoothing upper (line)
  • Smoothing lower (line)

Add it to a chart#

On the chart, open Indicators and search for “Exponential Moving Average”. Its settings open with a double-click on its line or its name in the legend, where the ? button leads back here. Alerts can watch any of its lines.

Open the chart · Every indicator

TradingView and Pine Script are trademarks of TradingView, Inc. OpenTapefolio is not affiliated with or endorsed by TradingView.