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.
Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.
Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.
Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.
As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.
Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.
Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.
This does not represent our full Disclaimer. Please read our full disclaimer.
© 2026 LuxAlgo Global, LLC.

