indicator · own pane · open source

Aroon indicator

Aroon is a free open-source indicator. Aroon Up / Down — measures how many bars since the last N-bar high (Up) and low (Down). Deepwick Script runs a subset of Pine Script.

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

What Aroon does

Aroon Up / Down — measures how many bars since the last N-bar high (Up) and low (Down). Values close to 100 mean a fresh extreme, close to 0 mean a stale one.

  • Up above 70 + Down below 30 = strong uptrend; the opposite = strong downtrend.
  • Both lines below 35 = range-bound; expect a breakout soon.

Source code

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

//@version=6
indicator("Aroon", overlay=false)
len = input.int(25, "Length", minval=2, maxval=200)
colorUp = input.color("color.green", "Color  Up")
colorDown = input.color("color.red", "Color  Down")
colorNeutral = input.color("color.gray", "Color  Neutral")
aroonUp = 100 * (len - ta.highestbars(high, len)) / len
aroonDn = 100 * (len - ta.lowestbars(low, len)) / len
hline(70, "Strong", color=colorNeutral, linestyle=hline.style_dashed)
hline(30, "Weak", color=colorNeutral, linestyle=hline.style_dashed)
p_Aroon_Up = plot(aroonUp, "Aroon Up", color=colorUp, linewidth=2)
p_Aroon_Down = plot(aroonDn, "Aroon Down", color=colorDown, linewidth=2)
alertcondition(ta.crossover(aroonUp, 70) and aroonDn < 30, "Aroon bullish extreme", "Aroon Up crossed 70 with Down under 30")
alertcondition(ta.crossover(aroonDn, 70) and aroonUp < 30, "Aroon bearish extreme", "Aroon Down crossed 70 with Up under 30")

Comments

No comments yet.

Sign in to comment.