OPEN-SOURCE SCRIPT
Intraday Cumulative Volume Ratio

This indicator is designed to reveal the true order flow dominance from the start of the trading session. Unlike standard oscillators, it calculates the exact ratio between cumulative buying and selling volume using high-precision intrabar data.
It answers a simple question: "How many times stronger is the buying pressure compared to selling pressure (or vice versa) since the market opened?"
Key Features:
Zero-Based Ratio:
0.0 = Perfectly balanced market (1:1).
+1.0 = Buyers have 2x more volume than sellers.
+2.0 = Buyers have 3x more volume than sellers.
Negative values indicate seller dominance.
Intrabar Precision: Uses lower timeframe data (e.g., 1-minute) to look inside higher timeframe candles for accurate volume classification.
"Market Fuel" Filter: Helps identify stocks with sufficient momentum at the open. If the ratio stays low (near 0), the stock lacks the "fuel" for a sustained move.
Clamp Function: Includes a built-in limiter (default 3.0) to prevent chart distortion caused by extreme volume anomalies at the market open.
How to use:
Settings:
It answers a simple question: "How many times stronger is the buying pressure compared to selling pressure (or vice versa) since the market opened?"
Key Features:
Zero-Based Ratio:
0.0 = Perfectly balanced market (1:1).
+1.0 = Buyers have 2x more volume than sellers.
+2.0 = Buyers have 3x more volume than sellers.
Negative values indicate seller dominance.
Intrabar Precision: Uses lower timeframe data (e.g., 1-minute) to look inside higher timeframe candles for accurate volume classification.
"Market Fuel" Filter: Helps identify stocks with sufficient momentum at the open. If the ratio stays low (near 0), the stock lacks the "fuel" for a sustained move.
Clamp Function: Includes a built-in limiter (default 3.0) to prevent chart distortion caused by extreme volume anomalies at the market open.
How to use:
- Identify Trend Strength: Look for values above +2.0 (or below -2.0) to confirm strong directional conviction.
- Filter Weak Stocks: If the indicator hovers around 0, avoid trading as there is no clear order flow advantage.
- Spot Divergences: If price makes a new high but the Ratio makes a lower high, the buying pressure is fading relative to selling pressure.
Settings:
- Reset Period: Default is Daily (D).
- Analytical Timeframe: Set to 1 (minute) for best accuracy.
- Clamp Limit: Default is 3.0 to keep the chart readable.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.