This indicator detects and draws the first Fair Value Gap (FVG) that forms in each hourly session based on a selected lower timeframe, with specialized handling for Regular Trading Hours (RTH) confluence windows.
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
Every Hour 1st FVG with Stats - RTH Confluence draws FVG range boxes, midpoint lines, hourly open levels, and statistical price range projections directly on the main chart. An interactive table summary displays session statistics. Settings allow traders to adjust detection resolutions, custom color themes for RTH versus regular gaps, range calculations, and table positioning.
First hourly Fair Value Gap detection
Regular Trading Hours window confluence tracking
Hourly open lines and statistical range projections
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
FVG Timeframe
string
5
ltfResolution
Bullish FVG Color
color
color.new(#05f3bf, 75)
bullColor
Bearish FVG Color
color
color.new(#e903a4, 75)
bearColor
RTH Bull FVG Color
color
color.new(#00bfff, 60)
rthBullColor
RTH Bear FVG Color
color
color.new(#ff6600, 60)
rthBearColor
Show Midpoint Lines
bool
true
showMidpoints
Midpoint Line Color
color
color.new(color.black, 0)
midpointColor
Midpoint Line Style
string
Solid
midpointStyle
Table Position
string
Top Right
tablePosition
Table Text Size
string
Small
tableTextSize
Show Hourly Lines
bool
true
showHourlyLines
Show Hour Delimiter
bool
true
showDelimiter
Show all 26 settings
Setting
Type
Default
Variable
Delimiter Color
color
color.new(color.gray, 50)
delimiterColor
Delimiter Width
int
1
delimiterWidth
Show Hourly Open
bool
true
showOpenLine
Open Line Color
color
color.new(color.blue, 0)
openLineColor
Open Line Width
int
1
openLineWidth
Open Line Style
string
Dashed
openLineStyle
Show Range Lines
bool
true
showRangeLines
Range Statistic
string
Mean
rangeStatistic
Range High Color
color
color.new(color.teal, 20)
rangeHighColor
Range Low Color
color
color.new(color.red, 20)
rangeLowColor
Range Line Width
int
2
rangeLineWidth
Range Line Style
string
Dashed
rangeLineStyle
Show Line Labels
bool
true
showLineLabels
Label Text Size
string
Small
labelTextSize
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.
The Golden Bullet Strategy is an overlay signal indicator based on Smart Money Concepts and time-based liquidity models. It identifies liquidity sweeps of a designated reference session range during a specified hunt window. It then confirms Market Structure Sh
Indicatorv6SMC / ICT / price actionSessions & time
This indicator identifies Break of Structure (BOS) and Market Structure Shift (MSS) zones, plotting automated bracket levels on the price chart. It triggers signals when a reversal breaks a swing point formed inside an opposing zone, projecting stop loss and t
MyTTFM - Clean draws a higher-timeframe candle overlay on the price chart and marks related ICT fractal structure. It plots configurable HTF candles, period separator lines, midpoint levels, a T-Spot box, and labels for recent C2 and C3 patterns plus swept lev
Apex Protocol Assistant is a Smart Money Concepts indicator designed for session-based trading. It determines market direction using a higher timeframe Exponential Moving Average and highlights Asian range boundaries alongside London and New York killzones. Th
Indicatorv5SMC / ICT / price actionSessions & time
This overlay indicator researches multi-timeframe setup zones for NQ and ES futures on the price chart. It builds chart, five-minute through four-hour zones, including transformed IFVG and BB zones, scores them, and tracks liquidity pools and structure. During
The BTMM Entry System is a price-chart overlay indicator based on the Beat the Market Maker methodology. It detects Optimal Trade Entry (OTE) second-leg patterns and Fibonacci zones, combined with multi-factor confluence analysis including EMA alignments, sess