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
Forex Sessions visualizes Asian, Frankfurt, London, and New York killzones using configurable background boxes, high and low boundary lines, and pip-range labels. Additionally, it plots the New York Midnight open and previous day high and low levels. Users can customize time zones, active session hours, text formatting, and visual styles, or toggle historical session data on and off.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Session time zone
string
UTC+3
sessionZone
Show Pips for sessions
bool
false
isShowPips
Hide Historical data
bool
true
isHideHistory
Text Align
string
left
textAlignInp
Text Size
string
small
textSizeInp
Borders and Lines
string
borders
borderAndLines
Box border size
int
0
borderSize
Border Style
string
solid
borderStyleInp
Hi/Lo lines size
int
2
lineSize
Show New York Midnight
bool
true
iMDisplay
Show Label
bool
true
iMLabel
Line Style
string
Solid
iMStyle
Show all 40 settings
Setting
Type
Default
Variable
Color
color
color.rgb(0, 0, 0, 50)
iMColor
Show PDL/PDH
bool
true
isPdlPdh
Show price info
bool
true
isPdlInfo
Timezone for PDL/PDH
session
0001-2359
pdSessionTime
Line Style
string
dotted
pdLineStyleInp
Line size
int
1
pdLineSize
Line color
color
color.rgb(120, 123, 134)
pdLineColor
Text color
color
color.rgb(120, 123, 134)
pdLabelColor
Show London Session
bool
true
isLondon
London Session time
session
1000-1500
loSessionTime
Background color
color
color.new(#4caf4f, 92)
loBoxColor
Border color
color
color.green
loBorderColor
Line color
color
color.green
loLineColor
Text color
color
color.green
loLabelColor
Show Asia Session
bool
true
isAsia
Asia Session time
session
0200-1000
asSessionTime
Background color
color
color.new(#9598a1, 92)
asBoxColor
Border color
color
color.rgb(149, 152, 161)
asBorderColor
Line color
color
color.rgb(149, 152, 161)
asLineColor
Text color
color
color.rgb(149, 152, 161)
asLabelColor
Show Frankfurt Session
bool
true
isFrankfurt
Frankfurt Session time
session
0900-1000
frSessionTime
Background color
color
color.new(#5b9cf6, 92)
frBoxColor
Border color
color
color.rgb(91, 156, 246)
frBorderColor
Line color
color
color.rgb(91, 156, 246)
frLineColor
Text color
color
color.rgb(91, 156, 246, 100)
frLabelColor
Show New York Session
bool
true
isNewYork
New York Session time
session
1500-2300
nySessionTime
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 builds Market Profile Time Price Opportunity (TPO) structures across defined session timeframes directly on the main price chart. It visualizes the Point of Control (POC) and Value Area boundaries using dynamic box drawings. An integrated multi-
This indicator plots auto trade signals for E-mini S&P 500 futures on the price chart. It computes an EMA200 filter along with day ETH RTH session levels and percentage-based entry zones. Signals trigger CALL or PUT cases when price crosses defined thresholds
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 plots reference levels for previous daily high and low prices directly on the price chart. It requests daily timeframe data using the security function and plots the offset values as continuous lines, displaying resistance in red and support in
This overlay indicator plots option strike walls and an optional session VWAP on the price chart for SPY or ES. It spaces major strikes by the selected instrument, draws a set number of strikes on each side, and marks wall-trap and sweep events after a cooldow
This indicator plots reference levels and session markers directly on the price chart. It calculates and draws lines for the daily open, weekly open, monthly open, previous day OHLC, and previous week extremes, along with a selectable day-of-week range and ini