MA Distance Ribbon

This indicator displays the real-time distance (in price units) between the current price and 10 different moving averages (periods 20 to 200, step 20) in a separate pane below the chart.
Key Features
10 simultaneous deviation lines forming a smooth, colorful “ribbon”
Instant visual feedback:
Green shades = price is below the MA (potential oversold / bullish momentum)
Purple/Magenta shades = price is above the MA (potential overbought / bearish pressure)
Gradient transparency: shorter periods = bolder colors, longer periods = softer tones for perfect visual hierarchy
Supports SMA, EMA, WMA, HMA and VWMA
Clean zero line + elegant info table showing current distance for each period
No clutter on the price chart (overlay=false)
How to use
Ribbon expanding upward in purple → strong bullish momentum, possible over-extension
Ribbon expanding downward in green → strong bearish momentum, possible oversold condition
Convergence toward zero → price returning to equilibrium with the selected MAs
Works excellently as a trend-strength filter, mean-reversion signal source or overbought/oversold confirmation tool
Perfect for scalpers, swing traders and algo developers who want a clear, beautiful and highly informative deviation panel.
Clean code | Professional look | Instant insight
MA Distance Ribbon – see the hidden pulse behind every moving average.
Invite-only script
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact constantineborsa directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Disclaimer
Invite-only script
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact constantineborsa directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.