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
Daily Statistical Range and Levels (Weekday Stats) calculates levels using historical session data and weekday statistics within user-defined time windows. Traders can customize stats session times, time zones, anchor options, line visual styles, label visibility, and session types such as Regular Trading Hours or custom session ranges.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Levels Session Time (HHMM-HHMM)
string
2300-2100
session_time_levels
Time Zone
string
UTC
time_zone
Stats Session Time (HHMM-HHMM)
string
0930-1600
session_time_stats
Show Session Anchor
bool
true
show_anchor
anchor_style
string
Dotted
anchor_style
anchor_color
color
color.black
anchor_color
anchor_width
int
1
anchor_width
Show Anchor Label
bool
true
show_anchor_label
Show Session Open Line
bool
true
show_session_open
session_open_style
string
Dotted
session_open_style
session_open_color
color
color.gray
session_open_color
session_open_width
int
1
session_open_width
Show all 40 settings
Setting
Type
Default
Variable
Show Session Open Label
bool
true
show_session_open_label
Show Manipulation Levels
bool
true
show_manipulation
manipulation_style
string
Dotted
manipulation_style
manipulation_color
color
color.red
manipulation_color
manipulation_width
int
1
manipulation_width
Show Manipulation Labels
bool
true
show_manipulation_label
Show Distribution Levels
bool
true
show_distribution
distribution_style
string
Solid
distribution_style
distribution_color
color
color.blue
distribution_color
distribution_width
int
1
distribution_width
Show Distribution Labels
bool
true
show_distribution_label
Projection Offset (Bars)
int
24
projection_offset
Label Size
string
Small
label_size
Select Session Type (no need for stocks)
string
Day Session (RTH)
session_type
Custom Session
session
0800-1600
custom_session_times_inp
Open RTH Session
bool
true
todop
todopcol
color
color.new(color.purple, 20)
todopcol
todopwidth
int
2
todopwidth
Mid RTH Session
bool
true
todmid
todmidcol
color
color.new(color.purple, 20)
todmidcol
todmidwidth
int
1
todmidwidth
High RTH Session
bool
true
todhi
todhicol
color
color.new(color.purple, 20)
todhicol
todhiwidth
int
1
todhiwidth
Low RTH Session
bool
true
todlo
todlocol
color
color.new(color.purple, 20)
todlocol
todlowidth
int
1
todlowidth
High ON Session
bool
true
onhi
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
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
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 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