EMA Slope + EMA Cross Strategy (by ChartArt)

Mar 10, 2018

Static chart image
Signals
Moving Averages

The EMA Slope + EMA Cross Strategy indicator provides a continuous trend-following framework by analyzing the directional slope and crossovers of three Exponential Moving Averages (EMA) to determine market entries. This tool is designed to identify momentum shifts and price-to-average divergences, ensuring a constant market presence by switching between long and short positions.

Usage

The Usage section describes how the strategy interprets price action and moving average behavior to generate signals.

  • Long Positions: A long entry is triggered when the price crosses under the slowest EMA (EMA 3), or when price and the fastest EMA (EMA 1) are declining while the intermediate EMA (EMA 2) maintains a positive slope.
  • Short Positions: A short entry is triggered when the price crosses over the slowest EMA (EMA 3), or when price and the fastest EMA (EMA 1) are rising while the intermediate EMA (EMA 2) maintains a negative slope.
  • Trend Identification: The script provides visual cues by coloring the price bars and moving averages. Green indicates a bullish alignment where both the intermediate and slow EMAs are trending upward, while red indicates a bearish alignment where both are trending downward.

Details

The strategy utilizes the slope (rate of change) of three different EMA lengths to identify divergences between short-term momentum and medium-term trends. By monitoring the ta.change of each EMA, the script detects when price action contradicts the established moving average direction, often a precursor to a reversal.

The logic is built to be "always-in-the-market," meaning every closing of a long position acts as the opening of a short position, and vice versa. While originally designed by ChartArt for the EURUSD daily timeframe, the underlying logic of EMA slope divergence is applicable to various liquid assets and timeframes.

Settings

  • Source: Determines the price data point used for all EMA calculations (default: Close).
  • EMA 1 Length: Sets the period for the fastest EMA used to track immediate price momentum.
  • EMA 2 Length: Sets the period for the intermediate EMA used to determine slope direction.
  • EMA 3 Length: Sets the period for the slowest EMA, which acts as a primary crossover filter for trend changes.
  • Show Bar Color?: Enables or disables the trend-based coloring of price candles.
  • Show Moving Averages?: Toggles the visibility of the EMA plots on the chart.

FAQ

What is the primary logic behind the entries? The strategy identifies "divergences" where the price and the fastest EMA move against the direction of the intermediate EMA's slope, signaling a potential trend exhaustion and reversal point.

Can this strategy be used on lower timeframes? While optimized for daily charts, the EMA settings can be adjusted to accommodate different timeframes and volatility levels depending on the asset being traded.

How can I access the EMA Slope + EMA Cross Strategy? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free access on the following platforms
tradingviewSymbolTradingView
ninjatraderNinjaTrader
metatrader4MetaTrader 4/5
thinkorswimThinkorswim

Unlock Unlimited Access to the LuxAlgo Library

Upgrade your plan to get all indicators, strategies, charts, and full access to Quant, our AI agent.

Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.

Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.

Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.

As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.

Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.

Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.

This does not represent our full Disclaimer. Please read our full disclaimer.

© 2026 LuxAlgo Global, LLC.