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
Swept levels can come from macro pivots, the previous higher-timeframe bar, or session highs and lows for Asia, London and New York. Each signal draws a stop beyond the sweep, capped and floored in ATR terms, with three R-multiple targets, a cooldown and a time stop. A weighted star ranking of trend, wick, calm and proximity filters setups, and result labels are shown.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Source
string
Macro Pivots
srcMode
Pivot Length
int
14
pivLen
HTF Resolution
timeframe
240
htfRes
Session Timezone
string
America/New_York
sessTz
Asian Session
session
2000-0000
sAsia
London Session
session
0300-0800
sLon
New York Session
session
0900-1600
sNy
Min Reversal Wick (%)
float
20.0
grabWick
ATR Length
int
14
atrLen
Stop Buffer Beyond Sweep (ATR)
float
0.30
slBuf
Max Risk (ATR) — stop cap
float
3.0
maxRisk
Min Risk (ATR) — stop floor
float
0.5
minRisk
Show all 40 settings
Setting
Type
Default
Variable
TP1 (R)
float
1.5
tp1R
TP2 (R)
float
3.0
tp2R
TP3 (R)
float
5.0
tp3R
Cooldown Bars Between Trades
int
0
cooldown
Max Bars In Trade (time-stop)
int
240
maxHunt
Zone Width (bars) — uniform
int
24
levelLen
Show SL / TP Lines
bool
true
showLines
Show SL / TP Zones
bool
true
showBoxes
Label Level Prices
bool
true
showLevelLbl
Show Trade Result Labels
bool
true
showExitLbl
Show Swept Liquidity Level
bool
true
showLiqLvl
Max Historical Trades Drawn
int
30
maxHist
Minimum Stars To Take
int
0
minStars
Alert Minimum Stars (0-4)
float
0.0
strongThr
Weight · Trend Context
float
0.30
wTrend
Weight · Rejection Wick
float
0.25
wWick
Weight · Volatility Regime
float
0.20
wCalm
Weight · Mean Proximity
float
0.15
wNear
Weight · Sweep Depth
float
0.10
wSweep
Show Dashboard
bool
true
showDash
Position
string
Top Right
dashPosOpt
Text Size
string
Normal
dashSizeOpt
Show TP1/2/3 · SL Breakdown
bool
true
showHeatRow
Show Win-Rate By Strength
bool
true
showTiers
Show Last Trades
bool
true
showRecent
Show MTF Trend Strip
bool
true
showMtf
MTF · TF 2
timeframe
15
mtfTf2
MTF · TF 3
timeframe
60
mtfTf3
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