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 🍻
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.