3 Exponential Moving Averages
May 30, 2016

The 3 Exponential Moving Averages indicator provides a streamlined way to track three distinct trend cycles simultaneously, helping traders identify momentum shifts and potential entry or exit points through EMA crossovers.
Usage
The 3 Exponential Moving Averages tool is primarily used for trend identification and crossover strategies. By default, the script plots a short-term (20), intermediate-term (50), and long-term (100) EMA, though these can be customized to fit various trading styles.
- Trend Confirmation: When the short-term EMA is above the intermediate and long-term EMAs, the market is typically considered to be in a bullish trend. Conversely, when the short-term EMA is below the others, a bearish trend is indicated.
- Crossover Signals: A common strategy involves watching the interaction between the Short and Intermediate EMAs. A "Golden Cross" (Short crossing above Intermediate) suggests bullish momentum, while a "Death Cross" (Short crossing below Intermediate) suggests bearish momentum.
- Dynamic Support and Resistance: In trending markets, price action often retraces to these moving averages, which can act as dynamic support (in an uptrend) or resistance (in a downtrend).
Details
The script calculates three separate Exponential Moving Averages (EMA) based on the user-defined lengths and sources. Unlike a Simple Moving Average (SMA), the EMA places a higher weight on recent price data, making it more responsive to new market information and sudden price fluctuations.
The indicator includes built-in alert logic. An alert is triggered when the Short EMA crosses over or under the Intermediate EMA, allowing traders to stay informed of potential trend reversals without constant chart monitoring. This logic was originally developed by @TradeTitan and refined for performance by LuxAlgo.
Settings
- Short Length: The period used for the first EMA (Default: 20).
- Source One: The price data point used for the first EMA calculation (Default: Close).
- Intermediate Length: The period used for the second EMA (Default: 50).
- Source Two: The price data point used for the second EMA calculation (Default: Close).
- Long Length: The period used for the third EMA (Default: 100).
- Source Three: The price data point used for the third EMA calculation (Default: Close).
FAQ
How can I change the sensitivity of the trend signals? You can increase the sensitivity by reducing the Length inputs in the settings menu. Smaller values will react faster to price changes, while larger values will smooth out the lines and filter out market noise.
What is the significance of the different line thicknesses? By default, the Intermediate and Long EMAs are plotted with thicker lines to represent more significant trend benchmarks, while the Short EMA is thinner to represent immediate price momentum.
How do I access the 3 Exponential Moving Averages indicator? 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.