OPEN-SOURCE SCRIPT
Real Deviation Strength (RDS) [ALPHA]

Real Deviation Strength (RDS) [ALPHA] – The mirror-image twin to Median Anchor Oscillator.
Same battle-tested foundation: rolling median + Median Absolute Deviation (MAD) scaling = a super-robust deviation measure that laughs at outliers (way tougher than classic mean/std-dev oscillators).
The fun part: we flipped the visuals so deviation becomes “strength.”
- Histogram inverted + fresh palette: magenta (#aa3bf5) bars shooting up for positive deviation strength (big stretch = caution or conviction?), cyan (#00f7ff) dropping down for negative (pullback energy = bounce setup?).
- Adjustable Strength Sweet Spots at ±2.5 (tweak to taste).
- Optional yellow fill zones for that high-octane “something’s cooking” vibe.
- Scales beautifully on wild charts—crypto, stocks, whatever throws spikes.
Where Median Anchor says “Whoa, too far—revert!”, RDS goes “Damn, that stretch has legs—respect the power.” Perfect for momentum hunters, contrarian plays, or just geeking out on the opposite lens.
Still very much ALPHA—early days, room to grow. Feel free to leave feedback in the comments:
- Colors popping right?
- Alerts on sweet-spot exits next?
- Add divergence next?
- What’s it crushing (or failing) on your favorite ticker?
Using this side-by-side with MAO? The magenta/cyan combo keeps them visually distinct—no chart confusion.
Hero version here: Median Anchor Oscillator [ALPHA] →![Median Anchor Oscillator [ALPHA]](https://s3.tradingview.com/v/vaXtiUaV_mid.png)
Open-source. Let’s build this thing together. Cheers to the flipside 🍻
Same battle-tested foundation: rolling median + Median Absolute Deviation (MAD) scaling = a super-robust deviation measure that laughs at outliers (way tougher than classic mean/std-dev oscillators).
The fun part: we flipped the visuals so deviation becomes “strength.”
- Histogram inverted + fresh palette: magenta (#aa3bf5) bars shooting up for positive deviation strength (big stretch = caution or conviction?), cyan (#00f7ff) dropping down for negative (pullback energy = bounce setup?).
- Adjustable Strength Sweet Spots at ±2.5 (tweak to taste).
- Optional yellow fill zones for that high-octane “something’s cooking” vibe.
- Scales beautifully on wild charts—crypto, stocks, whatever throws spikes.
Where Median Anchor says “Whoa, too far—revert!”, RDS goes “Damn, that stretch has legs—respect the power.” Perfect for momentum hunters, contrarian plays, or just geeking out on the opposite lens.
Still very much ALPHA—early days, room to grow. Feel free to leave feedback in the comments:
- Colors popping right?
- Alerts on sweet-spot exits next?
- Add divergence next?
- What’s it crushing (or failing) on your favorite ticker?
Using this side-by-side with MAO? The magenta/cyan combo keeps them visually distinct—no chart confusion.
Hero version here: Median Anchor Oscillator [ALPHA] →
![Median Anchor Oscillator [ALPHA]](https://s3.tradingview.com/v/vaXtiUaV_mid.png)
Open-source. Let’s build this thing together. Cheers to the flipside 🍻
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.