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
SMC Pro — OB + FVG + BOS/CHoCH + Liquidity draws bullish and bearish order blocks with a mitigation threshold, fair value gaps, break of structure and change of character lines, and liquidity sweeps of equal highs and lows. Optional labels mark each zone. A higher-timeframe EMA can filter the bias, and London, New York, and Asia killzone windows can be highlighted. Lookback, colors, and session visibility are user settings. It does not place trades or set exits.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Show Order Blocks
bool
true
show_ob
Bullish OB Color
color
color.new(#00c853, 80)
ob_bull_col
Bearish OB Color
color
color.new(#ff1744, 80)
ob_bear_col
Bullish OB Border
color
color.new(#00c853, 20)
ob_border_bull
Bearish OB Border
color
color.new(#ff1744, 20)
ob_border_bear
OB Lookback (bars)
int
50
ob_lookback
Mitigation: 50% = mitigated
float
0.5
ob_mitig_pct
Show OB Labels
bool
true
show_ob_label
Show Fair Value Gaps
bool
true
show_fvg
Bullish FVG Color
color
color.new(#00bcd4, 85)
fvg_bull_col
Bearish FVG Color
color
color.new(#ff9800, 85)
fvg_bear_col
Bullish FVG Border
color
color.new(#00bcd4, 30)
fvg_border_bull
Show all 34 settings
Setting
Type
Default
Variable
Bearish FVG Border
color
color.new(#ff9800, 30)
fvg_border_bear
Show FVG Labels
bool
true
show_fvg_label
Show BOS
bool
true
show_bos
Show CHoCH
bool
true
show_choch
BOS Color
color
#00c853
bos_col
CHoCH Color
color
#ff9800
choch_col
Structure Lookback
int
20
str_lookback
Show Liquidity Sweeps
bool
true
show_liq
Sweep of Lows (Bullish)
color
#00e5ff
liq_bull_col
Sweep of Highs (Bearish)
color
#ff4081
liq_bear_col
Equal H/L Threshold (%)
float
0.05
eq_threshold
Enable HTF Trend Filter
bool
true
use_htf
HTF Timeframe
timeframe
D
htf_tf
HTF EMA Length
int
50
htf_ema_len
Show Killzone Sessions
bool
true
show_sessions
London Killzone (08:00–10:00 UTC)
bool
true
show_london
New York Killzone (13:30–15:30 UTC)
bool
true
show_ny
Asia Session (00:00–03:00 UTC)
bool
false
show_asia
London Color
color
color.new(#1565c0, 92)
london_col
New York Color
color
color.new(#6a1b9a, 92)
ny_col
Asia Color
color
color.new(#1b5e20, 92)
asia_col
Mark OB+FVG Confluence (Holy Grail)
bool
true
show_combo_label
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 script combines Smart Money Concepts including Break of Structure, Optimal Trade Entry Fibonacci levels, Fair Value Gaps, and Order Blocks to identify setup entries on the price chart. It tracks 15-minute higher timeframe structure, restricts trades to th
Calculates Smart Money Concepts market structure elements including internal and swing breaks of structure, change of character, and order blocks directly on the price chart. It highlights bullish and bearish structures, customizable internal and swing order b
This indicator identifies Quasimodo Level (QML) market structure patterns on the price chart using a ZigZag algorithm. It includes optional directional trend filtering using dual exponential moving averages, an ADX threshold filter to verify trend strength, an
This Pine Script indicator automatically marks Smart Money Concepts on the price chart. It identifies swing highs and lows as HH, HL, LH, LL using a configurable swing length. It detects breaks of market structure (BMS/BOS) and changes of character (CHoCH), wi
This indicator implements an ICT and SMC decision engine directly on the price chart. It calculates Fair Value Gap consequent encroachment entry triggers alongside multi-tiered profit targets and structure-anchored stop losses. Trades are filtered through prem
This indicator detects equal highs and lows by comparing prices within user-defined left and right bars using a tolerance percentage. It plots horizontal lines on the price chart for equal highs in one color and lows in another. A screener allows input of mult