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.
סקריפט להזמנה בלבד
רק משתמשים שאושרו על ידי המחבר יכולים לגשת לסקריפט הזה. תצטרך לבקש ולקבל אישור להשתמש בו. אישור זה ניתן בדרך כלל לאחר תשלום. לפרטים נוספים, בצע את ההוראות של המחבר למטה או צור קשר ישירות עם drlicht1.
TradingView לא ממליצה לשלם עבור סקריפט או להשתמש בו, אלא אם כן אתה סומך לחלוטין על המחבר שלו ומבין איך הוא עובד. ייתכן שתמצא גם אלטרנטיבות חינמיות בקוד פתוח בסקריפטים של הקהילה שלנו.
הוראות המחבר
כתב ויתור
סקריפט להזמנה בלבד
רק משתמשים שאושרו על ידי המחבר יכולים לגשת לסקריפט הזה. תצטרך לבקש ולקבל אישור להשתמש בו. אישור זה ניתן בדרך כלל לאחר תשלום. לפרטים נוספים, בצע את ההוראות של המחבר למטה או צור קשר ישירות עם drlicht1.
TradingView לא ממליצה לשלם עבור סקריפט או להשתמש בו, אלא אם כן אתה סומך לחלוטין על המחבר שלו ומבין איך הוא עובד. ייתכן שתמצא גם אלטרנטיבות חינמיות בקוד פתוח בסקריפטים של הקהילה שלנו.