indicator · own pane · open source

Trend Intensity indicator

Trend Intensity is a free open-source indicator. Trend Intensity is the ratio of net move over len bars to the sum of all bar moves… Deepwick Script runs a subset of Pine Script.

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

What Trend Intensity does

Trend Intensity is the ratio of net move over len bars to the sum of all bar moves, expressed as a percentage. High values = clean directional trend; low values = noisy chops.

  • Reads above ~33 = trending, below ~15 = messy.
  • Use as a filter for breakout entries — only take them when intensity is rising.

Source code

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

//@version=6
indicator("Trend Intensity", overlay=false)
len = input.int(30, "Length", minval=2, maxval=200)
colorBg = input.color("color.purple", "Color  Bg")
colorUp = input.color("color.green", "Color  Up")
colorDown = input.color("color.red", "Color  Down")
ti = math.abs(close - close[len]) / math.sum(math.abs(ta.change(close)), len) * 100
hline(33, "Trending", color=colorUp, linestyle=hline.style_dashed)
hline(15, "Choppy", color=colorDown, linestyle=hline.style_dashed)
p_Trend_Intensity = plot(ti, "Trend Intensity", color=colorBg, linewidth=2)
alertcondition(ta.crossover(ti, 33), "Trend intensity up", "Trend intensity crossed above 33 — trending")
alertcondition(ta.crossunder(ti, 15), "Trend intensity down", "Trend intensity dropped below 15 — choppy")

Comments

No comments yet.

Sign in to comment.