All indicators

EMA Bollinger Bands

Sep 24, 2019

Static chart image
SignalsChannelsMoving AveragesVolatility

The EMA Bollinger Bands indicator is a volatility-based technical analysis tool that utilizes an Exponential Moving Average (EMA) as its core baseline to provide more responsive price envelope tracking. By replacing the standard simple moving average with an EMA, the bands adapt more quickly to recent price changes, helping traders identify potential overbought or oversold conditions and volatility breakouts with less lag.

Usage

The EMA Bollinger Bands can be used to identify trend direction, volatility, and potential reversal points. When price interacts with the upper or lower bands, it may signify an extreme market condition.

  • Trend Identification: When price maintains a position above the EMA baseline, the market is generally considered to be in an uptrend. Conversely, price staying below the baseline suggests a downtrend.
  • Volatility Squeeze: When the upper and lower bands contract toward the baseline, it indicates a period of low volatility, often preceding a significant price breakout.
  • Mean Reversion: Traders often look for price to return to the EMA baseline after touching or piercing the outer bands.
  • Breakouts: A close outside of the bands can signal the start of a strong momentum move. The script includes built-in alerts for when price crosses over the upper band or under the lower band.

Details

Traditional Bollinger Bands use a Simple Moving Average (SMA) and calculate the standard deviation based on that SMA. The EMA Bollinger Bands modification substitutes the SMA for an Exponential Moving Average. Because the EMA places a higher weighting on the most recent data points, the entire band structure reacts more dynamically to sudden price spikes or drops compared to the traditional version. The calculation involves:

  1. Calculating the EMA of the selected source over a specific period.
  2. Calculating the standard deviation of the source over the same period.
  3. Multiplying the standard deviation by a user-defined multiplier.
  4. Adding/subtracting this value from the EMA baseline to create the Upper and Lower bands.

Settings

  • EMA Source: Determines the price data used for the calculations (e.g., Close, Open, High, Low).
  • Period: Sets the lookback length for both the EMA calculation and the standard deviation.
  • Deviation: Adjusts the multiplier for the standard deviation, which expands or contracts the distance of the bands from the baseline.

FAQ

How do I use the alerts in this indicator?

Alerts are triggered on the bar close when the price crosses above the upper band or below the lower band. You can configure these in the TradingView Alert menu by selecting the indicator as the condition.

What is the advantage of using an EMA over an SMA for Bollinger Bands?

The EMA reduces lag, meaning the bands will react faster to recent price action. This can be beneficial in fast-moving markets where traditional Bollinger Bands might stay too wide or move too slowly to capture rapid shifts in trend.

How can I access the EMA Bollinger Bands?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.