Concept

RMA

RMA, also known as Wilder smoothing, SMMA, is a Trend concept. The Library holds 4 implementations, each one a working definition you can pull into Quant.

Top RMA indicators

4 total

What is the RMA?

The RMA (running moving average) is the recursive smoother J. Welles Wilder introduced in his 1978 book New Concepts in Technical Trading Systems, which is why it also goes by Wilder smoothing or the smoothed moving average (SMMA). Each bar it keeps (N-1)/N of its previous value and blends in 1/N of the new price: multiply yesterday's RMA by N-1, add today's value, divide by N. That makes it an EMA in disguise, just with a smaller smoothing factor: alpha equals 1/N instead of the standard 2/(N+1).

The consequence is that an N-period RMA is markedly slower than an N-period EMA; equating smoothing factors shows a 14-period RMA responds like a 27-period EMA (2N-1 in general). That matters less as a stand-alone line than as plumbing: RMA is the smoothing inside RSI's average gain and loss, ATR, and the ADX / DMI system. Wilder chose it because the recursion was easy to update by hand in 1978. Swap in a different average and those indicators still compute, but their values and feel change.

How to calculate the RMA

The formula is a one-line recursion; the details that matter are the seed and the smoothing factor.

  1. 1Seed it: take the simple average of the first N values (Wilder's own method) as the starting RMA. Platforms differ slightly here, which is why early-history values can disagree.
  2. 2Update each bar: multiply the previous RMA by N-1, add the current value, and divide by N. Equivalently, new RMA = previous + (price - previous)/N.
  3. 3Sanity-check it: the result should match an EMA whose smoothing factor is exactly 1/N, apart from seeding differences on the earliest bars.

How traders use it

  • Inside Wilder's indicators: RSI, ATR, and ADX all smooth their raw components with the RMA. Reproducing textbook or platform values requires it; substituting an EMA or SMA yields a more nervous or choppier indicator.
  • As a slow trend baseline: SMMA lines are used where a calm, rarely-flipping reference is wanted, with price's position or the line's slope supplying the bias.
  • In crossover systems built for patience: pairs of RMAs flip far less often than same-length EMA pairs, trading responsiveness for fewer whipsaws.
  • As a porting detail: when translating a strategy between platforms, identifying whether a 'smoothed MA' means the RMA prevents silent changes in signal timing.

RMA vs EMA and SMA

EMA: Same recursion, different weight on the new bar: the EMA uses alpha = 2/(N+1), the RMA uses 1/N. At equal stated periods the RMA is roughly twice as slow; an N-period RMA behaves like a (2N-1)-period EMA.

SMA: The SMA averages a finite window and forgets each bar completely once it exits; the RMA never fully forgets, discounting the past exponentially instead. The SMA's memory is fixed by its window, while the RMA's effective memory stretches well beyond its nominal period.

More RMA implementations

Related concepts · Moving-average lineage

Concept family

Trend

100 concepts mapped · 88 in the Library

RMA FAQ

Are RMA, SMMA, and Wilder's smoothing the same thing?

Yes. Running moving average (RMA), smoothed moving average (SMMA), Wilder's smoothing, and modified moving average all name the same recursion: previous value times N-1, plus the new price, divided by N. Differences you see between platforms almost always come from seeding choices on the earliest bars, not from the formula.

Why doesn't my RSI match the platform's when I rebuild it with an EMA?

Because Wilder's RSI smooths average gains and losses with the RMA, whose smoothing factor is 1/14 at the standard setting, while a 14-period EMA uses the larger factor 2/15 and reacts faster. To approximate the original with EMA-based tools, set the EMA period to 2N-1, which is 27 for the standard 14.

Why did Wilder use RMA instead of a regular moving average?

Practicality. In 1978 his indicators were computed by hand or on basic calculators, and the RMA needs only the previous value and the new price: multiply, add, divide. There is no window of history to store and no full recomputation each day. The stable smoothing it produces suited RSI and ATR well enough that the convention stuck.

Build RMA your way.

Quant writes, tests, and refines it with you — then it runs on LuxAlgo charting or ports to TradingView.