indicator · on price · open source

Wilder's Smoothed Moving Average indicator

Wilder's Smoothed Moving Average is a free open-source indicator by @deepwick. Wilder's Smoothed Moving Average (RMA) uses the smoothing constant 1/N instead of the EMA's… Deepwick Script runs a subset of Pine Script.

Deepwick · @deepwickv1Updated 3 Nov 2026▲ 0 users
Running…
Loading chart…

What Wilder's Smoothed Moving Average does

Wilder's Smoothed Moving Average (RMA) uses the smoothing constant 1/N instead of the EMA's 2/(N+1). The result moves slower than an EMA at the same length and is the exact kernel inside RSI and ATR.

  • The reference smoothing for momentum and volatility indicators.
  • Raise N for very smooth, slow-moving trend lines.
  • Pair with an EMA crossover to compare both kernels.

Source code

Deepwick Script, a subset of Pine Script · read-only

//@version=6
indicator("Wilder's Smoothed Moving Average", overlay=true)
len = input.int(14, "Length", minval=1, maxval=500)
src = input.source(close, "Source")
colorDim = input.color("color.maroon", "Color  Dim")
rma = ta.rma(src, len)
p_RMA = plot(rma, "RMA", color=colorDim, linewidth=2)
alertcondition(ta.crossover(close, rma), "Price crosses above RMA", "Price crossed above the RMA")
alertcondition(ta.crossunder(close, rma), "Price crosses below RMA", "Price crossed below the RMA")

Comments

No comments yet.

Sign in to comment.