indicator · on price · open source

Multi-MA Composite indicator

Multi-MA Composite is a free open-source indicator. Multi-MA Composite — Wilder-smoothed MAs at 20 / 50 / 200 plotted together. Deepwick Script runs a subset of Pine Script.

v1Updated 3 Oct 2026▲ 0 users
Running…
Loading chart…

What Multi-MA Composite does

Multi-MA Composite — Wilder-smoothed MAs at 20 / 50 / 200 plotted together. A fan-pattern (faster MAs above slower) flags the trend and confirms breakouts; the 200-MA is the long-term regime line.

  • Buy when 20 > 50 > 200 and pullback to 20 holds.
  • Sell on 20 crossing below 50.

Source code

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

//@version=6
indicator("Multi-MA Composite", overlay=true)
colorLine = input.color("color.blue", "Color  Line")
colorMid = input.color("color.orange", "Color  Mid")
colorDown = input.color("color.red", "Color  Down")
e20 = ta.rma(close, 20)
e50 = ta.rma(close, 50)
e200 = ta.rma(close, 200)
p_MA_20 = plot(e20, "MA 20", color=colorLine, linewidth=1)
p_MA_50 = plot(e50, "MA 50", color=colorMid, linewidth=1)
p_MA_200 = plot(e200, "MA 200", color=colorDown, linewidth=2)
alertcondition(ta.crossover(e20, e50), "Short-term cross", "20-MA crossed above 50-MA")
alertcondition(ta.crossover(e50, e200), "Golden cross", "50-MA crossed above 200-MA")
alertcondition(ta.crossunder(e50, e200), "Death cross", "50-MA crossed below 200-MA")

Comments

No comments yet.

Sign in to comment.