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.
Script sur invitation seulement
Seuls les utilisateurs approuvés par l'auteur peuvent accéder à ce script. Vous devrez demander et obtenir l'autorisation pour l'utiliser. Celle-ci est généralement accordée après paiement. Pour plus de détails, suivez les instructions de l'auteur ci-dessous ou contactez directement drlicht1.
TradingView ne recommande PAS de payer ou d'utiliser un script à moins que vous ne fassiez entièrement confiance à son auteur et que vous compreniez comment il fonctionne. Vous pouvez également trouver des alternatives gratuites et open-source dans nos scripts communautaires.
Instructions de l'auteur
Clause de non-responsabilité
Script sur invitation seulement
Seuls les utilisateurs approuvés par l'auteur peuvent accéder à ce script. Vous devrez demander et obtenir l'autorisation pour l'utiliser. Celle-ci est généralement accordée après paiement. Pour plus de détails, suivez les instructions de l'auteur ci-dessous ou contactez directement drlicht1.
TradingView ne recommande PAS de payer ou d'utiliser un script à moins que vous ne fassiez entièrement confiance à son auteur et que vous compreniez comment il fonctionne. Vous pouvez également trouver des alternatives gratuites et open-source dans nos scripts communautaires.