PROTECTED SOURCE SCRIPT
Buy/Sell Volume Spike Radar

This indicator highlights unusual volume spikes and classifies them as buying pressure or selling pressure using price action context. It’s designed to spot when the crowd is stepping in aggressively — either on the bid (sell spikes) or on the ask (buy spikes).
How it works:
Compares current volume against a moving average of volume (default 50 bars).
A spike is flagged when volume is above the threshold (default = 2× vol MA).
Candle body position in its range determines direction:
Close near the top of the bar = Buy Spike.
Close near the bottom = Sell Spike.
Doji-like candles are filtered out using a minimum body % rule.
Visuals:
Background tint: teal for buy spikes, red for sell spikes.
Labels: optional tags on the chart showing “High BUY vol” or “High SELL vol”.
Histogram (lower pane): plots signed volume (positive = buy pressure, negative = sell pressure) with spikes emphasized.
Status table: shows live volume, moving average, and current spike status.
Use cases:
Spot institutional activity or panic selling.
Confirm breakouts or breakdowns with real buying/selling pressure.
Filter false moves by requiring both price + volume confirmation.
⚠️ Note: Options volume/flow data is not available in Pine/TradingView. This tool only analyzes the underlying’s price + volume. For true options flow, use a dedicated options analytics platform.
How it works:
Compares current volume against a moving average of volume (default 50 bars).
A spike is flagged when volume is above the threshold (default = 2× vol MA).
Candle body position in its range determines direction:
Close near the top of the bar = Buy Spike.
Close near the bottom = Sell Spike.
Doji-like candles are filtered out using a minimum body % rule.
Visuals:
Background tint: teal for buy spikes, red for sell spikes.
Labels: optional tags on the chart showing “High BUY vol” or “High SELL vol”.
Histogram (lower pane): plots signed volume (positive = buy pressure, negative = sell pressure) with spikes emphasized.
Status table: shows live volume, moving average, and current spike status.
Use cases:
Spot institutional activity or panic selling.
Confirm breakouts or breakdowns with real buying/selling pressure.
Filter false moves by requiring both price + volume confirmation.
⚠️ Note: Options volume/flow data is not available in Pine/TradingView. This tool only analyzes the underlying’s price + volume. For true options flow, use a dedicated options analytics platform.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.