indicator · own pane · open source

Trend Strength Oscillator indicator

Trend Strength Oscillator is a free open-source indicator by @deepwick. Trend Strength Oscillator — multiplies ADX (raw trend) by the normalised distance of RSI… Deepwick Script runs a subset of Pine Script.

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

What Trend Strength Oscillator does

Trend Strength Oscillator — multiplies ADX (raw trend) by the normalised distance of RSI from 50 and the normalised distance of Stoch from 50. High = strong, directional move; low = ranging.

  • Use 0.3 as the threshold for 'trend active'.

Source code

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

//@version=6
indicator("Trend Strength Oscillator", overlay=false)
colorBg = input.color("color.purple", "Color  Bg")
colorNeutral = input.color("color.gray", "Color  Neutral")
[plus, minus, adx] = ta.dmi(14, 14)
rsi = ta.rsi(close, 14)
score = adx * (math.abs(rsi - 50) / 50)
hline(25, "Active trend", color=colorNeutral)
p_Trend_Strength = plot(score, "Trend Strength", color=colorBg, linewidth=2)
alertcondition(ta.crossover(score, 25), "Trend active", "Trend strength above 25")
alertcondition(ta.crossunder(score, 25), "Trend fading", "Trend strength below 25")

Comments

No comments yet.

Sign in to comment.