1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
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
The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.
Overview
combination by yzz builds a histogram of recent volume across price rows, marks the point of control, and can show a rolling point of control. It also scans pivots for regular divergences on MACD, the MACD histogram, RSI, Stochastic, CCI, Momentum, OBV, volume-weighted MACD, and Chaikin Money Flow, and draws lines, labels, and optional pivot marks. Lookback, row count, width, colors, pivot period, and which oscillators to include are adjustable. With confirmation turned off by default, divergence marks can change before a pivot is confirmed.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Lookback
int
500
vp_length
Row Size
int
200
vp_row
Show Rolling POC
bool
false
show_rpoc
Width (% of the box)
int
50
vp_width
Bar Width
int
2
bar_vp_width
Flip Histogram
bool
false
vp_flip
Gradient
bool
true
vp_grad
Rows Solid Color
color
#2157f3
vp_solid
POC Solid Color
color
#ff5d00
poc_color
Pivot Period
int
5
prd
Source for Pivot Points
string
Close
source
Divergence Type
string
Regular
searchdiv
Show all 40 settings
Setting
Type
Default
Variable
Show Indicator Names
string
Full
showindis
Minimum Number of Divergence
int
1
showlimit
Maximum Pivot Points to Check
int
10
maxpp
Maximum Bars to Check
int
100
maxbars
Show Divergence Number
bool
true
shownum
Show Only Last Divergence
bool
false
showlast
Don't Wait for Confirmation
bool
true
dontconfirm
Show Divergence Lines
bool
true
showlines
Show Pivot Points
bool
false
showpivot
MACD
bool
true
calcmacd
MACD Histogram
bool
true
calcmacda
RSI
bool
true
calcrsi
Stochastic
bool
true
calcstoc
CCI
bool
true
calccci
Momentum
bool
true
calcmom
OBV
bool
true
calcobv
VWmacd
bool
true
calcvwmacd
Chaikin Money Flow
bool
true
calccmf
Money Flow Index
bool
true
calcmfi
Check External Indicator
bool
false
calcext
External Indicator
source
close
externalindi
Positive Regular Divergence
color
color.yellow
pos_reg_div_col
Negative Regular Divergence
color
color.navy
neg_reg_div_col
Positive Hidden Divergence
color
color.lime
pos_hid_div_col
Negative Hidden Divergence
color
color.red
neg_hid_div_col
Positive Divergence Text Color
color
color.black
pos_div_text_col
Negative Divergence Text Color
color
color.white
neg_div_text_col
Regular Divergence Line Style
string
Solid
reg_div_l_style_
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.
This overlay indicator draws a Fibonacci golden zone between two selectable ratios based on swing pivots. It plots an anchored VWAP that can be hidden on daily and higher charts and colored by trend. Divergence markers compare price with VWAP using a lookback
The indicator plots volume power zones on the price chart using lower timeframe data. It divides recent candles into multiple zones and computes a weighted probability of strong or weak buy or sell signals. The probability combines momentum strength, accelerat
This overlay indicator marks call and put setups from EMAs, RSI, MACD, and a SPY volume ratio. A call needs higher highs, RSI above its minimum, rising MACD, above-average proxy volume, and a rising trend EMA; a put reverses those tests. Early markers use an E
This indicator detects regular and hidden divergences across multiple technical factors plotted directly on the price chart. It evaluates price highs and lows against peaks and troughs identified by a five-bar fractal mechanism on RSI, RSI Stochastic, MACD, re
This indicator marks RSI divergences only when price trades beyond daily VWAP standard-deviation bands. It compares recent RSI extremes with price highs and lows over a lookback window, and it treats a divergence as valid only while RSI stays beyond overbought
This indicator builds a momentum score from the rate of change of close, using a lookback that expands or contracts with ATR relative to its standard deviation. It divides that rate of change by price standard deviation, scales the result, and weights it by vo