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
TylerG FVG BB Reversal tracks FVGs that print outside the upper or lower Bollinger Bands and counts them toward an alert threshold. Signals trigger upon gap mitigation (by touch, cross, or close) or when the price closes back inside the bands. It plots the Bollinger Bands, dynamic FVG boxes, and expiry levels directly on the price chart, alongside an optional multi-timeframe status dashboard.
Fair Value Gap detection outside Bollinger Bands
Configurable FVG mitigation rules and expiry periods
Threshold-based reversal trigger options
Multi-timeframe monitoring dashboard
Bar confirmation toggle to prevent live repainting
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Length
int
50
bbLength
Basis MA Type
string
EMA
bbMAType
Source
source
close
bbSource
StdDev
float
2.0
bbStdDev
Offset
int
0
bbOffset
Show Bullish FVGs Outside BB
bool
true
showBullishFVG
Show Bearish FVGs Outside BB
bool
true
showBearishFVG
FVG Count for Signal
int
3
fvgThreshold
FVG Mitigation Type
string
Close Through
mitigationType
Signal Trigger
string
On FVG Mitigation
signalType
Reset Count on Signal
bool
true
resetOnSignal
Require Consecutive FVGs
bool
true
requireConsecutive
Show all 34 settings
Setting
Type
Default
Variable
FVG Expiry (Bars)
int
15
fvgExpiryBars
Show Expiry Zone
bool
true
showExpiryZone
Wait for Bar Confirmation
bool
true
waitForConfirmation
Bullish FVG
color
color.new(color.green, 80)
bullishFVGColor
Bearish FVG
color
color.new(color.red, 80)
bearishFVGColor
BB Upper Band
color
color.new(color.blue, 0)
bbUpperColor
BB Middle Band
color
color.new(color.gray, 0)
bbMiddleColor
BB Lower Band
color
color.new(color.blue, 0)
bbLowerColor
Enable Alerts
bool
true
enableAlerts
Show Dashboard
bool
true
showDashboard
Dashboard Position
string
Top Right
dashboardPosition
Enable Timeframe 1
bool
true
enableTF1
Timeframe 1
timeframe
5
tf1
Enable Timeframe 2
bool
true
enableTF2
Timeframe 2
timeframe
15
tf2
Enable Timeframe 3
bool
true
enableTF3
Timeframe 3
timeframe
60
tf3
Enable Timeframe 4
bool
false
enableTF4
Timeframe 4
timeframe
240
tf4
Enable Timeframe 5
bool
false
enableTF5
Timeframe 5
timeframe
D
tf5
Enable Multi-Timeframe Alerts
bool
true
enableMTFAlerts
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 Pine Script indicator overlays institutional liquidity levels on the price chart. It identifies order block levels using pivot highs and lows, then draws mean reversion lines from the 20 and 50 period simple moving averages, a volatility range midpoint pr
Leptokurtic Directional Bias is an overlay indicator that measures kurtosis on a chosen source and marks directional bias on the price chart. The source can be a moving average, ATR, volume, close, or a Bollinger-band trend stop. Bias mode switches among RSI m
Dynamic Extreme Channels & Reversals tracks evolving price highs and lows to plot adaptive channel bands and a midline directly on the price chart. When no new extremes occur within the specified lookback window, the channel boundaries interpolate toward price
This indicator classifies market behavior into momentum, mean-reversion, noise, or mixed regimes. It fuses four statistical predictability sensors—Variance Ratio across multiple horizons, return autocorrelation, Hurst exponent approximation, and fractal effici
The indicator plots ICT displacement candles on the price chart and can switch to retracement scanning. Displacement requires a move larger than a set share of the 14-bar average high-low range, lasting at least a chosen number of bars, with optional close, pr
This indicator plots trade entry and exit signals on the price chart by combining Bollinger Bands with optional filter conditions. It calculates standard Bollinger Bands along with RSI, Aroon, and moving average filters. Reversal signals trigger when price bre