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
Each level records a session opening price, then draws a percentage retracement target during a later session window in America/New_York time. Users can set both session times, the retracement percentage, line style, colors, and labels. A statistics table counts how often price reaches each target and splits those counts by weekday and by whether the target sits above or below the open. The script does not generate trade entries or exits.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Open time Level 1
session
0000-0001
open_time_1
Show target time level - Level 1
bool
true
open_lbl_lv_1
Retracement during - Level 1
session
0800-1600
ret_time_1
Retracement % Level 1
int
50
ret_pct_1
Show Level 1 % retracement target label
bool
true
ret_lbl_pc_1
Show opening price label - Level 1
bool
true
ret_lbl_lv_1
Retracement % color Level 1
color
color.lime
ret_pc_col_1
Open time color Level 1
color
color.teal
open_col_1
Show level 1 plots on the chart
bool
true
show_1
Target retracement line style
string
Dotted
Target retracement line style
Show Label for session opening time - Level 1
bool
true
label_1
Open time Level 2
session
0800-0801
open_time_2
Show all 29 settings
Setting
Type
Default
Variable
Show target time level - Level 2
bool
true
open_lbl_lv_2
Retracement during - Level 2
session
0930-1600
ret_time_2
Retracement % Level 2
int
50
ret_pct_2
Show Level 2 % retracement target label
bool
true
ret_lbl_pc_2
Show opening price label - Level 2
bool
true
ret_lbl_lv_2
Retracement % color Level 2
color
color.fuchsia
ret_pc_col_2
Open time color Level 2
color
color.purple
open_col_2
Show level 2 plots on the chart
bool
true
show_2
Target retracement line style
string
Dotted
Target retracement line style
Show Label for session opening time - Level 2
bool
true
label_2
Show stats table
bool
true
show_tbl
Table Position
string
top_right
tablePosition
Text Size
string
small
tableTextSize
Text color
color
color.white
text_color
Border color
color
color.teal
bd_color
Background color
color
color.rgb(40, 40, 40)
bg_color
Frame color
color
color.teal
fr_color
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