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
OBV Signal Confluence plots an OBV histogram against a moving average chosen from SMA, RMA, WMA or VWMA and marks regular and hidden divergence from pivots. Optional filters use a higher-timeframe confirmation, ADX and a volume multiple. Trade levels can be drawn with an ATR-based stop and three risk-reward targets. Other options are heat-colored candles, a dashboard and configurable alert text for webhook use.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Src
source
close
srcInput
MA Type
string
SMA
maTypeInput
MA Len
int
21
maLenInput
Div Piv
int
5
divLenInput
HTF Confirm
bool
false
useHtfInput
HTF
timeframe
60
htfInput
ADX Filter
bool
false
useAdxInput
ADX Len
int
14
adxLenInput
ADX Min
float
20.0
adxMinInput
Vol Filter
bool
false
useVolInput
Vol Mult
float
1.0
volMultInput
Trade Levels
bool
true
showLevelsInput
Show all 40 settings
Setting
Type
Default
Variable
ATR Len
int
14
atrLenInput
SL ATRx
float
1.5
slMultInput
TP1 RR
float
1.0
tp1RrInput
TP2 RR
float
2.0
tp2RrInput
TP3 RR
float
3.0
tp3RrInput
Hist
bool
true
showHistInput
Zero Ln
bool
true
showZeroInput
Div Sig
bool
true
showDivInput
Hid Div Sig
bool
true
showHidDivInput
Heat Candles
bool
true
showCandlesInput
Show Dash
bool
true
showDashInput
Pos
string
Top Right
dashPosInput
↑ Long
string
long
i_actionLong
↓ Short
string
short
i_actionShort
✕ ClsLong
string
closelong
i_actionCloseLong
✕ ClsShort
string
closeshort
i_actionCloseShort
◆ TP1
string
tp1
i_actionTp1
✦ TP2
string
tp2
i_actionTp2
◆ TP3
string
tp3
i_actionTp3
Hist+
color
color.new(#26a69a, 40)
histUpColorInput
Hist+W
color
color.new(#26a69a, 75)
histUpWeakColorInput
Hist-W
color
color.new(#ef5350, 75)
histDnWeakColorInput
Hist-
color
color.new(#ef5350, 40)
histDnColorInput
Zero
color
color.new(#787b86, 50)
zeroColorInput
BullDiv
color
#26a69a
bullDivColorInput
BearDiv
color
#ef5350
bearDivColorInput
SL
color
#ef5350
slColorInput
Entry
color
#2196f3
entryColorInput
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.
Oscillator Suite plots a normalised price oscillator in a separate pane and overlays a signal line that can use SMA, EMA, WMA, HMA, RMA, VWMA, T3, ZEMA, KAMA, or GKEMA. It marks bullish and bearish divergences, a smoothed money-flow series, confluence areas an
This indicator plots the Money Flow Index in a separate pane and marks regular and hidden bullish and bearish divergences between price pivots and the oscillator. It builds the index from positive and negative money flow, then finds pivot highs and lows using
This indicator plots a smoothed Z-score of cumulative volume delta in a separate pane, showing whether buying or selling pressure is dominant and when the reading enters extreme zones. It marks spot accumulation, climax or exhaustion, and pivot-based price-vol
This indicator plots a heuristic volume-balance oscillator in a separate pane. It estimates signed volume from the close location inside each bar, multiplies that by volume, and sums the proxy over a rolling window. The sum is scaled between minus one and plus
This indicator is an oscillator suite inspired by Market Cipher B and VuManChu Cipher B that plots in a separate pane. It combines a WaveTrend oscillator, a Money Flow Index (MFI) area, and an RSI indicator with automatic divergence detection. Visual signals h
QPulse is a multi-factor indicator that draws in a separate pane to evaluate market momentum, volume flow, and volatility dynamics. It calculates volume delta, a cumulative delta proxy, advanced adaptive ATR, and a hybrid volume-weighted RSI with overbought an