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
Default labels mark the 7:00 line, the New York open, the NYSE open, a four-hour open, midnight NYO, and the NDOG window, using New York timestamps. Users can hide each line, change its color and label, and restyle the yellow and blue box backgrounds and outlines. It also shows previous higher-timeframe candles, with a selectable timeframe and candle count. It does not generate entries, exits, or stop losses.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Show Line 1
bool
true
showLine1
Color for Line 1
color
color.rgb(255, 0, 0, 46)
color1
Label for Line 1
string
7
label1
Show Line 2
bool
true
showLine2
Color for Line 2
color
#000000
color2
Label for Line 2
string
New
label2
Show Line 3
bool
true
showLine3
Color for Line 3
color
#000000
color3
Label for Line 3
string
NYSE
label3
Show Line 4
bool
true
showLine4
Color for Line 4
color
#2200ff
color4
Label for Line 4
string
4H open
label4
Show all 35 settings
Setting
Type
Default
Variable
Show Line 5
bool
true
showLine5
Color for Line 5
color
#000000
color5
Label for Line 5
string
NYO
label5
Show Line 6
bool
true
showLine6
Color for Line 6
color
color.rgb(255, 0, 0, 51)
color6
Label for Line 6
string
NDOG
label6
Box
bool
true
highlightBoxEnabled1
Box
bool
true
highlightBoxEnabled2
Box Background Color
color
color.new(color.yellow, 90)
boxBgColor
Box Outline Color
color
TRANS_COLOR
boxOutlineColor
Box Outline Width
int
0
boxOutlineWidth
Box Background Color
color
color.new(color.blue, 90)
boxBgColor2
Box Outline Color
color
TRANS_COLOR
boxOutlineColor2
Box Outline Width
int
0
boxOutlineWidth2
Show HTF Candles
bool
true
showHTF1
Number of Previous HTF Candles
int
3
numCandles1
Select Time Frame
timeframe
15
higherTimeFrame1
Show HTF 2 Candles
bool
true
showHTF2
Number of Previous HTF Candles 2
int
1
numCandles2
Select Time Frame
timeframe
240
higherTimeFrame2
Show HTF 2 Candles
bool
true
showHTF3
Number of Previous HTF Candles 3
int
1
numCandles3
Select Time Frame
timeframe
D
higherTimeFrame3
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.
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 overlays options gamma-exposure levels, session VWAP bands, and intraday market structure tools directly on the price chart. It provides three modular components: strike walls with standard deviation bands and opening ranges, a gamma regime engi
This indicator detects and draws the first Fair Value Gap (FVG) that forms in each hourly session based on a selected lower timeframe, with specialized handling for Regular Trading Hours (RTH) confluence windows. It draws FVG range boxes, midpoint lines, hourl
This indicator combines six trading tools into a single chart overlay to optimize indicator limits. It calculates Bollinger Bands, projects weekend price boundaries, plots market structure elements like order blocks, breaker blocks, and MSB lines, marks New Yo
This indicator highlights Inner Circle Trader (ICT) killzones and key session pivot points directly on the price chart. It projects shaded boxes for specific trading sessions, including Asia, London, NY AM, NY Lunch, and NY PM, to help traders identify high-li
Indicatorv5SMC / ICT / price actionSessions & time
Bandz Session Ranges + ORG + Opening Prices plots trading session ranges, killzones, opening RTH gaps, standard deviation projections, and key opening prices directly on the price chart. It calculates gap ranges based on prior regular trading hours close sourc