OPEN-SOURCE SCRIPT

Volume-Price Shift Box (Lite Version)

196
Description

This indicator is a clean and intuitive visual tool designed to help traders quickly assess the current balance of bullish and bearish forces in the market.
It combines volume, price movement, VWAP, and OBV dynamics into a compact on-chart table that updates in real time.

This version focuses on the core logic and visualization of momentum and volume shifts, making it ideal for traders who want actionable insight without complex configuration.

How It Works

The script measures the combined strength of multiple market components:

  • VWAP trend indicates price bias relative to fair value.
  • OBV (On-Balance Volume) tracks volume flow to confirm or contradict price movement.
  • Volume ratio compares current volume to its recent average.
  • Momentum evaluates directional price movement over a configurable lookback period.
  • Accumulation / Distribution (A/D) Line estimates buying or selling pressure within each candle:
    ↑ — A/D is rising (buying pressure is increasing)
    ↑↑ — A/D is rising faster than before (acceleration of buying)
    ↓ — A/D is falling (selling pressure is increasing)
    ↓↓ — A/D is falling faster than before (acceleration of selling)


Each of these components contributes to an overall shift score.
Depending on this score, the box displays:
🟢 Bullish Shift — strong upward alignment
🔴 Bearish Shift — downward alignment
⚪ Neutral — mixed or indecisive conditions

Key Features

  • Compact on-chart information box with color-coded parameters
  • Combined volume-price relationship model
  • Configurable lookback and sensitivity controls
  • Real-time shift strength and trend duration tracking
  • Adjustable EMA/SMA smoothing for all averages
  • Lightweight design optimized for clarity


Inputs Overview
  • Box Position / Size – Place and scale the on-chart info box
  • Lookback Period – Number of bars used for calculations
  • VWAP Lookback – Period for VWAP distance smoothing
  • Shift Sensitivity – Adjusts reaction strength of bullish/bearish shifts
  • Neutral Zone Threshold – Defines when the market is considered neutral
  • EMA or SMA – Choose exponential or simple moving averages
  • Component Weights – Set the influence of VWAP, OBV, Volume, and Momentum on the shift score
  • Display Toggles – Enable or disable metrics shown in the box (Strength, Volume, VWAP, Duration, OBV)


How to Use

  1. Apply the indicator to any symbol and timeframe.
  2. Observe the box on the chart — it updates dynamically.
  3. Look for transitions between Neutral → Bullish or Neutral → Bearish shifts.
  4. Combine with your existing price action or confirmation tools (e.g., support/resistance, trendlines).
  5. Use the “Strength” and “Duration” values to assess consistency and momentum quality.


(This indicator is not a buy/sell signal generator — it is designed as a contextual analysis and confirmation tool.)

How It Helps

  • Merges several key volume and price metrics into a single view
  • Highlights transitions in market control between buyers and sellers
  • Reduces clutter by presenting only relevant context data
  • Works on any market and timeframe, from scalping to swing trading


⚠️Disclaimer:
This script is provided for educational and informational purposes only. It is not financial advice and should not be considered a recommendation to buy, sell, or hold any financial instrument. Trading involves significant risk of loss and is not suitable for every investor. Users should perform their own due diligence and consult with a licensed financial advisor before making any trading decisions. The author does not guarantee any profits or results from using this script, and assumes no liability for any losses incurred. Use this script at your own risk.



Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.