Indicator · Pine Script v5 · On the chart

SMC Pro — OB + FVG + BOS/CHoCH + Liquidity

by niteshufo

SMC Pro is an overlay indicator that maps smart money concepts on the price chart.

View on GitHub

GitHub stars2on the repository
Pine versionv5runs as is
Lines of code548
Settings34inputs
LicenceNone stated
Last update4 months ago4 Jun 2026

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

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.

Details

Published by

niteshufo on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

SMC / ICT / price action, Support & resistance, Sessions & time, Trend

Markets

Any symbol

Timeframes

M15-H1, H4 and above

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
Show Order Blocksbooltrueshow_ob
Bullish OB Colorcolorcolor.new(#00c853, 80)ob_bull_col
Bearish OB Colorcolorcolor.new(#ff1744, 80)ob_bear_col
Bullish OB Bordercolorcolor.new(#00c853, 20)ob_border_bull
Bearish OB Bordercolorcolor.new(#ff1744, 20)ob_border_bear
OB Lookback (bars)int50ob_lookback
Mitigation: 50% = mitigatedfloat0.5ob_mitig_pct
Show OB Labelsbooltrueshow_ob_label
Show Fair Value Gapsbooltrueshow_fvg
Bullish FVG Colorcolorcolor.new(#00bcd4, 85)fvg_bull_col
Bearish FVG Colorcolorcolor.new(#ff9800, 85)fvg_bear_col
Bullish FVG Bordercolorcolor.new(#00bcd4, 30)fvg_border_bull
Show all 34 settings
SettingTypeDefaultVariable
Bearish FVG Bordercolorcolor.new(#ff9800, 30)fvg_border_bear
Show FVG Labelsbooltrueshow_fvg_label
Show BOSbooltrueshow_bos
Show CHoCHbooltrueshow_choch
BOS Colorcolor#00c853bos_col
CHoCH Colorcolor#ff9800choch_col
Structure Lookbackint20str_lookback
Show Liquidity Sweepsbooltrueshow_liq
Sweep of Lows (Bullish)color#00e5ffliq_bull_col
Sweep of Highs (Bearish)color#ff4081liq_bear_col
Equal H/L Threshold (%)float0.05eq_threshold
Enable HTF Trend Filterbooltrueuse_htf
HTF TimeframetimeframeDhtf_tf
HTF EMA Lengthint50htf_ema_len
Show Killzone Sessionsbooltrueshow_sessions
London Killzone (08:00–10:00 UTC)booltrueshow_london
New York Killzone (13:30–15:30 UTC)booltrueshow_ny
Asia Session (00:00–03:00 UTC)boolfalseshow_asia
London Colorcolorcolor.new(#1565c0, 92)london_col
New York Colorcolorcolor.new(#6a1b9a, 92)ny_col
Asia Colorcolorcolor.new(#1b5e20, 92)asia_col
Mark OB+FVG Confluence (Holy Grail)booltrueshow_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.

Similar Pine Scripts

7 stars

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

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 3 months ago · None stated GitHub repository of 15m BOS + OTE + FVG + OB (Prop Firm)

714AutoM8trDST

by alboogycOdR
6 stars

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

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 7 months ago · None stated GitHub repository of 714AutoM8trDST
2 stars

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

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 3 years ago · None stated GitHub repository of QML Indicator Only w/filters [upslidedown]

SMC Marks

by kxngHADES
2 stars

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

Indicator v6 SMC / ICT / price actionTrend
Updated 4 weeks ago · None stated GitHub repository of SMC Marks
1 stars

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

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 months ago · None stated GitHub repository of Quantum Flow - FVG CE + TP Tiers
575 stars

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

Indicator v5 Support & resistanceTrend
Updated 1 year ago · MPL-2.0 GitHub repository of ICT Equal Highs and Lows with Screener

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