Crossing Ema Signals
Aug 29, 2019

The Crossing Ema Signals indicator provides automated visual and strategy signals based on the crossover of two Exponential Moving Averages (EMAs) to help traders identify trend shifts.
Usage
The Usage section focuses on identifying trend reversals and momentum shifts using two different EMA periods.
- Bullish Signals: A "BUY" signal (green triangle) is generated when the faster EMA (EMA 2) crosses above the slower EMA (EMA 1), suggesting an upward trend.
- Bearish Signals: A "SELL" signal (red triangle) is generated when the faster EMA (EMA 2) crosses below the slower EMA (EMA 1), suggesting a downward trend.
- Strategy Backtesting: The script functions as a strategy, allowing users to see historical performance from a specific start year designated in the settings.
Details
The script utilizes the ta.ema function to calculate two distinct moving averages. The logic relies on the standard crossover principle: the interaction between a short-term trend and a long-term trend. The inclusion of a startYear filter allows users to restrict strategy entries to a modern timeframe, preventing old data from skewing recent performance metrics.
Settings
- Ema 1: Sets the period for the first (typically slower) Exponential Moving Average.
- Ema 2: Sets the period for the second (typically faster) Exponential Moving Average.
- Year: Determines the starting year for the strategy's backtesting and entry execution.
FAQ
How do I use the Crossing Ema Signals?
You can use the signals to identify potential entry and exit points based on EMA crossovers. Green triangles represent bullish momentum, while red triangles represent bearish momentum.
Can I change the sensitivity of the signals?
Yes, by adjusting the "Ema 1" and "Ema 2" values in the settings, you can make the indicator more or less sensitive to price movements.
Where 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.