An indicator on the price chart that draws previous day, previous week and previous month highs and lows as extended horizontal lines, with choices for colour, style and width.
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
Optional equilibrium lines mark the midpoint of each high and low pair. It also shows session ranges for Sydney, Tokyo, London and New York with their own colours and a configurable line width and gradient. Lines extend a set number of bars to the right of the current bar.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Show Previous Day
bool
true
show_pd
PDH Colour
color
#2196F3
col_pdh
PDL Colour
color
#64B5F6
col_pdl
Line Style
string
Dashed
style_pd
Width
int
1
width_pd
Show Previous Week
bool
true
show_pw
PWH Colour
color
#FF9800
col_pwh
PWL Colour
color
#FFB74D
col_pwl
Line Style
string
Dashed
style_pw
Width
int
1
width_pw
Show Previous Month
bool
true
show_pm
PMH Colour
color
#E91E63
col_pmh
Show all 38 settings
Setting
Type
Default
Variable
PML Colour
color
#F48FB1
col_pml
Line Style
string
Dashed
style_pm
Width
int
1
width_pm
Extend lines (bars right)
int
24
extend_bars
Show Equilibrium Lines
bool
false
show_eq
Daily Equilibrium
bool
true
show_eq_d
Weekly Equilibrium
bool
true
show_eq_w
Monthly Equilibrium
bool
true
show_eq_m
Colour
color
color.new(#FFFFFF, 70)
col_eq
Show Sydney
bool
true
show_sydney
Sydney Colour
color
#FF9800
col_sydney
Show Tokyo
bool
true
show_asia
Tokyo Colour
color
#9C27B0
col_asia
Show London
bool
true
show_london
London Colour
color
#00BCD4
col_london
Show New York
bool
true
show_ny
NY Colour
color
#F23645
col_ny
Session Line Width
int
1
sess_width
Bullish Gradient
color
#089981
bull_col
Bearish Gradient
color
#F23645
bear_col
Transparency
int
80
transp
Gradient Direction
string
Vertical
grad_type
Show Dashboard
bool
true
showDash
Position
string
Bottom Right
tablePosStr
Text Size
string
Small
dashSizeStr
Colour Theme
string
UK Algorithms
themeStr
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