OPEN-SOURCE SCRIPT
Custom Volume + Buyer & Price %

Title: Custom Volume + Buyer & Price %
Description:
This indicator helps you see who is controlling the market — buyers or sellers — using volume and price action. It works even if your chart is on a small timeframe (like 5-min or 15-min), by showing Daily, Weekly, and Monthly information from the higher timeframe volume charts.
Key Features & How It Works:
Buyer % (B%):
Measures where the closing price is within the high-low range of a candle.
Calculation:
\text{Buyer %} = \frac{\text{Close} - \text{Low}}{\text{High} - \text{Low}} \times 100
Interpretation:
> 50% → Buyers are stronger
< 50% → Sellers are stronger
50% → Balanced
Volume Coloring:
Volume bars are colored based on Buyer %, not price movement:
Green → Buyers dominate
Red → Sellers dominate
Yellow → Balanced day
Higher Timeframe Insight:
Displays Daily, Weekly, and Monthly volume & Buyer % even if your chart is on a smaller timeframe.
Lets you understand long-term buying or selling pressure while trading intraday.
21-Day Average:
Shows average Buyer % and average volume over the past 21 days for trend context.
Why It’s Useful:
Quickly visualize whether the market is buyer-driven or seller-driven.
Identify strong accumulation or distribution days.
Works on any chart timeframe while giving higher timeframe perspective.
Ideal for traders who want easy, visual insight into market sentiment.
Description:
This indicator helps you see who is controlling the market — buyers or sellers — using volume and price action. It works even if your chart is on a small timeframe (like 5-min or 15-min), by showing Daily, Weekly, and Monthly information from the higher timeframe volume charts.
Key Features & How It Works:
Buyer % (B%):
Measures where the closing price is within the high-low range of a candle.
Calculation:
\text{Buyer %} = \frac{\text{Close} - \text{Low}}{\text{High} - \text{Low}} \times 100
Interpretation:
> 50% → Buyers are stronger
< 50% → Sellers are stronger
50% → Balanced
Volume Coloring:
Volume bars are colored based on Buyer %, not price movement:
Green → Buyers dominate
Red → Sellers dominate
Yellow → Balanced day
Higher Timeframe Insight:
Displays Daily, Weekly, and Monthly volume & Buyer % even if your chart is on a smaller timeframe.
Lets you understand long-term buying or selling pressure while trading intraday.
21-Day Average:
Shows average Buyer % and average volume over the past 21 days for trend context.
Why It’s Useful:
Quickly visualize whether the market is buyer-driven or seller-driven.
Identify strong accumulation or distribution days.
Works on any chart timeframe while giving higher timeframe perspective.
Ideal for traders who want easy, visual insight into market sentiment.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.