OPEN-SOURCE SCRIPT

HVC + levels

162
Persistent HVC Rays Across All Intraday
Identify and carry forward the open, close, high and low of the highest‑volume daily candle as true horizontal support/resistance levels across every intraday timeframe – including pre‑market and after‑hours.

Description
This indicator automatically detects the single highest‑volume daily bar over your specified lookback period and then plots four persistent horizontal rays at that candle’s open, close, high, and low. Rays are anchored precisely at the New York Stock Exchange’s 09:30 ET bar using IANA timezone timestamps and extend to the right edge of your chart viewport, ensuring they remain visible on 1 min, 5 min, 15 min, hourly, and daily timeframes alike. You can also color intraday high‑volume bars for quick visual context. Store up to Max HVCs of past levels and watch older lines fade, delivering a dynamic volume‑driven support/resistance framework that adapts as new high‑volume days emerge.

Key Inputs

Lookback Period (bars): Number of bars to search for the highest‑volume daily candle.

Max HVCs: Maximum number of past HVC days whose levels remain plotted.

Color Intraday HVC Bars: Toggle to highlight intraday bars that match the highest recent volume.

Plot Persistent Rays: Toggle the horizontal levels on/off for a clean chart.

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.