OPEN-SOURCE SCRIPT

Time-Segmented RVOL

78
Time-Segmented RVOL

The Mathematical Flaw in Standard RVOL
Most Relative Volume (RVOL) indicators are built on a "Linear Scaling" hypothesis. They take the daily average and divide it by the number of bars in the day. This fails to account for the "Volume Smile"—the natural tendency for volume to be heavy at the open/close and dry up during mid-day. This leads to "False Highs" every morning and "False Lows" during lunch.

The Solution: Time-Slot Memory
This script uses a high-performance array to create a 20-Day Memory for every specific minute of the trading day.

Contextual Comparison: It compares the current 10:30 AM bar only to the previous twenty 10:30 AM bars.

Pre-Market Precision: Because it compares 4:00 AM volume to historical 4:00 AM volume, it can spot "early-bird" runners hours before the opening bell, identifying unusual interest when total volume is still low.

The Coherent Momentum Tiers
We have organized the color logic into four distinct, logical tiers to assist in rapid decision-making:

Cold (Blue): RVOL < 1.0. Volume is below the historical average for this specific time slot.

Building (Green): RVOL 1.0 – 3.0. Active participation. The stock is "Awake" and moving with healthy, sustainable interest.

High Intensity (Yellow): RVOL 3.0 – 5.0. Extreme interest. The trade is becoming "crowded"; look for increased volatility.

Parabolic/Super High (Pink): RVOL > 5.0. Massive abnormality (5x+ normal volume). Common in small-cap "pumpers" and major institutional news events.

Trading Strategy: Spotting the "In-Play" Runner
The Awake Signal: Watch for a transition from Blue to Green. This confirms the ticker is "in-play" relative to its own 20-day history.

The Breakout: Look for Yellow or Pink bars accompanied by a price breakout from a consolidation zone. High RVOL confirms the move has real conviction.

Exhaustion (White X): The script includes built-in divergence tracking. If the price makes a new high but the RVOL bars are shrinking, a "White X" will appear. This suggests "Volume Exhaustion"—the fuel is running out.

Settings
Lookback (Days): Default is 20. This acts as a "Truth Filter" to ensure the baseline remains grounded in long-term reality rather than chasing short-term noise.

Custom Thresholds: Fully adjustable levels for the Green, Yellow, and Pink tiers to suit different asset classes (Small-caps vs. Mega-caps).

כתב ויתור

המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.