indicator · on price · open source

Double Smoothed EMA indicator

Double Smoothed EMA is a free open-source indicator by @deepwick. Double Smoothed EMA (DSEMA) is two EMAs back-to-back with a lag-cancelling combination. Deepwick Script runs a subset of Pine Script.

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

What Double Smoothed EMA does

Double Smoothed EMA (DSEMA) is two EMAs back-to-back with a lag-cancelling combination. Tighter than a plain EMA at the same length, simpler than DEMA/TEMA.

  • Use as the fast leg in a crossover with a slower MA.
  • Raise N to slow the line, lower it for tighter turns.
  • Pairs well with an ADX > 25 filter.

Source code

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

//@version=6
indicator("Double Smoothed EMA", overlay=true)
len = input.int(20, "Length", minval=1, maxval=500)
src = input.source(close, "Source")
colorDown = input.color("color.red", "Color  Down")
e1 = ta.ema(src, len)
e2 = ta.ema(e1, len)
dsema = 2.0 * e1 - e2
p_DSEMA = plot(dsema, "DSEMA", color=colorDown, linewidth=2)
alertcondition(ta.crossover(close, dsema), "Price crosses above DSEMA", "Price crossed above the DSEMA")
alertcondition(ta.crossunder(close, dsema), "Price crosses below DSEMA", "Price crossed below the DSEMA")

Comments

No comments yet.

Sign in to comment.