Skip to content

RMA Overview

Running Moving Average (RMA) is a trend-following overlay indicator that smooths price data to identify the underlying trend direction — filtering out short-term noise to reveal whether price is generally moving up or down.


  1. Apply Wilder’s smoothing (1/n weighting): Uses a 1/n smoothing factor instead of EMA’s 2/(n+1), producing a smoother, more stable average that’s less reactive to individual bar changes
  2. Plot on Chart: RMA line overlays directly on the price chart
  3. Compare to Price: When price is above RMA, trend is bullish; below = bearish
  4. Detect Crosses: Price crossing above/below RMA signals potential trend changes

Key Characteristics:

  • Trend Filter = RMA smooths price to show direction, removing noise
  • Dynamic Support/Resistance = RMA line acts as a moving support (uptrend) or resistance (downtrend) level
  • Uses a 1/n smoothing factor instead of EMA’s 2/(n+1)
  • Period Sensitivity = Shorter periods react faster but produce more whipsaws; longer periods are smoother but lag more

RMA Behavior:

  • RMA line smooths price action to show the dominant trend
  • When price crosses above RMA, momentum shifts bullish
  • When price crosses below RMA, momentum shifts bearish
  • The slope of RMA indicates trend strength — steeper = stronger
  • RMA acts as dynamic support in uptrends and resistance in downtrends

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

SignalTriggers WhenTypical Use
price_above_rmaPrice is above the RMA lineBullish — price trending above RMA
price_below_rmaPrice is below the RMA lineBearish — price trending below RMA

Display: Overlay (on price chart)

Category: Trend

Threshold range: Price-based (compared to actual price values)


What Running Moving Average Does Well:

  • Trend Identification: RMA clearly shows whether price is in an uptrend or downtrend
  • Dynamic Support/Resistance: Acts as a moving level that price tends to respect
  • Noise Filtering: Smooths out random price fluctuations to reveal the true trend
  • Universal Application: Works across all assets and timeframes with period adjustments