INVITE-ONLY SCRIPT
Volume Profile Two-Tone - Hit Counter - Meter V1

Volume Profile Two-Tone - Hit Counter - Meter V1
Overview
The Volume Profile Two-Tone - Hit Counter - Meter V1 is a Pine Script v6 indicator for TradingView, designed to visualize buy and sell activity distribution across price levels within a user-defined window or intraday session. It plots a dual-color horizontal histogram showing buying (green) and selling (red) volume intensity, along with optional hit-count numbers and meter overlays. The profile dynamically updates as new bars form, providing an intuitive picture of where market participants are most active.
The enhanced V1 edition introduces persistent hit counts, real-time adaptive row rebuilding, and improved memory management for smoother performance in both rolling-window and session modes.
How It Works
The indicator divides the selected range into rows (price bins) and aggregates trade volume (or tick volume) per bar.
Each bin separately sums up bullish and bearish contributions based on candle direction and delta logic, then draws side-by-side histogram bars:
• Buy Volume (green): Total volume from bullish bars within the bin.
• Sell Volume (red): Total volume from bearish bars within the bin.
A rolling or session-based window determines how many recent bars are analyzed. Value Area (VA), Point of Control (POC), and total hits per bin are computed continuously. The display auto-adjusts as price moves, keeping the profile anchored to the latest visible bars.
Behind the scenes, optimized arrays manage active boxes, lines, and labels for each bin. Functions like ensure_rows() rebuild buffers only when necessary, guaranteeing efficiency without repainting past data. Persistent hit-tracking ensures each price level maintains its count even when temporarily hidden.
Key Features
• Dual-Tone Volume Histogram: Buy/sell split with distinct colors for immediate visual contrast.
• Rolling or Session Profiles: Choose between continuous rolling windows or intraday session resets.
• Persistent Hit Counts: Displays total touches per bin, remaining stored even when bins refresh.
• Adaptive Row Management: Automatic rebuilding when zooming, scrolling, or changing resolution.
• Value Area + POC Detection: Highlights the most active price levels and volume concentration zones.
• Meter Overlay Option: Adds gradient bars or directional meters for quick trend context.
• Performance Optimized: Uses lightweight arrays and cached line handles for minimal CPU load.
• Custom Color Control: Editable buy/sell colors, opacity, row count, and profile width.
• Full Persistence Mode: Profiles remain visually consistent across bar updates without redraw gaps.
What It Displays
The Volume Profile Two-Tone - Hit Counter - Meter V1 presents an adaptive horizontal histogram beside the chart’s candles, revealing how volume is distributed across price.
• Green segments show dominant buying interest; red segments reveal selling pressure.
• POC line identifies the highest-volume price.
• Hit-count numbers quantify how often price traded at each level.
• Optional meters display relative directional strength within the same range.
This visual layering helps traders quickly identify supply/demand zones, balance areas, and developing auction profiles across intraday or multi-session contexts.
Originality
The Pine Script v6 indicator uses efficient array management (array.new_*, array.set, array.get) and native math operations for rendering.
It avoids external dependencies, relying only on built-in TradingView functions like request.security, box.new, line.new, and label.new for dynamic plotting.
Common Ways People Use It
• Scalpers: Study short-term imbalances or high-activity levels to time entries/exits.
• Day Traders: Track evolving session volume and POC migration.
• Swing Analysts: Compare rolling distributions to identify value shifts over multiple days.
• Volume Profilers: Combine with VWAP or order-flow tools for deeper context.
Configuration Notes
Legal Disclaimer
For informational and educational purposes only—not investment, financial, or trading advice. Past performance does not guarantee future results; trading involves significant risk. Provided “as is,” without warranties. Consult a qualified professional before making decisions. By using, you accept all risks and agree to this disclaimer.
Overview
The Volume Profile Two-Tone - Hit Counter - Meter V1 is a Pine Script v6 indicator for TradingView, designed to visualize buy and sell activity distribution across price levels within a user-defined window or intraday session. It plots a dual-color horizontal histogram showing buying (green) and selling (red) volume intensity, along with optional hit-count numbers and meter overlays. The profile dynamically updates as new bars form, providing an intuitive picture of where market participants are most active.
The enhanced V1 edition introduces persistent hit counts, real-time adaptive row rebuilding, and improved memory management for smoother performance in both rolling-window and session modes.
How It Works
The indicator divides the selected range into rows (price bins) and aggregates trade volume (or tick volume) per bar.
Each bin separately sums up bullish and bearish contributions based on candle direction and delta logic, then draws side-by-side histogram bars:
• Buy Volume (green): Total volume from bullish bars within the bin.
• Sell Volume (red): Total volume from bearish bars within the bin.
A rolling or session-based window determines how many recent bars are analyzed. Value Area (VA), Point of Control (POC), and total hits per bin are computed continuously. The display auto-adjusts as price moves, keeping the profile anchored to the latest visible bars.
Behind the scenes, optimized arrays manage active boxes, lines, and labels for each bin. Functions like ensure_rows() rebuild buffers only when necessary, guaranteeing efficiency without repainting past data. Persistent hit-tracking ensures each price level maintains its count even when temporarily hidden.
Key Features
• Dual-Tone Volume Histogram: Buy/sell split with distinct colors for immediate visual contrast.
• Rolling or Session Profiles: Choose between continuous rolling windows or intraday session resets.
• Persistent Hit Counts: Displays total touches per bin, remaining stored even when bins refresh.
• Adaptive Row Management: Automatic rebuilding when zooming, scrolling, or changing resolution.
• Value Area + POC Detection: Highlights the most active price levels and volume concentration zones.
• Meter Overlay Option: Adds gradient bars or directional meters for quick trend context.
• Performance Optimized: Uses lightweight arrays and cached line handles for minimal CPU load.
• Custom Color Control: Editable buy/sell colors, opacity, row count, and profile width.
• Full Persistence Mode: Profiles remain visually consistent across bar updates without redraw gaps.
What It Displays
The Volume Profile Two-Tone - Hit Counter - Meter V1 presents an adaptive horizontal histogram beside the chart’s candles, revealing how volume is distributed across price.
• Green segments show dominant buying interest; red segments reveal selling pressure.
• POC line identifies the highest-volume price.
• Hit-count numbers quantify how often price traded at each level.
• Optional meters display relative directional strength within the same range.
This visual layering helps traders quickly identify supply/demand zones, balance areas, and developing auction profiles across intraday or multi-session contexts.
Originality
The Pine Script v6 indicator uses efficient array management (array.new_*, array.set, array.get) and native math operations for rendering.
It avoids external dependencies, relying only on built-in TradingView functions like request.security, box.new, line.new, and label.new for dynamic plotting.
Common Ways People Use It
• Scalpers: Study short-term imbalances or high-activity levels to time entries/exits.
• Day Traders: Track evolving session volume and POC migration.
• Swing Analysts: Compare rolling distributions to identify value shifts over multiple days.
• Volume Profilers: Combine with VWAP or order-flow tools for deeper context.
Configuration Notes
- Profile Mode: Select Rolling Window (bars) or Session (intraday).
- Rows and Width: Default = 72 rows, 44 bars width.
- Colors and Opacity: Adjust to match chart theme.
- Performance Mode: Choose Accurate or Fast (approximate) for speed control.
- Show Hits / Meter: Enable hit-count numbers and gradient meters for added context.
Legal Disclaimer
For informational and educational purposes only—not investment, financial, or trading advice. Past performance does not guarantee future results; trading involves significant risk. Provided “as is,” without warranties. Consult a qualified professional before making decisions. By using, you accept all risks and agree to this disclaimer.
僅限邀請腳本
只有經作者批准的使用者才能訪問此腳本。您需要申請並獲得使用權限。該權限通常在付款後授予。如欲了解更多詳情,請依照以下作者的說明操作,或直接聯絡TradingScriptSolutions。
除非您完全信任其作者並了解腳本的工作原理,否則TradingView不建議您付費或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
To access this premium indicator, purchase at https://whop.com/tradingscript-solutions-llc/premium-volume-profile-two-tone-hit-count-meter/ . Once you've bought access, you'll receive the invite link or code to add it to your TradingView account.
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
僅限邀請腳本
只有經作者批准的使用者才能訪問此腳本。您需要申請並獲得使用權限。該權限通常在付款後授予。如欲了解更多詳情,請依照以下作者的說明操作,或直接聯絡TradingScriptSolutions。
除非您完全信任其作者並了解腳本的工作原理,否則TradingView不建議您付費或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
To access this premium indicator, purchase at https://whop.com/tradingscript-solutions-llc/premium-volume-profile-two-tone-hit-count-meter/ . Once you've bought access, you'll receive the invite link or code to add it to your TradingView account.
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。