OPEN-SOURCE SCRIPT
Güncellendi Volume Buzz v2

What changed from v1
- Now displays as % instead of multiplier (2.5x → 250%)
- Expanded the early window from 9:44 to 10:30
- Post-10:30 switches to live 5-min slots instead of freezing
- Cleaner and more responsive at the open
- Now displays as % instead of multiplier (2.5x → 250%)
- Expanded the early window from 9:44 to 10:30
- Post-10:30 switches to live 5-min slots instead of freezing
- Cleaner and more responsive at the open
Sürüm Notları
- Color now based on daily bar direction instead of intraday candle. Above 250% shows green if the daily is up, red if the daily is down — gives better context since a high volume reading on a down day is a different signal than on an up day.Sürüm Notları
v3 Update — Pre-Market Volume BuzzAdded a Pre-Market Buzz row that tracks cumulative volume from 4:00 AM to 9:30 AM and compares it against the 14-day average pre-market volume for the same window.
Color logic mirrors the main Volume Buzz — green if volume is elevated and price is above the prior day's close, red if volume is elevated but price is below the prior close or if volume is low, neutral otherwise.
The Pre-Market Buzz row automatically hides at 9:30 AM when the regular session opens.
Sürüm Notları
- Replaced hardcoded 1-minute/5-minute internal lookups with a unified, timeframe-aware slot system. The indicator now reads the chart's actual timeframe (timeframe.in_seconds) and automatically sizes its lookback slots to match — works correctly on 1m, 5m, 65m, or any other intraday timeframe with no manual configuration.- Removed the separate cumulative-volume window (previously 9:30–10:30 only) and the "switch to 5-min logic after 10:30" behavior. The entire session now uses one consistent calculation: each bar's volume is compared to the historical average volume for that same time-of-day slot, on whatever timeframe you're viewing.
- Volume Buzz coloring now reflects the daily candle's direction, not the direction of the bar on your current chart timeframe. So on a 1-minute or 65-minute chart, an individual red bar won't force the cell red if the broader daily candle is green and buzz is elevated — the color now always answers "is today, overall, a green or red day."
- Added automatic re-sizing of the internal history array if you switch chart timeframes mid-session, preventing stale/mismatched slot data.
- PreBuzz (4:00–9:30 premarket cumulative vs. 14-day average) is unchanged.
Sürüm Notları
Release Notes- Volume Buzz now uses fixed 5-minute lookback slots on every chart timeframe. Previously the slot size was derived from the chart's own timeframe (timeframe.in_seconds), which meant a "slot" was 65 minutes on a 65m chart and 5 minutes on a 5m chart — the reading silently changed meaning depending on what you were viewing. The calculation now runs in a dedicated 5-minute context via request.security, so the current 5-minute window is always compared against that same window's 14-day history regardless of the chart you're on.
- Fixed a slot-indexing bug that caused blank readings on certain timeframes. The opening slot index was derived from wall-clock arithmetic that assumed bars align exactly to 9:30. Where they don't, the 9:30 bar was pushed into slot 1 and slot 0 was never written on any day — leaving its history array permanently empty and the indicator showing a dash. Slot index is now counted from the session's first bar, so the opening window is always recorded.
- Volume Buzz readings now persist until the next window closes. Previously the value reset the instant a new 5-minute window began, so a high-volume burst could disappear from the table before you saw it. The last completed window's reading is now held until the following window finishes. Note this means the displayed value can be up to 5 minutes old — you're seeing the last completed window, not the live in-progress one.
- Added AH Buzz (4:00–8:00pm after-hours cumulative volume vs. 14-day average). Mirrors the existing PreBuzz logic and shares the same table row, since the two sessions never overlap.
- Premarket reset is now more reliable on lower-liquidity names. The daily reset previously required a bar to exist at exactly 4:00:00 — if no trade printed in that specific minute, the reset silently never fired and the cumulative total carried over from the prior day. It now resets on the first premarket bar of each new day, whenever it actually arrives.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.