OPEN-SOURCE SCRIPT
已更新 Buy & Sell Volume (OWI)

📊 Buy & Sell Volume (OWI) Indicator Guide
The Buy & Sell Volume (OWI) indicator is designed to provide a visual breakdown of buying and selling pressure in each candle, helping traders identify volume surges and potential market moves. It also includes a time filter to focus analysis during key trading hours.
⚙️ Setup & Inputs
When adding the indicator to your chart, you'll see several configurable inputs:
📈 How It Works
🔍 Volume Breakdown
⏰ Time Filter (Optional)
When enabled, the indicator only highlights volume spikes during the specified US market hours. This helps filter out noise from pre-market or after-hours trading.
🚨 Highlight Conditions
The indicator flags significant volume spikes with labels above the volume bars:
| Label | Condition |
| V+ | Volume is between 1.5× and 2× the SMA, during market hours (if enabled). |
| V++ | Volume exceeds 2× the SMA, during market hours (if enabled). |
💡 Tips
- Use shorter SMA lengths for more reactive volume analysis.
- Change the time filter if you're trading outside US market hours.
- Combine with candlestick patttern to confirm breakout or reversal signals.
The Buy & Sell Volume (OWI) indicator is designed to provide a visual breakdown of buying and selling pressure in each candle, helping traders identify volume surges and potential market moves. It also includes a time filter to focus analysis during key trading hours.
⚙️ Setup & Inputs
When adding the indicator to your chart, you'll see several configurable inputs:
- SMA Length : Sets the period for the Simple Moving Average (SMA) of total volume.
- Enable Time Filter : Toggles whether to restrict analysis to US market hours (Eastern Time). |
- Start Hour/Minute : Defines the beginning of the time filter window (default: 9:45 ET). |
- End Hour/Minute : Defines the end of the time filter window (default: 16:15 ET). |
📈 How It Works
🔍 Volume Breakdown
- Buy Volume: Estimated volume attributed to buyers, calculated based on candle position.
- Sell Volume: Estimated volume attributed to sellers.
- Total Volume SMA: A moving average of total volume to benchmark current activity.
⏰ Time Filter (Optional)
When enabled, the indicator only highlights volume spikes during the specified US market hours. This helps filter out noise from pre-market or after-hours trading.
🚨 Highlight Conditions
The indicator flags significant volume spikes with labels above the volume bars:
| Label | Condition |
| V+ | Volume is between 1.5× and 2× the SMA, during market hours (if enabled). |
| V++ | Volume exceeds 2× the SMA, during market hours (if enabled). |
💡 Tips
- Use shorter SMA lengths for more reactive volume analysis.
- Change the time filter if you're trading outside US market hours.
- Combine with candlestick patttern to confirm breakout or reversal signals.
版本注释
Update Note for 'Previous Day High/Low Levels [OWI]'The Buy & Sell Volume (OWI) indicator is a custom volume analysis tool designed for intraday traders seeking to identify volume spikes and momentum-driven entry points. Unlike traditional volume indicators that treat all volume equally, OWI breaks down volume into buy-side and sell-side components, offering a more nuanced view of market participation. It also incorporates time-based filtering to focus analysis during US market hours, where liquidity and volatility are typically highest.
🧠 What Makes This Script Original?
- Decomposes volume into buy-side and sell-side using candle structure (high, low, close).
- Uses dynamic labeling to highlight volume spikes with directional bias.
- Includes time-based filtering to focus analysis during desirable market hours (US market by default).
⚙️ What It Does
- Calculates buy and sell volume based on where the close lies within the candle’s range.
- Compares current volume to a 20 SMA to detect volume spikes.
- Flags spikes with “V+” (1.5–2x SMA) and “V++” (>2x SMA) labels.
- Labels are color-coded: green for buy-dominant, red for sell-dominant.
- Plots total volume, buy volume, and volume SMA for visual clarity.
🧭 How to Use It
- Use “V+” and “V++” volume spike labels as contextual signals, not standalone trade triggers.
- Look for confluence with opening range breaks—volume spikes during a breakout of the first 15–30 minutes can confirm conviction
- Watch for low-volume retests after a spike; this often signals absorption and continuation.
- Combine volume signals with candlestick patterns (e.g., engulfing, pin bars) to refine entries.
Example 1 : Breakout buy in NQ with volume spike. (1.5x SMA)
Example 2 : Break & retest buy in NQ with low volume
Example 3 : Reversal play on NQ. Low volume when retesting FVG => Serve as iFVG support zone
The real edge comes from layering volume analysis with price structure, liquidity zones, and market timing.
版本注释
Chart Update开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。