Indicator · Pine Script v6 · Own pane

VSA Wyckoff Volume

by DEVfancybear

The VSA Wyckoff Volume indicator plots volume columns in a separate pane, color-coded by their relative intensity compared to a moving average of volume.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code28
Settings7inputs
LicenceMIT
Last update7 weeks ago8 Sep 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above, or the copy button on the code below.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

28 lines of Pine Script v6 from backend/internal/pineruntime/sources/vsa.pine, published under MIT. Keep the author's credit and licence lines when you reuse it.

vsa.pine
//@version=6
indicator(title = "VSA Wyckoff Volume", shorttitle = "VSA Wyckoff Volume", format = format.volume)

showMA = input.bool(defval = false, title = "Show Volume Moving Average")
lengthVolumeMA = input.int(defval = 20, title = "Length of MA applied on Volume", minval = 1)
ratioUltraVolume = input.float(defval = 2.2, title = "Ultra High Volume Ratio")
ratioVeryHighVolume = input.float(defval = 1.8, title = "Very High Volume Ratio")
ratioHighVolume = input.float(defval = 1.2, title = "High Volume Ratio")
ratioNormalVolume = input.float(defval = 0.8, title = "Normal Volume Ratio")
ratioLowVolume = input.float(defval = 0.4, title = "Low Volume Ratio")

float volumeMA = 0
volumeMA := nz(volumeMA[1]) + (volume - nz(volumeMA[1])) / lengthVolumeMA
ultraHighVolumeMin = volumeMA * ratioUltraVolume
veryHighVolumeMin = volumeMA * ratioVeryHighVolume
highVolumeMin = volumeMA * ratioHighVolume
normalVolumeMin = volumeMA * ratioNormalVolume
lowVolumeMin = volumeMA * ratioLowVolume

volUltraHigh = volume >= ultraHighVolumeMin
volVeryHigh = volume >= veryHighVolumeMin and volume < ultraHighVolumeMin
volHigh = volume >= highVolumeMin and volume < veryHighVolumeMin
volNormal = volume >= normalVolumeMin and volume < highVolumeMin
volLow = volume >= lowVolumeMin and volume < normalVolumeMin
palette = volUltraHigh ? color.purple : volVeryHigh ? color.red : volHigh ? color.orange : volNormal ? color.green : volLow ? color.blue : color.silver

plot(volume, "Volume", palette, 1, plot.style_columns)
plot(showMA ? volumeMA : na, "Volume MA", color.green, 2, plot.style_line)

Overview

VSA Wyckoff Volume categorizes volume into ultra high, very high, high, normal, and low levels based on configurable ratio multipliers. Users can optionally toggle an overlaid volume moving average line to visually filter volume spikes and evaluate market effort behind price action.

Details

Published by

DEVfancybear on GitHub

Type

Indicator, Pine Script v6

Draws

Separate pane below the chart

Category

Volume

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Topics

tradingviewalgorithmic-tradinggolangmarket-replaymetatrader5mt5nextjspostgresqlreactrisk-management

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Show Volume Moving AverageboolfalseshowMA
Length of MA applied on Volumeint20lengthVolumeMA
Ultra High Volume Ratiofloat2.2ratioUltraVolume
Very High Volume Ratiofloat1.8ratioVeryHighVolume
High Volume Ratiofloat1.2ratioHighVolume
Normal Volume Ratiofloat0.8ratioNormalVolume
Low Volume Ratiofloat0.4ratioLowVolume
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

Money Flow Index

by everget
948 stars

Calculates the standard Money Flow Index (MFI) oscillator alongside an exponential moving average signal line in a separate pane. The script visually highlights trend conditions through dynamic ribbon filling, optional difference histogram bars, and overbought

Indicator v4 Oscillators & momentumVolume
Updated 10 days ago · GPL-3.0 GitHub repository of Money Flow Index

This indicator plots a Supertrend-based trend-following setup in a separate pane and skips conditions it treats as a sideways market. A volatility range is built from an ATR value, with RMA, SMA, EMA, or WMA smoothing, or from a fixed point distance. Optional

Indicator v5 TrendVolatility & bands
Updated 1 year ago · MPL-2.0 GitHub repository of Trend Following Setup - Sideways Market Skipper
549 stars

Range Volume Change compares volume inside a chosen session window with the same window on the previous day and plots that change as a percentage. It accumulates volume during the window and, when enabled, volume outside it, drawing growing columns in a separa

Indicator v5 VolumeSessions & time Repaints
Updated 10 months ago · None stated GitHub repository of Range Volume Change
257 stars

This indicator builds a footprint of estimated buy and sell volume across price rows and plots it in a separate pane. It fills rows from bar low to high, stores volume per row, and draws buy and sell volume boxes, volume-profile boxes, row labels, and cumulati

Indicator v5 Volume Repaints
Updated 6 weeks ago · None stated GitHub repository of Footprint Delta Lite

Commitment Gauge

by harryguiacorn
219 stars

This indicator measures directional momentum by evaluating candlestick body proportions and volume over a user-defined lookback window. It computes the ratio of candle body to total range, weights the cumulative value by volume and absolute body size, and dete

Indicator v4 VolumeCandlestick patterns
Updated 1 year ago · None stated GitHub repository of Commitment Gauge

Aggregate Signal

by capissimo
114 stars

This indicator builds an aggregate oscillator in a separate pane. It scales open, high, low, close, and volume into a 0 to 1 range, then averages scaled readings from MACD, a MACD histogram, RSI, stochastic, CCI, momentum, OBV, a directional index, volume-weig

Indicator v4 Oscillators & momentumVolume Repaints
Updated 1 year ago · None stated GitHub repository of Aggregate Signal

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers