1Copy the scriptPress Copy script above, or the copy button on the code below.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.
Source Code
117 lines of Pine Script v6 from individual_scripts/pvsr_volume_.pine, published under MPL-2.0 (file header). Keep the author's credit and licence lines when you reuse it.
PVSR Volume MP highlights climax volume, above-average volume, and regular volume based on configurable lookback windows and multipliers. The script plots a volume moving average line alongside threshold levels for visual reference. Key settings allow users to adjust lookback periods, multiplier thresholds, volume MA lengths, and color themes.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
🔘 MASTER: Show Volume Panel
bool
true
master_show_volume
Show Volume Moving Average
bool
true
show_volume_ma
Volume MA Length
int
20
volume_ma_length
Volume MA Color
color
color.blue
col_volume_ma
Show Threshold Lines
bool
true
show_thresholds
Above-Average Threshold
color
color.new(color.yellow, 50)
col_aboveavg
Climax Threshold
color
color.new(color.red, 50)
col_climax
Climax Volume ×
float
2.0
climax_mult
Above-Average Volume ×
float
1.5
aboveavg_mult
Volume Lookback (bars)
int
10
vol_lookback
Exclude current bar from lookback
bool
true
pvsr_exclude_current
Use volume × spread climax leg
bool
true
pvsr_use_spread_leg
Show all 18 settings
Setting
Type
Default
Variable
Red Vector Candle
color
color.rgb(255, 82, 82)
red_vector_color
Green Vector Candle
color
color.rgb(76, 175, 80)
green_vector_color
Violet Vector Candle
color
color.rgb(156, 39, 176)
violet_vector_color
Blue Vector Candle
color
color.rgb(33, 150, 243)
blue_vector_color
Regular Down Candle
color
color.rgb(100, 100, 100)
dark_grey_candle_color
Regular Up Candle
color
color.rgb(169, 169, 169)
light_gray_candle_color
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.
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
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
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
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
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
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