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.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.