OPEN-SOURCE SCRIPT
Smart Money Concepts SMC

Smart Money Concepts (SMC) — Precision Edition
A comprehensive Smart Money Concepts indicator built for Indian markets, designed to identify institutional order flow through market structure, order blocks, and fair value gaps — with zero clutter.
Market Structure
Automatically detects and labels Break of Structure (BOS), Change of Character (CHoCH), and Market Structure Shift (MSS) using pivot-based swing detection. MSS signals are filtered by ATR-based displacement to
ensure only genuine momentum shifts are marked, reducing false signals.
Auto Swing Length
The swing detection length adjusts automatically when you change timeframes — no manual tuning required. Each timeframe uses a calibrated value optimised for clean, accurate structure detection. You can override
it manually at any time from the settings.
Order Blocks
Marks the last significant opposing candle before each structural break as an Order Block. A minimum body size filter (0.4× ATR) ensures only meaningful institutional candles are highlighted — eliminating tiny,
irrelevant candles that create noise. Mitigated Order Blocks vanish automatically the moment price trades through them, keeping the chart clean at all times. Each active OB is clearly labelled as Bull OB or Bear
OB.
Fair Value Gaps
Detects and highlights bullish and bearish imbalances between candles. FVGs are removed once price fills or touches them, depending on your mitigation preference.
Previous High / Low
Plots the previous session's high and low from any higher timeframe of your choice. Defaults to Daily, giving you immediate reference to key overnight levels.
Session Highlighter
Optionally highlights your custom trading session. Pre-configured for Indian market hours — 9:15 AM to 3:30 PM IST — out of the box.
Settings
All inputs are grouped and labelled clearly. Zone transparency, label size, and colours for bullish, bearish, BOS, CHoCH, and MSS are all fully customisable.
A comprehensive Smart Money Concepts indicator built for Indian markets, designed to identify institutional order flow through market structure, order blocks, and fair value gaps — with zero clutter.
Market Structure
Automatically detects and labels Break of Structure (BOS), Change of Character (CHoCH), and Market Structure Shift (MSS) using pivot-based swing detection. MSS signals are filtered by ATR-based displacement to
ensure only genuine momentum shifts are marked, reducing false signals.
Auto Swing Length
The swing detection length adjusts automatically when you change timeframes — no manual tuning required. Each timeframe uses a calibrated value optimised for clean, accurate structure detection. You can override
it manually at any time from the settings.
Order Blocks
Marks the last significant opposing candle before each structural break as an Order Block. A minimum body size filter (0.4× ATR) ensures only meaningful institutional candles are highlighted — eliminating tiny,
irrelevant candles that create noise. Mitigated Order Blocks vanish automatically the moment price trades through them, keeping the chart clean at all times. Each active OB is clearly labelled as Bull OB or Bear
OB.
Fair Value Gaps
Detects and highlights bullish and bearish imbalances between candles. FVGs are removed once price fills or touches them, depending on your mitigation preference.
Previous High / Low
Plots the previous session's high and low from any higher timeframe of your choice. Defaults to Daily, giving you immediate reference to key overnight levels.
Session Highlighter
Optionally highlights your custom trading session. Pre-configured for Indian market hours — 9:15 AM to 3:30 PM IST — out of the box.
Settings
All inputs are grouped and labelled clearly. Zone transparency, label size, and colours for bullish, bearish, BOS, CHoCH, and MSS are all fully customisable.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.