4EMA (8,13,21,55) + Death Cross (100,200) + Bollinger Bands
Apr 22, 2018

The 4EMA (8,13,21,55) + Death Cross (100,200) + Bollinger Bands indicator provides a comprehensive trend-following and volatility analysis toolset by combining six Exponential Moving Averages (EMAs) with standard Bollinger Bands.
Usage
This script is designed to help traders identify short-term momentum and long-term trend shifts simultaneously on a single chart.
- Short-term Momentum: The 8, 13, 21, and 55 EMAs are used to identify immediate trend direction and potential support/resistance zones during trending phases.
- Long-term Trends: The 100 and 200 EMAs represent the "Death Cross" or "Golden Cross" components. A crossover of the 100 EMA above the 200 EMA indicates bullish long-term sentiment, while a crossunder indicates bearish sentiment.
- Volatility and Reversals: The Bollinger Bands provide a visual representation of price volatility. Traders can look for price interactions with the upper and lower bands to identify overextended conditions or potential mean reversion setups.
Details
The indicator consolidates multiple technical analysis concepts into one overlay to save chart space. It utilizes Exponential Moving Averages (EMA) for all trend lines to give more weight to recent price data, making the signals more responsive than Simple Moving Averages. The inclusion of the 100 and 200 EMAs specifically targets the identification of major market cycles. The Bollinger Bands calculation uses a Simple Moving Average (SMA) as the basis, which is the standard industry approach for calculating volatility envelopes.
Settings
- EMA 1-6 Length: Adjusts the lookback period for each of the six Exponential Moving Averages.
- BB Length: Sets the period for the Bollinger Bands SMA basis and standard deviation calculation.
- BB Multiplier: Determines the distance of the upper and lower bands from the basis based on standard deviations.
- Source: Defines the price data used for all calculations (default is set to Close).
FAQ
How do I interpret the different EMA colors?
The EMAs are color-coded to distinguish between the fast momentum lines (8, 13, 21, 55) and the slower trend lines (100, 200). Generally, when the faster lines are stacked above the slower lines, the market is in a confirmed uptrend.
Does this indicator provide alerts?
Yes, the script includes built-in alert conditions for Golden Crosses (100 EMA crossing above 200 EMA) and Death Crosses (100 EMA crossing below 200 EMA).
How can I access this tool?
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.