OPEN-SOURCE SCRIPT
Cập nhật Candle Volume POC

Candle Volume POC estimates the point of control for each individual candle using lower-timeframe volume data.
The script builds price bins inside each candle, distributes lower-timeframe volume across the bins touched by each lower-timeframe candle, then marks the price area with the highest accumulated volume.
Default lower timeframe is 15 seconds for higher precision. If your TradingView plan does not support seconds data, use 1 minute instead.
Notes:
- This is an approximation because Pine Script does not provide true tick-level volume-at-price data.
- Lower timeframes improve precision but reduce how far back TradingView can calculate due to intrabar history limits.
- POC marks may extend to the right on bearish candles when the POC is hidden inside the candle body.
The script builds price bins inside each candle, distributes lower-timeframe volume across the bins touched by each lower-timeframe candle, then marks the price area with the highest accumulated volume.
Default lower timeframe is 15 seconds for higher precision. If your TradingView plan does not support seconds data, use 1 minute instead.
Notes:
- This is an approximation because Pine Script does not provide true tick-level volume-at-price data.
- Lower timeframes improve precision but reduce how far back TradingView can calculate due to intrabar history limits.
- POC marks may extend to the right on bearish candles when the POC is hidden inside the candle body.
Phát hành các Ghi chú
Changed calculation method to pull directly from footprint data with customizable tick size.Phát hành các Ghi chú
Changed default tick size to 100.Phát hành các Ghi chú
Added automatic footprint row sizing with a simple multiplier setting. Higher multipliers make the script lighter for large candles, while lower multipliers keep the POC more precise. Also added manual tick override and clearer warning text when footprint data is unavailable.Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.