All indicators

Moving Average Shaded Fill Area Crossover EMA Color - Editable

Oct 18, 2018

Static chart image
Support and ResistanceSignalsMoving Averages

The Moving Average Shaded Fill Area Crossover EMA indicator visualizes trend direction and momentum shifts by plotting two customizable Exponential Moving Averages (EMAs) with a dynamic color-coded fill to highlight crossovers.

Usage

The Moving Average Shaded Fill Area Crossover EMA tool is designed to assist traders in identifying trend bias and potential reversal points. Users can monitor the interaction between a fast and a slow EMA to determine market sentiment:

  • Trend Identification: When the fast EMA (EMA-1) is above the slow EMA (EMA-2), the area between them is filled with a bullish color (green), suggesting an uptrend. Conversely, when the fast EMA is below the slow EMA, the area is filled with a bearish color (red), indicating a downtrend.
  • Crossover Signals: The point where the two EMAs cross serves as a signal for a potential trend change. A bullish crossover occurs when the fast EMA crosses above the slow EMA, while a bearish crossover occurs when it crosses below.
  • Support and Resistance: In trending markets, the space between the two EMAs often acts as a dynamic zone of support or resistance.

Details

The script utilizes standard Exponential Moving Average (EMA) calculations, which place a greater weight on recent price data compared to Simple Moving Averages. This makes the indicator more responsive to recent price fluctuations.

The visual logic is driven by a conditional fill:

  • Bullish State: EMA-1 > EMA-2 results in a green shaded area.
  • Bearish State: EMA-1 < EMA-2 results in a red shaded area.

The indicator also includes built-in alert conditions for both bullish and bearish crossovers, allowing users to receive notifications at the close of the bar when a trend shift is confirmed.

Settings

General Settings

  • Source: Determines the price data used for the EMA calculations (e.g., Close, Open, High, Low).
  • EMA-1: Sets the period length for the first (typically faster) Exponential Moving Average.
  • EMA-2: Sets the period length for the second (typically slower) Exponential Moving Average.

FAQ

How can I change the sensitivity of the trend signals? You can adjust the "EMA-1" and "EMA-2" inputs in the settings menu. Lowering the values will make the indicator more sensitive to short-term price movements, while increasing them will provide a smoother, long-term trend perspective.

Does the indicator provide alerts? Yes, the script includes alert conditions that trigger whenever a bullish or bearish crossover occurs, provided you have configured an alert on the platform using the indicator's condition.

How do I access this 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.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

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