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 🍻
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.