Triple Exponential Moving Averages with Bollinger Bands
Jan 11, 2018

The Triple Exponential Moving Averages with Bollinger Bands indicator provides a multi-layered analysis framework by combining three distinct exponential moving averages with volatility bands to identify trend direction, momentum crossovers, and potential price exhaustion levels.
Usage
The tool is designed to assist traders in identifying both trend strength and volatility-based reversals. By utilizing multiple timeframes of exponential moving averages (EMA) alongside Bollinger Bands, users can filter signals based on the confluence of trend and volatility.
Trend and Momentum Analysis
Users can observe the stack of the three EMAs to determine the current trend bias. A bullish alignment occurs when the Short EMA is above the Medium EMA, and the Medium EMA is above the Long EMA. Momentum shifts are often identified when the Short EMA crosses the Medium EMA.
Volatility and Exhaustion
The Bollinger Bands serve as a measure of price volatility. When price interacts with the upper or lower bands, it may indicate overextended market conditions. These levels can act as dynamic resistance or support, especially when price deviates significantly from the moving average cluster.
Details
The indicator calculates three EMAs based on user-defined lengths to track short-term, medium-term, and long-term price action. Simultaneously, it calculates a standard Bollinger Band set using a Simple Moving Average (SMA) as the basis.
The upper and lower bands are derived by adding and subtracting a multiple of the standard deviation from the basis. This script includes pre-configured alert logic for EMA crossovers and instances where the price breaches the Bollinger Band boundaries. This script is a refactored version of the original work by @ZenRB.
Settings
- Short EMA length: Sets the calculation period for the fastest exponential moving average.
- Medium EMA length: Sets the calculation period for the intermediate exponential moving average.
- Long EMA length: Sets the calculation period for the slowest exponential moving average.
- BB length: Determines the lookback period for the Bollinger Band basis and standard deviation.
- BB standard deviation: Adjusts the multiplier that determines the width of the Bollinger Bands.
- Source: Selects the price data point (Close, Open, High, Low, etc.) used for all indicator calculations.
FAQ
What triggers the alerts in this indicator?
Alerts are triggered when the Short EMA crosses over or under the Medium EMA, or when the price crosses outside the upper or lower Bollinger Bands.
Can the EMA lengths be customized for different strategies?
Yes, all three EMA lengths can be adjusted in the settings menu to fit various trading styles, such as scalping or swing trading.
How do I access the Triple Exponential Moving Averages with 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.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.