Body×Volume Pressure (Green vs Red) — array based

This indicator measures buying vs. selling pressure by looking at candle size together with trading volume. Instead of showing only price or only volume, it blends both into a single view, so you can quickly see when one side of the market is taking control.
It plots three main things:
1. Net Pressure Histogram
• Bars above zero (teal) = stronger buying pressure
• Bars below zero (maroon) = stronger selling pressure
2. Smoothed Net Line (EMA)
• A gray line that tracks the trend of net pressure
• Helps filter noise and spot when momentum is shifting
3. (Optional) Green & Red Pressure Sums
• Transparent teal = total “buy” pressure
• Transparent maroon = total “sell” pressure (plotted negative for symmetry)
⸻
⚙️ Inputs & Terms
• Lookback Window (len):
How many candles the indicator considers when tallying pressure. Larger = smoother, smaller = more sensitive.
• EMA Length (smoothLen):
The smoothing period for the gray Net EMA line. Helps you see the bigger picture trend in pressure.
• Bull/Bear Ratio Thresholds (optional):
Levels that define when buying or selling pressure is strong enough to call it an “imbalance.”
• Show Labels:
If enabled, the script will mark chart points with Bull imbalance or Bear imbalance labels when thresholds are crossed.
⸻
🚀 Quick Start Tutorial
1. Add to chart
• Copy/paste the code into the TradingView Pine Editor.
• Click “Add to chart.”
2. Choose a market and timeframe
• Works on any market (stocks, crypto, forex) and timeframe (1m, daily, weekly).
3. Read the histogram
• Tall teal bars = strong buying push.
• Tall maroon bars = strong selling push.
• Flat/low bars = market indecision.
4. Watch the Net EMA line
• If it trends above zero, buyers are dominating.
• If it trends below zero, sellers are dominating.
• Crossovers near zero can foreshadow momentum shifts.
5. Use thresholds (optional)
• Adjust the Bull and Bear thresholds in settings.
• When the ratio crosses them, labels/alerts will fire to highlight imbalances.
6. Combine with your strategy
• Use it alongside price action, support/resistance, or other indicators.
• Think of it as a confirmation tool for whether buyers or sellers are truly in control.
⸻
👉 This tool doesn’t give buy/sell signals by itself. It shows you pressure dynamics so you can make more informed trading decisions.
Skrypt tylko na zaproszenie
Tylko użytkownicy zatwierdzeni przez autora mogą uzyskać dostęp do tego skryptu. Musisz złożyć prośbę i uzyskać zgodę na jego użycie. Zazwyczaj jest ona udzielana po dokonaniu płatności. Aby uzyskać więcej informacji, postępuj zgodnie z instrukcjami autora poniżej lub skontaktuj się bezpośrednio z drlicht1.
TradingView NIE zaleca płacenia za skrypt ani jego używania, jeśli nie masz pełnego zaufania do jego autora i nie rozumiesz, jak działa. Możesz także znaleźć darmowe, open-source'owe alternatywy w naszej sekcji skryptów społecznościowych.
Instrukcje autora
Wyłączenie odpowiedzialności
Skrypt tylko na zaproszenie
Tylko użytkownicy zatwierdzeni przez autora mogą uzyskać dostęp do tego skryptu. Musisz złożyć prośbę i uzyskać zgodę na jego użycie. Zazwyczaj jest ona udzielana po dokonaniu płatności. Aby uzyskać więcej informacji, postępuj zgodnie z instrukcjami autora poniżej lub skontaktuj się bezpośrednio z drlicht1.
TradingView NIE zaleca płacenia za skrypt ani jego używania, jeśli nie masz pełnego zaufania do jego autora i nie rozumiesz, jak działa. Możesz także znaleźć darmowe, open-source'owe alternatywy w naszej sekcji skryptów społecznościowych.