OPEN-SOURCE SCRIPT
Cute Meguru Volume Bars (Enhanced • v5)

What it does
CVOLB+ paints volume bars by comparing price & volume now vs. lookback bars ago (LazyBear-style). You get five states:
Up + Vol Up = price ↑ and volume ↑ (accumulation)
Up + Vol Down = price ↑ but volume ↓ (weak up day)
Down + Vol Down = price ↓ and volume ↓ (weak sell)
Down + Vol Up = price ↓ and volume ↑ (distribution)
Neutral = none of the above
On top, it detects volume spikes using two filters you can use separately or combine:
SMA multiplier (volume > avgVolume × SpikeThreshold), and/or
Z-score (standardized surge above zThresh).
Choose OR (catch either condition) or AND (only the biggest, cleanest spikes). Spikes get a separate highlight layer (same bar, brighter color) plus an optional background tint. There’s also a Volume MA with three modes (Neutral Gray, Purple, or Slope-Aware that shifts mint/pink based on MA slope).
How to use it
Read the colors to gauge quality of moves (e.g., “Down + Vol Up” = classic distribution).
Use the Spike layer to flag events worth drilling into (breakouts, capitulation, news).
Slope-Aware MA helps you see when activity is trending higher or cooling off.
Intraday-only toggle lets you hide everything on higher timeframes if you want a pure day-trading tool.
Built-in alerts: “Spike Up” and “Spike Down” fire when spikes occur on up/down candles.
Tweak lookback, lenMA, and the spike thresholds to fit your instrument’s liquidity. Colors are fully customizable so you can match your chart theme.
CVOLB+ paints volume bars by comparing price & volume now vs. lookback bars ago (LazyBear-style). You get five states:
Up + Vol Up = price ↑ and volume ↑ (accumulation)
Up + Vol Down = price ↑ but volume ↓ (weak up day)
Down + Vol Down = price ↓ and volume ↓ (weak sell)
Down + Vol Up = price ↓ and volume ↑ (distribution)
Neutral = none of the above
On top, it detects volume spikes using two filters you can use separately or combine:
SMA multiplier (volume > avgVolume × SpikeThreshold), and/or
Z-score (standardized surge above zThresh).
Choose OR (catch either condition) or AND (only the biggest, cleanest spikes). Spikes get a separate highlight layer (same bar, brighter color) plus an optional background tint. There’s also a Volume MA with three modes (Neutral Gray, Purple, or Slope-Aware that shifts mint/pink based on MA slope).
How to use it
Read the colors to gauge quality of moves (e.g., “Down + Vol Up” = classic distribution).
Use the Spike layer to flag events worth drilling into (breakouts, capitulation, news).
Slope-Aware MA helps you see when activity is trending higher or cooling off.
Intraday-only toggle lets you hide everything on higher timeframes if you want a pure day-trading tool.
Built-in alerts: “Spike Up” and “Spike Down” fire when spikes occur on up/down candles.
Tweak lookback, lenMA, and the spike thresholds to fit your instrument’s liquidity. Colors are fully customizable so you can match your chart theme.
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.