This indicator plots Smart Money Concepts elements on the price chart including internal and swing order blocks, bullish and bearish structures with BOS and CHoCH breaks, fair value gaps, equal highs and lows, and swing points.
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
Smart Money Concepts [LuxAlgo] can color candles according to detected trend and highlight strong and weak high low points. The main settings allow choosing between historical and present mode, adjusting display styles, filtering confluence, setting lengths for swings and order blocks, and toggling specific elements like internal structure or FVG. It draws labels, boxes and colored elements directly on the chart. The indicator uses lookahead to detect structures.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
mode
string
Historical
mode
style
string
Colored
style
Color Candles
bool
false
show_trend
Show Internal Structure
bool
true
show_internals
Bullish Structure
string
All
show_ibull
swing_ibull_css
color
#089981
swing_ibull_css
Bearish Structure
string
All
show_ibear
swing_ibear_css
color
#f23645
swing_ibear_css
Confluence Filter
bool
false
ifilter_confluence
Show Swing Structure
bool
true
show_Structure
Bullish Structure
string
All
show_bull
swing_bull_css
color
#089981
swing_bull_css
Show all 40 settings
Setting
Type
Default
Variable
Bearish Structure
string
All
show_bear
swing_bear_css
color
#f23645
swing_bear_css
Show Swings Points
bool
false
show_swings
length
int
50
length
Show Strong/Weak High/Low
bool
true
show_hl_swings
Internal Order Blocks
bool
true
show_iob
iob_showlast
int
5
iob_showlast
Swing Order Blocks
bool
false
show_ob
ob_showlast
int
5
ob_showlast
Order Block Filter
string
Atr
ob_filter
Internal Bullish OB
color
color.new(#3179f5, 80)
ibull_ob_css
Internal Bearish OB
color
color.new(#f77c80, 80)
ibear_ob_css
Bullish OB
color
color.new(#1848cc, 80)
bull_ob_css
Bearish OB
color
color.new(#b22833, 80)
bear_ob_css
Equal High/Low
bool
true
show_eq
Bars Confirmation
int
3
eq_len
Threshold
float
0.1
eq_threshold
Fair Value Gaps
bool
false
show_fvg
Auto Threshold
bool
true
fvg_auto
Timeframe
timeframe
fvg_tf
Bullish FVG
color
color.new(#00ff68, 70)
bull_fvg_css
Bearish FVG
color
color.new(#ff0008, 70)
bear_fvg_css
Extend FVG
int
1
fvg_extend
Daily
bool
false
show_pdhl
pdhl_style
string
⎯⎯⎯
pdhl_style
pdhl_css
color
#2157f3
pdhl_css
Weekly
bool
false
show_pwhl
pwhl_style
string
⎯⎯⎯
pwhl_style
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 overlay indicator detects tweezer tops and bottoms and kangaroo-tail pin bars, then draws supply and demand zones from those patterns. It scores each zone, decays freshness, merges overlapping zones, and can invalidate a zone after a close-through or afte
This indicator plots Smart Money Concepts and price action components directly on the price chart. It highlights bullish and bearish order blocks, multi-timeframe pivot points, market structure swings with key Fibonacci retracement levels (0.618 and 0.786), zo
This Pine Script indicator plots Smart Money Concepts market structure directly on the price chart. It identifies swing highs and lows, internal market structures, Break of Structure events, Change of Character shifts, and EQH/EQL levels. Breaker blocs are hig
The Price Action Toolkit is an indicator that combines several price action tools on the chart. It calculates the ATR with user-defined length and shows it in a table. It plots multiple Kaufman Adaptive Moving Averages (KAMA) with different lengths and sources
This indicator plots ZigZag lines connecting swing highs and lows to map price structure. It draws candle body and shadow boxes on the price chart and detects CHoCH for potential trend shifts and BOS for continuation signals. The main setting toggles candle di
This indicator identifies high and low pivot points on the price chart using user-defined left and right bars around each bar. It connects pivot points with wave lines, plots PH and PL marks, and labels the latest P1 to P8 patterns. A table shows pivot details