OPEN-SOURCE SCRIPT

Cute Meguru Volume Bars (Enhanced • v5)

98
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.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.