indicator · own pane · open source

RSI Smoothed

Deepwick · @deepwickv1Updated 2 Oct 2026▲ 0 users
Running…
Loading chart…

About

RSI Smoothed runs an extra EMA over RSI so the line is steady but still preserves the original momentum signal. Fewer whipsaws in chop.

  • Above 70 = overbought, below 30 = oversold.
  • Raise the smoothing length for ultra-steady output.
  • Combine with raw RSI for early signals.

Source code

//@version=5
indicator("RSI Smoothed", overlay=false)
len = input.int(14, "RSI Length", minval=2, maxval=200)
slen = input.int(14, "Smoothing Length", minval=1, maxval=100)
src = input.source("close", "Source")
rsism = ta.ema(ta.rsi(src, len), slen)
hline(70, "Overbought", color=color.gray, linestyle=hline.style_dashed)
hline(30, "Oversold", color=color.gray, linestyle=hline.style_dashed)
hline(50, "Midline", color=color.gray, linestyle=hline.style_dotted)
p_RSI_Smoothed = plot(rsism, "RSI Smoothed", color=color.lime, linewidth=2)
alertcondition(ta.crossunder(rsism, 30), "RSI Smoothed oversold", "Smoothed RSI crossed below 30")
alertcondition(ta.crossover(rsism, 70), "RSI Smoothed overbought", "Smoothed RSI crossed above 70")

Comments

No comments yet.

Sign in to comment.