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
ICT Concepts [LuxAlgo] detects Market Structure Shifts (MSS), Breaks of Structure (BOS), bullish and bearish Order Blocks (OB), Volume Imbalances, Fair Value Gaps (FVG), and liquidity pools. Users can switch between Present and Historical display modes, modify swing lookback lengths, and customize visual color schemes for liquidity zones and order block breaks. All elements are drawn directly on the main price pane using dynamic boxes and lines.
Market Structure Shift and Break of Structure detection
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Mode
string
Present
i_mode
showMS
bool
true
showMS
len
int
5
len
iMSS
bool
true
iMSS
bullish
color
color.new(#00e6a1, 0)
cMSSbl
bearish
color
color.new(#e60400, 0)
cMSSbr
iBOS
bool
true
iBOS
bullish
color
color.new(#00e6a1, 0)
cBOSbl
bearish
color
color.new(#e60400, 0)
cBOSbr
Show Displacement
bool
false
sDispl
sVimbl
bool
true
sVimbl
visVim
int
2
visVim
Show all 40 settings
Setting
Type
Default
Variable
cVimbl
color
color.new(#06b2d0, 0)
cVimbl
Show Order Blocks
bool
true
showOB
Swing Lookback
int
10
length
Show Last Bullish OB
int
1
showBull
Show Last Bearish OB
int
1
showBear
Use Candle Body
bool
true
useBody
Bullish OB
color
color.new(#3e89fa, 0)
bullCss
Bullish Break
color
color.new(#4785f9, 85)
bullBrkCss
Bearish OB
color
color.new(#FF3131, 0)
bearCss
Bearish Break
color
color.new(#f9ff57, 85)
bearBrkCss
Show Historical Polarity Changes
bool
false
showLabels
Show Liquidity
bool
true
showLq
margin
float
4
margin
# Visible Liq. boxes
int
2
visLiq
Buyside Liquidity
color
color.new(#fa451c, 0)
cLIQ_B
Sellside Liquidity
color
color.new(#1ce4fa, 0)
cLIQ_S
Show FVGs
bool
true
shwFVG
Balance Price Range
bool
false
i_BPR
i_FVG
string
FVG
i_FVG
# Visible FVG's
int
2
visBxs
Bullish FVG
color
color.new(#00e676, 0)
cFVGbl
Break
color
color.new(#808000, 0)
cFVGblBR
Bearish FVG
color
color.new(#ff5252, 0)
cFVGbr
Break
color
color.new(#FF0000, 0)
cFVGbrBR
iNWOG
bool
true
iNWOG
NWOG
color
color.new(#ff5252, 28)
cNWOG1
cNWOG2
color
color.new(#b2b5be, 50)
cNWOG2
Show max
int
3
maxNWOG
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 tracks smart money market structure directly on the price chart. It calculates dual-period swing highs and swing lows to detect Changes of Character (CHoCH), Breaks of Structure (BOS), inducements, and liquidity sweeps. When structural levels ar
The CISD with Fib/Range Extensions and Stats indicator tracks Change in State of Delivery (CISD) level breakouts on the price chart. It detects pullback structures filtered by ATR and volume conditions, then projects future target levels using customizable Fib
This indicator maps Smart Money Concepts (SMC) market structure directly onto the price chart. It detects internal and swing structure breaks (BOS and CHoCH), tracks bullish and bearish order blocks, identifies fair value gaps (FVG), highlights equal highs and
This script identifies and visualizes bullish and bearish order blocks on the price chart. It detects low-volatility consolidation ranges followed by breakout moves accompanied by high trading volume. Users can select between Simple, Relative, or Weighted volu
This indicator implements a Wyckoff method state machine that tracks accumulation, distribution, markup, and markdown regimes across phases A through E. It identifies structural events including springs, UTADs, SOS, SOW, LPS, LPSY, and climactic bars using ATR
This multi-timeframe indicator detects and visualizes Smart Money Concepts (SMC) and ICT market structures on the price chart. It maps higher-timeframe dealing ranges, premium and discount zones, break of structure (BOS), change of character (CHoCH), order blo