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
Key Intraday Levels identifies and displays previous session ranges, previous opens, and daily and weekly reference points, including Previous Day High/Low (PDH/PDL) and Previous Week High/Low (PWH/PWL). Users can customize the reference timezone, line styling, extension lengths, label positions, and display behavior once levels are swept.
Plots Previous Day High and Low (PDH/PDL)
Plots Previous Week High and Low (PWH/PWL)
Displays historical session ranges and open prices
Configurable timezone and horizontal line extension
Customizable labels, line styles, and taken-level extensions
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Timezone
string
America/New_York
tz
Show Previous Sessions
int
1
prev_days
Show Previous Opens
int
1
prev_opens
Box Border Style
string
Dotted
bsty_in
Box Border Width
int
1
bw_in
H-Line Extension (bars)
int
5
extend_bars
Show Labels
bool
true
show_dw_labels
PDH
bool
true
show_pdh
pdh_col
color
color.new(#2196F3, 0)
pdh_col
pdh_sty_in
string
Solid
pdh_sty_in
pdh_w
int
1
pdh_w
pdh_lbl
string
PDH
pdh_lbl
Show all 40 settings
Setting
Type
Default
Variable
PDL
bool
true
show_pdl
pdl_col
color
color.new(#F44336, 0)
pdl_col
pdl_sty_in
string
Solid
pdl_sty_in
pdl_w
int
1
pdl_w
pdl_lbl
string
PDL
pdl_lbl
PWH
bool
true
show_pwh
pwh_col
color
color.new(#2196F3, 0)
pwh_col
pwh_sty_in
string
Dashed
pwh_sty_in
pwh_w
int
1
pwh_w
pwh_lbl
string
PWH
pwh_lbl
PWL
bool
true
show_pwl
pwl_col
color
color.new(#F44336, 0)
pwl_col
pwl_sty_in
string
Dashed
pwl_sty_in
pwl_w
int
1
pwl_w
pwl_lbl
string
PWL
pwl_lbl
Extend after taken (Candles)
int
0
dw_grace
Show Price in Label
bool
true
dw_show_price
Label Position
string
Right
dw_lbl_pos
Midnight Open
bool
true
show_mid
mid_col
color
color.new(#424242, 0)
mid_col
mid_sty_in
string
Dotted
mid_sty_in
mid_w
int
1
mid_w
H-Line
bool
true
show_mid_h
8:30 Open
bool
false
show_830
col_830
color
color.new(#616161, 0)
col_830
sty_830_in
string
Dotted
sty_830_in
w_830
int
1
w_830
H-Line
bool
false
show_830_h
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 overlays options gamma-exposure levels, session VWAP bands, and intraday market structure tools directly on the price chart. It provides three modular components: strike walls with standard deviation bands and opening ranges, a gamma regime engi
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. It draws FVG range boxes, midpoint lines, hourl
This indicator combines six trading tools into a single chart overlay to optimize indicator limits. It calculates Bollinger Bands, projects weekend price boundaries, plots market structure elements like order blocks, breaker blocks, and MSB lines, marks New Yo
This indicator highlights Inner Circle Trader (ICT) killzones and key session pivot points directly on the price chart. It projects shaded boxes for specific trading sessions, including Asia, London, NY AM, NY Lunch, and NY PM, to help traders identify high-li
Indicatorv5SMC / ICT / price actionSessions & time
Bandz Session Ranges + ORG + Opening Prices plots trading session ranges, killzones, opening RTH gaps, standard deviation projections, and key opening prices directly on the price chart. It calculates gap ranges based on prior regular trading hours close sourc