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
Session Range Candles + 25% Level draws a session candle plus an optional vertical line at the session open, horizontal open, high, mid and low lines, and a 25 percent level of the session range. Users can show or hide each session and each line, and can change colours, styles, widths and label sizes. A stats table group is included. It is not a strategy and has no entries, exits or stop loss.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Session Start (HHMM)
string
1800
asia_start
Session End (HHMM)
string
0200
asia_end
Show Asia Candle
bool
true
asia_enabled
Show Session Open Line
bool
true
asia_vline_show
Line Colour
color
color.new(color.black, 70)
asia_vline_col
Line Style
string
Solid
asia_vline_style
Line Width
int
1
asia_vline_width
Show Label
bool
true
asia_vlabel_show
Label Size
string
tiny
asia_vlabel_size
Show H/M/L/O Lines
bool
true
asia_hml_show
High
bool
true
asia_hml_high
Mid
bool
true
asia_hml_mid
Show all 40 settings
Setting
Type
Default
Variable
Low
bool
true
asia_hml_low
Open
bool
true
asia_hml_open
Line Colour
color
color.new(color.gray, 30)
asia_hml_col
Line Style
string
Dotted
asia_hml_style
Line Width
int
1
asia_hml_width
Label Size
string
tiny
asia_hml_lbl_size
Show 25% Line on Chart
bool
true
asia_25_show
25% Colour
color
color.blue
asia_25_col
25% Style
string
Solid
asia_25_style
25% Width
int
1
asia_25_width
25% Label Size
string
tiny
asia_25_lbl_size
Session Start (HHMM)
string
0200
lon_start
Session End (HHMM)
string
0800
lon_end
Show London Candle
bool
true
lon_enabled
Show Session Open Line
bool
true
lon_vline_show
Line Colour
color
color.new(color.black, 70)
lon_vline_col
Line Style
string
Solid
lon_vline_style
Line Width
int
1
lon_vline_width
Show Label
bool
true
lon_vlabel_show
Label Size
string
tiny
lon_vlabel_size
Show H/M/L/O Lines
bool
true
lon_hml_show
High
bool
true
lon_hml_high
Mid
bool
true
lon_hml_mid
Low
bool
true
lon_hml_low
Open
bool
true
lon_hml_open
Line Colour
color
color.new(color.gray, 30)
lon_hml_col
Line Style
string
Dotted
lon_hml_style
Line Width
int
1
lon_hml_width
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 overlays an intraday SPX and ES chart with a midnight session range, regular-trading-hours opening levels, and a VWAP projection box. It draws the midnight high, mid, and low, flags edge rejections within an absolute tolerance, and plots optiona
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 a session VWAP of the typical price on the price chart. It marks an up triangle under a bar when close crosses above VWAP and a down triangle above a bar when close crosses below it. A star pinned at the top of the pane marks bars whose vo
This indicator marks forex trading sessions and opening ranges on the price chart. It can draw Sydney, Tokyo, Frankfurt, London, and New York session boxes or five- and fifteen-minute opening ranges, plus an optional opening channel and a day-open range. Day r