Triple EMA Crossover Strategy
Oct 25, 2024

The Triple EMA Crossover Strategy indicator provides a structured trend-following system that uses three moving averages to identify high-probability entry and exit points in trending markets.
Usage
The strategy is primarily used to identify and trade trends by observing the relationship between three distinct moving averages (Short, Medium, and Long).
- Long Entry: Triggered when the Short MA crosses above the Medium MA while the overall structure is bullish (Short > Medium > Long).
- Short Entry: Triggered when the Short MA crosses below the Medium MA while the overall structure is bearish (Short < Medium < Long).
- Exits: Positions can be closed based on fixed Take Profit and Stop Loss levels (defined in ticks) or via a trailing logic where price crosses back over the Short MA.
The indicator is most effective in trending markets. During ranging or sideways price action, the "whipsaw" effect may occur, where the moving averages cross frequently without a clear directional move.
Details
This script implements a triple moving average crossover logic designed to filter out minor price fluctuations. By requiring a specific hierarchy of all three averages (9, 21, and 55 by default), it ensures that a trade is only taken when the short-term momentum aligns with the medium and long-term trend.
While the description mentions EMAs, the underlying script uses Simple Moving Averages (SMAs) to calculate the trend levels. The inclusion of tick-based risk management allows for precise control over trade exits regardless of the timeframe used.
Settings
- SMA1 Period: The length of the fastest moving average (default: 9).
- SMA2 Period: The length of the medium-term moving average (default: 21).
- SMA3 Period: The length of the slowest moving average used to define the primary trend (default: 55).
- Stop Loss in Ticks: The distance from the entry price to the stop loss level, measured in ticks.
- Take Profit in Ticks: The distance from the entry price to the profit target, measured in ticks.
- ADX Period: The lookback period for the Average Directional Index calculation.
- ADX Threshold: The minimum ADX value required to consider the market trending.
FAQ
How do I use the Triple EMA Crossover Strategy?
Apply the indicator to your chart and look for crossover signals that align with the background trend hierarchy. Ensure the market is showing clear directional movement to avoid false signals.
What timeframes does this strategy work on?
The strategy is versatile and can be applied to any timeframe. However, higher timeframes (such as 1H or 4H) generally provide more reliable trend signals compared to lower timeframes.
How can I get access to 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.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.