OPEN-SOURCE SCRIPT
Updated

RVOL (Relative Volume) + Breakout Confirmation

656
AI generated indicator that does the following:

  1. RVOL: computes a baseline average volume with ta.sma(volume, rvolLen).
  2. Relative volume: rvol = volume / avgVol.
  3. Breakout: checks if price breaks the previous rangeLen bars’ high/low (using [1] to exclude the current bar).
  4. Confirmation: breakout is only “valid” when rvol >= rvolThresh (default 1.8).
Release Notes
* Adding default colors

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.