Skip to main content

Command menu

Jump to a page or search the catalog

Code Snippets

SOFLMARKET Relative Volume

Relative volume for TradingView with same-hour RVOL, z-score, volume regime, A/D, pressure score, MTF table and alerts.

$79.00

What you get: 3 files · 41.35 KB · TXT

See purchase options

Product description

What it is

SOFLMARKET Relative Volume is a Pine Script v6 indicator for TradingView. It compares the current bar volume with a benchmark and shows how unusual it is.

The benchmark can be a rolling average of the last N bars, or the average volume of the same hour of the day over the last N trading days. The indicator shows RVOL, a z-score, a volume regime (normal, elevated, spike, extreme), an accumulation / distribution ratio and a 0-100 volume pressure score.

It is built for traders who want to know, at a glance, whether the current volume is normal for this time of day, above its recent norm, or a genuine spike - and whether recent volume is dominated by up bars or down bars.

What is inside

Average

  • Rolling: the last 20 bars by default (5-500).
  • Same hour: the same hour of the day over the last 20 trading days by default (5-100), with a configurable timezone.
  • The same-hour benchmark excludes the current day, so the current bar cannot affect its own benchmark.
  • On daily and higher timeframes the same-hour mode falls back to the rolling average.

Volume

  • Volume or dollar volume (volume x typical price).
  • On FX/CFD the volume is tick volume; dollar volume is tick volume x price.

Z-score and regime

  • Z-score: standard deviations from the benchmark.
  • Regime: NORMAL, ELEVATED, SPIKE, EXTREME. The three thresholds are sorted automatically, so the regime is always consistent.

Accumulation / Distribution

  • Share of volume traded on up bars versus down bars over a 5-500 bar window.
  • ACC / DIST / NEU with an adjustable threshold.
  • A bar-direction approximation, not exchange delta.

Volume pressure score

  • 0-100 from RVOL (40), z-score (30) and A/D imbalance (30), with a letter grade A/B/C/D.
  • Descriptive, not a buy/sell signal.

Multi-timeframe table

  • Rolling RVOL on four timeframes (default 1H, 4H, 1D, 1W).
  • Lookahead disabled: the values update when the higher timeframe closes.

Visuals

  • Volume columns coloured by regime: normal, elevated, spike, extreme.
  • Average line, spike label and last-bar chip.
  • Compact 2 x 10 panel: RVOL, average, z-score, regime, A/D, volume, average 20/50/200, pressure, last spike, thresholds.
  • MTF table in a separate 2 x 5 table, movable to nine positions.

What you get

  • SOFLMARKET Relative Volume.txt - Pine Script v6 source code (v2.0.0)
  • README.txt - installation, every input with defaults, calculations, alerts and FAQ
  • LICENSE.txt - SOFLMARKET Commercial Licence v1.0

Requirements

  • A TradingView account with Pine Script v6 support.
  • No external libraries: the script is fully self-contained.

Installation

  1. Download the product files.
  2. In TradingView open the Pine Editor.
  3. Paste the supplied source into a new script.
  4. Save it and click "Add to chart".
  5. Pick the average mode: Rolling or Same hour.

Alerts

  • RVOL above elevated
  • RVOL above spike
  • RVOL above extreme
  • Z-score above threshold
  • A/D state flip
  • Pressure grade A
  • RVOL reset below elevated

Notes

  • Works on any timeframe. Same-hour mode is designed for intraday charts; on daily and higher it falls back to rolling.
  • Some FX and CFD feeds report tick volume, not exchange volume. The indicator uses what the feed provides.
  • Some symbols have no volume at all. The panel shows NO DATA for those.
  • The A/D ratio is an approximation from the bar direction. It is not footprint data and not exchange delta.
  • The pressure score is descriptive. It does not predict prices and is not a buy/sell recommendation.
  • The indicator visualises volume data. It does not predict prices and does not promise results. Trading leveraged instruments carries a high risk of loss. Past performance is not indicative of future results. This is not financial advice.

Changelog

v2.0.0 - 21.11.2026 - First release.

What you get

3 files · 41.35 KB

  • LICENSE.txtTXT · 4.14 KB
  • README.txtTXT · 13.4 KB
  • SOFLMARKET Relative Volume.txtTXT · 23.81 KB
LicensePersonal use only
PublishedNov 21, 2026
File size41.35 KB
File formatTXT
Versionv1.0

Tags

tradingviewpine scriptrelative volumervolvolumevolume indicatorz scoretrading tool
S
SOFLMARKET

Frequently asked questions

Do I get access instantly?

Yes. This is a digital product - you can download it right after checkout, straight from your library.

Can I use it for commercial projects?

Personal use only. Use it for yourself - not in work you sell or hand to a client - and do not resell or redistribute the file.

What's your refund policy?

You can request a refund within 30 days. If something isn't right, request it from your order and the Getly team reviews it.

What file formats and sizes will I get?

You'll download 3 files - TXT - 41.35 KB in total.

Do I get free updates?

Yes - when the seller ships a new version, you can re-download the latest files from your library at no extra cost. Check the changelog for recent updates.

Price

$79.00