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.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.