Skip to content

MACross Overview

Moving Average Crossovers measure the difference between a fast and slow moving average of the same type. When the fast MA crosses above the slow MA (bullish_cross), an uptrend is signaled. When it crosses below (bearish_cross), a downtrend.

Reversion provides 11 crossover variants, each using a different MA type:

CrossoverCodeMA Type
SMA CrossoverSMACrossSMA
EMA CrossoverEMACrossEMA
HMA CrossoverHMACrossHMA
LMA CrossoverLMACrossLMA
RMA CrossoverRMACrossRMA
MGA CrossoverMGACrossMGA (McGinley)
LSA CrossoverLSACrossLSA (Least Squares)
VWSMA CrossoverVWSMACrossVWSMA
VWEMA CrossoverVWEMACrossVWEMA
VWLMA CrossoverVWLMACrossVWLMA
VWRMA CrossoverVWRMACrossVWRMA

All crossover indicators share the same signal names (bullish_cross / bearish_cross) and parameter structure (Fast Period, Slow Period). The key difference is the underlying MA calculation, which affects responsiveness and smoothness.


  1. Calculate Fast MA: Apply the MA type to price with the fast period
  2. Calculate Slow MA: Apply the same MA type with the slow period
  3. Compute Difference: Fast MA - Slow MA
  4. Detect Crossover: When difference crosses zero, a crossover signal fires
  5. bullish_cross: Fast > Slow (difference > 0) — uptrend signal
  6. bearish_cross: Fast < Slow (difference < 0) — downtrend signal

Key Characteristics:

  • 11 Variants = Same concept, different MA types for different response characteristics
  • Separate Pane = Displayed as an oscillator showing the fast-slow difference
  • Zero-Line Crosses = Crossovers occur when the difference crosses zero
  • Lag Varies by Type = HMACross responds fastest, RMACross smoothest/slowest

Crossover Behavior:

  • Positive values (bullish_cross) = fast MA above slow MA = uptrend
  • Negative values (bearish_cross) = fast MA below slow MA = downtrend
  • Zero-line crossings are the signal moments
  • The magnitude shows how far apart the MAs are

These are the signal names you select when configuring MACross in the algorithm builder or via the MCP agent:

SignalTriggers WhenTypical Use
bullish_crossFast MA crosses above slow MA (difference > 0)Bullish crossover — uptrend starting
bearish_crossFast MA crosses below slow MA (difference < 0)Bearish crossover — downtrend starting

Display: Separate pane (difference oscillator)

Category: Trend

Threshold range: Unbounded (centered on zero)


What Moving Average Crossovers Does Well:

  • Clear Trend Direction: Unambiguous bullish/bearish signals
  • 11 Variants: Choose the MA type that best suits your asset and timeframe
  • Simple to Understand: Fast MA above slow = bullish, below = bearish
  • VW Variants: Volume-weighted versions add conviction