OPEN-SOURCE SCRIPT
VMMA Ribbon + Q1/Q3 Echo Rays

simulates a series of vwma lines in a wave. Basically puts them in an array and calculates highest lowest values among other things ... The VMMA Ribbon + Q1/Q3 Echo Rays is a Pine Script v5 indicator that combines a dynamic Volume-Weighted Moving Average (VWMA) ribbon with interactive support/resistance "echo rays" based on the ribbon’s inner quartiles (Q1 and Q3). The ribbon is built from multiple VWMAs of increasing lengths, forming a band with an upper edge, lower edge, midline, and Q1/Q3 lines (representing the 25th and 75th percentiles of the band).
Edges are colored by slope (bullish = green, bearish = red) or use a default color.
Echo rays extend horizontally from recent swing lows in Q1 and swing highs in Q3, acting as dynamic support/resistance levels that "echo" past extremes until broken or surpassed.
Key Use CasesUse Case
Description
1. Trend Strength & Direction
Ribbon expansion = volatility; compression = consolidation. Slope-colored edges show momentum shifts early.
2. Dynamic Support & Resistance
Q1/Q3 echo rays mark high-probability reversal zones. Price respecting rays = continuation; break = reversal.
3. Mean Reversion Entries
Buy near Q1 ray in uptrend (oversold within band); sell near Q3 ray in downtrend.
4. Breakout Confirmation
Price breaking upper/lower edge + Q3/Q1 ray termination confirms strong breakout.
5. Volume-Weighted Context
Uses VWMA → more reactive to volume spikes than SMA → better for stocks/crypto with sudden volume surges.
Edges are colored by slope (bullish = green, bearish = red) or use a default color.
Echo rays extend horizontally from recent swing lows in Q1 and swing highs in Q3, acting as dynamic support/resistance levels that "echo" past extremes until broken or surpassed.
Key Use CasesUse Case
Description
1. Trend Strength & Direction
Ribbon expansion = volatility; compression = consolidation. Slope-colored edges show momentum shifts early.
2. Dynamic Support & Resistance
Q1/Q3 echo rays mark high-probability reversal zones. Price respecting rays = continuation; break = reversal.
3. Mean Reversion Entries
Buy near Q1 ray in uptrend (oversold within band); sell near Q3 ray in downtrend.
4. Breakout Confirmation
Price breaking upper/lower edge + Q3/Q1 ray termination confirms strong breakout.
5. Volume-Weighted Context
Uses VWMA → more reactive to volume spikes than SMA → better for stocks/crypto with sudden volume surges.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.