Indicator · Pine Script v5 · On the chart

Smart Money Concepts [LuxAlgo]

by srinivas-yarramsetti· code credited to LuxAlgo

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.

View on GitHub

Repaints

GitHub stars2on the repository
Pine versionv5runs as is
Lines of code1,041
Settings40inputs
LicenceNone stated
Last update3 years ago30 Jun 2023

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

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.

Details

Published by

srinivas-yarramsetti on GitHub

Code credit

LuxAlgo, as written in the script's header

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

SMC / ICT / price action, Candlestick patterns, Support & resistance, Trend

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

  • Reads higher-timeframe data with lookahead on, so the history can show signals that were not there in real time

Settings

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

SettingTypeDefaultVariable
modestringHistoricalmode
stylestringColoredstyle
Color Candlesboolfalseshow_trend
Show Internal Structurebooltrueshow_internals
Bullish StructurestringAllshow_ibull
swing_ibull_csscolor#089981swing_ibull_css
Bearish StructurestringAllshow_ibear
swing_ibear_csscolor#f23645swing_ibear_css
Confluence Filterboolfalseifilter_confluence
Show Swing Structurebooltrueshow_Structure
Bullish StructurestringAllshow_bull
swing_bull_csscolor#089981swing_bull_css
Show all 40 settings
SettingTypeDefaultVariable
Bearish StructurestringAllshow_bear
swing_bear_csscolor#f23645swing_bear_css
Show Swings Pointsboolfalseshow_swings
lengthint50length
Show Strong/Weak High/Lowbooltrueshow_hl_swings
Internal Order Blocksbooltrueshow_iob
iob_showlastint5iob_showlast
Swing Order Blocksboolfalseshow_ob
ob_showlastint5ob_showlast
Order Block FilterstringAtrob_filter
Internal Bullish OBcolorcolor.new(#3179f5, 80)ibull_ob_css
Internal Bearish OBcolorcolor.new(#f77c80, 80)ibear_ob_css
Bullish OBcolorcolor.new(#1848cc, 80)bull_ob_css
Bearish OBcolorcolor.new(#b22833, 80)bear_ob_css
Equal High/Lowbooltrueshow_eq
Bars Confirmationint3eq_len
Thresholdfloat0.1eq_threshold
Fair Value Gapsboolfalseshow_fvg
Auto Thresholdbooltruefvg_auto
Timeframetimeframefvg_tf
Bullish FVGcolorcolor.new(#00ff68, 70)bull_fvg_css
Bearish FVGcolorcolor.new(#ff0008, 70)bear_fvg_css
Extend FVGint1fvg_extend
Dailyboolfalseshow_pdhl
pdhl_stylestring⎯⎯⎯pdhl_style
pdhl_csscolor#2157f3pdhl_css
Weeklyboolfalseshow_pwhl
pwhl_stylestring⎯⎯⎯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.

Similar Pine Scripts

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

Indicator v6 Candlestick patternsSupport & resistance
Updated yesterday · MIT GitHub repository of Tweezer & Kangaroo Zones [WavesUnchained]
7 stars

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

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 3 months ago · None stated GitHub repository of Cryptokazancev Strategy Pack
3 stars

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

Indicator v5 SMC / ICT / price actionCandlestick patterns Repaints
Updated 12 months ago · None stated GitHub repository of SMC & Breaker Blocs [Krishna]

Price Action Toolkit

by TamTH-Dev
2 stars

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

Indicator v6 TrendSupport & resistance
Updated 5 weeks ago · None stated GitHub repository of Price Action Toolkit

j14-E1 adv

by moonyroy
1 stars

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

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 4 days ago · None stated GitHub repository of j14-E1 adv
1 stars

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

Indicator v5 Support & resistanceTrend
Updated 11 months ago · MIT GitHub repository of Pivot Waves + 8-Pattern + CHoCH

More indicators

Trade Your Charts With a Regulated Broker

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

Compare brokers