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
Fib Golden Wave + VWAP Divergence + RSI (Kernel Optimized) identifies high and low swing points to overlay key Fibonacci retracement levels directly on the main price chart. Concurrently, it evaluates volume-weighted average price deviation and RSI pivots to signal momentum divergences. Users can customize swing lookback ranges, Fibonacci zone thresholds, VWAP anchor periods, RSI settings, and kernel bandwidth parameters.
Fibonacci Golden Zone retracement level plotting
VWAP divergence detection with ATR multipliers
Kernel-optimized RSI pivot and threshold detection
Configurable anchor periods and swing lookback ranges
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Swing Range
int
20
pivotRange
Use Pivots
bool
false
Use Pivots
fibArea1
float
0.5
fibArea1
-
float
0.618
fibArea2
Golden Zone Lines
color
color.new(color.yellow,80)
gzLineColor
Show Area
bool
true
showArea
gzAreaColor
color
color.new(color.yellow,90)
gzAreaColor
Text Size
string
Normal
textSizeFib
textColorFib
color
color.new(color.white,30)
textColorFib
Hide VWAP on 1D or Above
bool
false
hideonDWM
Lookback Period
int
5
divergenceLookback
ATR Multiplier
float
3
divergenceATRmultiplier
Show all 40 settings
Setting
Type
Default
Variable
VWAP down color
color
color.red
bearishColorVWAP
VWAP up color
color
color.lime
bullishColorVWAP
Trend Coloring
bool
true
alternateColor
Show VWAP
bool
true
showVWAP
Divergence Plot Size
string
Normal
divergence_plot_size_input
Anchor Period
string
Session
anchor
Source
source
hlc3
src
Offset
int
0
offset
Bearish divergence alerts
bool
true
bearishAlertSignal
Bullish divergence alerts
bool
true
bullishAlertSignal
RSI Length
int
14
rsiLengthInput
Source
source
close
rsiSourceInput
High Pivot Length
int
21
highPivotLen
Low Pivot Length
int
21
lowPivotLen
[DBG] Real Pivot Labels
bool
false
[DBG] Real Pivot Labels
[DBG] KDE Pivot Labels
bool
false
[DBG] KDE Pivot Labels
Activation Threshold
string
Medium
activationThresholdStr
Kernel
string
Gaussian
KDEKernel
Bandwidth
float
2.71828
KDEBandwidth
Nº Bins
int
100
KDEStep
[DBG] Activation Threshold
float
0.25
[DBG] Activation Threshold
[DBG] Probability Mode
string
Sum
[DBG] Probability Mode
[DBG] KDE Min Padding
bool
false
[DBG] KDE Min Padding
Dashboard
bool
true
tableEnabled
Position
string
Top Right
tableLocation
Background
color
#1B1F2B
screenerColor
Frame
color
color.rgb(255,255,255)
frameColor
Border
color
color.rgb(255,255,255)
borderColor
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 indicator collection calculates and plots previous daily high and low price levels on the chart to identify potential supply and demand zones. It includes real-time intraday high and low calculations, RSI divergence detection across a customizable period
This indicator identifies regular and hidden divergences across up to ten technical oscillators simultaneously, including RSI, MACD, Stochastic, CCI, Momentum, OBV, VW-MACD, CMF, MFI, and an external source. It plots divergence lines and text labels directly o
This indicator calculates pivot high and pivot low points on the price chart based on configurable left and right bar counts. Confirmed pivot highs and lows are plotted with negative bar offsets directly on the price chart using line and cross styles. Addition
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 overlay indicator marks CALLS and PUTS labels on the price chart when a strict boolean gate of price structure, momentum, volatility, breadth, and candle confirmation all pass. It plots an EMA ribbon with cloud fill, session-anchored VWAP and standard-dev
This script provides an indicator-based backtesting engine framework that simulates trade entries, exits, and filtering directly on the price chart. It evaluates selected entry rules and multi-layered filters, including moving average trends, volume increases,