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
112 lines of Pine Script v6 from individual_scripts/pvsr_candles_.pine, published under MPL-2.0 (file header). Keep the author's credit and licence lines when you reuse it.
PVSR Candles MP classifies each bar as climax volume (colored green or red when volume meets or exceeds average or volume-spread high thresholds), above-average volume (blue or violet), or regular volume (gray). The script draws directly on the price chart with optional vector candle alerts to highlight supply or demand zones. Main settings control master toggles, classification multipliers, lookback periods, current-bar exclusion, and spread-leg climax detection. This provides real-time volume-based market structure visualization without repainting or lookahead.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
🔘 MASTER: Show PVSR Candles
bool
true
master_show_pvsr
Show PVSR Candles
bool
true
show_pvsr_candles
Show Vector Candle Alerts
bool
true
show_vector_alerts
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
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
Show all 14 settings
Setting
Type
Default
Variable
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.
Vector Candles is an overlay indicator that recolors price candles using PVSRA volume rules taken from the Traders Reality concept. It compares each bar's volume with the average of the previous ten bars and also checks the product of spread and volume against
Point-Clip Unified Indicator plots breakout and directional labels on the price chart. It scores volume spikes against a volume average, range or opening-range breaks, optional VWAP or session-anchored VWAP, fast and slow EMA trend, and a higher-timeframe EMA
This indicator identifies unusually large candles and high trading volume directly on the price chart. It checks whether the current bar range exceeds the maximum high-low range over a specified lookback period. If the range breaks the record with volume below
This indicator recolors price candles from recent volume and range. It marks climax bars when current volume times range exceeds the prior ten-bar peak or volume is at least twice a ten-bar average, and rising bars at one and a half times that average. Bullish
This overlay indicator draws rounded psychological price levels and optional PVSRA vector candle colors on the price chart. It plots quarter, half, and whole levels from a user-set rounding value, with separate color, line style, and width for each. Vector col
This indicator detects institutional or large-scale market activity using candle body size and trading volume. It compares current candle bodies against a 20-period simple moving average and checks for volume spikes above an adjustable moving average filter. I