All indicators

Projected Crossover Trend

May 26, 2026

Static chart image
SignalsMoving Averages

The Projected Crossover Trend indicator utilizes projected moving average momentum and Market Direction Indicator (MDI) calculations to identify directional shifts before traditional crossovers occur. It aims to provide traders with earlier trend entries while filtering market noise through a combination of smoothed momentum and price relative to a historical baseline.

Usage

The Usage section describes how the script can be used to identify trend regimes and potential entry points. The indicator classifies market behavior into two distinct regimes:

  • Bullish Regime: Occurs when the Market Direction Indicator (MDI) is positive and the current closing price is higher than the closing price from the slow-length period ago. This suggests building upward momentum.
  • Bearish Regime: Occurs when the MDI is negative and the current closing price is lower than the closing price from the slow-length period ago. This suggests building downward momentum.

Users can monitor the "LONG" and "SHORT" labels for specific entry signals. The indicator also provides optional bar coloring to help visualize the current trend state directly on the price action.

Details

The script operates on the concept of "projected crossover momentum." Rather than waiting for a Fast EMA to physically cross a Slow SMA, the indicator calculates the difference between these two averages and multiplies it by the fast length. This value is then used to derive the Market Direction Indicator (MDI), which represents the rate of change of this projected crossover relative to price.

By calculating the MDI as 100 * (projectedCross - projectedCross[1]) / close, the tool measures how aggressively the gap between moving averages is widening or narrowing. To ensure stability, this raw value is smoothed using an Exponential Moving Average (EMA). The final trend determination requires both the momentum component (MDI) and a price component (current close vs. historical close) to align, reducing the frequency of whipsaws in sideways markets.

Settings

MA Settings

  • Source: Specifies the price data (e.g., Close, Open, High, Low) used for the moving average calculations.
  • Fast MA Length: Determines the period for the Fast EMA. Lower values increase sensitivity to recent price changes.
  • Slow MA Length: Determines the period for the Slow SMA. Higher values establish a more stable trend baseline.

Smoothing

  • MDI Smooth Length: Sets the EMA length used to smooth the Market Direction Indicator. Increasing this value produces fewer signals and filters more noise.

Visualization

  • Color Bars: When enabled, candles are colored according to the identified bullish or bearish regime.
  • Show Signals: Toggles the visibility of the "LONG" and "SHORT" plot shapes and labels on the chart.

Color Settings

  • Bullish Color: Sets the color for bullish moving averages, signals, and bar coloring.
  • Bearish Color: Sets the color for bearish moving averages, signals, and bar coloring.

FAQ

How does the Projected Crossover Trend differ from a standard MA cross? Standard crossovers are lagging indicators that trigger after a trend is established. This tool measures the momentum of the gap between averages to project a crossover, often identifying directional shifts earlier.

What is the significance of the Slow Length in the trend calculation? The slow length acts as a secondary filter. For a signal to trigger, price must not only show momentum (MDI) but also be trading above or below its position from the "Slow MA Length" number of bars ago.

How can I access the Projected Crossover Trend? 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.