Indicator · Pine Script v5 · On the chart

ICT Concepts [LuxAlgo]

by rubystar0512· code credited to LuxAlgo

This indicator identifies and visualizes key Inner Circle Trader (ICT) market structure concepts directly on the price chart.

View on GitHub

GitHub stars5on the repository
Pine versionv5runs as is
Lines of code1,144
Settings40inputs
LicenceNone stated
Last update2 years ago13 Sep 2024

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 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.

Details

Published by

rubystar0512 on GitHub

Code credit

LuxAlgo, as written in the script's header

Draws

On the price chart

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
ModestringPresenti_mode
showMSbooltrueshowMS
lenint5len
iMSSbooltrueiMSS
bullishcolorcolor.new(#00e6a1, 0)cMSSbl
bearishcolorcolor.new(#e60400, 0)cMSSbr
iBOSbooltrueiBOS
bullishcolorcolor.new(#00e6a1, 0)cBOSbl
bearishcolorcolor.new(#e60400, 0)cBOSbr
Show DisplacementboolfalsesDispl
sVimblbooltruesVimbl
visVimint2visVim
Show all 40 settings
SettingTypeDefaultVariable
cVimblcolorcolor.new(#06b2d0, 0)cVimbl
Show Order BlocksbooltrueshowOB
Swing Lookbackint10length
Show Last Bullish OBint1showBull
Show Last Bearish OBint1showBear
Use Candle BodybooltrueuseBody
Bullish OB colorcolor.new(#3e89fa, 0)bullCss
Bullish Break colorcolor.new(#4785f9, 85)bullBrkCss
Bearish OBcolorcolor.new(#FF3131, 0)bearCss
Bearish Breakcolorcolor.new(#f9ff57, 85)bearBrkCss
Show Historical Polarity ChangesboolfalseshowLabels
Show LiquiditybooltrueshowLq
marginfloat4margin
# Visible Liq. boxesint2visLiq
Buyside Liquidity colorcolor.new(#fa451c, 0)cLIQ_B
Sellside Liquiditycolorcolor.new(#1ce4fa, 0)cLIQ_S
Show FVGsbooltrueshwFVG
Balance Price Rangeboolfalsei_BPR
i_FVGstringFVGi_FVG
# Visible FVG'sint2visBxs
Bullish FVG colorcolor.new(#00e676, 0)cFVGbl
Breakcolorcolor.new(#808000, 0)cFVGblBR
Bearish FVG colorcolor.new(#ff5252, 0)cFVGbr
Breakcolorcolor.new(#FF0000, 0)cFVGbrBR
iNWOGbooltrueiNWOG
NWOG colorcolor.new(#ff5252, 28)cNWOG1
cNWOG2colorcolor.new(#b2b5be, 50)cNWOG2
Show maxint3maxNWOG
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.

Similar Pine Scripts

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

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · Apache-2.0 GitHub repository of Market Structure with Inducements & Sweeps [LuxAlgo]
24 stars

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

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 12 days ago · Custom licence GitHub repository of Smart Money Concepts [LuxAlgo] Test B
13 stars

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

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · MIT GitHub repository of Advanced Order Blocks with Volume

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

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 days ago · MIT GitHub repository of Modern Wyckoff State Machine Lite [WavesUnchained]
9 stars

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

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 8 months ago · None stated GitHub repository of SMC/ICT Zones Pro Generalized

More SMC / ICT scripts

Related on ForexR

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers