INVITE-ONLY SCRIPT

MA Distance Ribbon

23
MA Distance Ribbon – Premium Multi-MA Deviation Oscillator
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.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.