OPEN-SOURCE SCRIPT
Smart Money Concepts Pro – OB, FVG, Liquidity + Trade Setups

This script is a complete Smart Money Concepts (SMC) toolkit designed for traders who want clean and actionable charts without clutter.
It combines the most important institutional concepts into one indicator:
Order Blocks (OB): auto-detection of bullish and bearish order blocks with mitigation tracking, merging and TTL (time-to-live).
Fair Value Gaps (FVG): automatic gap recognition with size filters, mitigation tracking and lifetime control.
Liquidity Pools (EQH/EQL): equal highs and equal lows marked with tolerance (ATR-based or fixed).
Break of Structure (BOS): up/down structure shifts plotted directly on the chart.
Multi-Timeframe (HTF): option to use higher timeframe data (e.g. H4, Daily) for stronger zones.
Trend Filter: show zones only in the direction of market structure.
Trade Setups: automatic signals for OB Retest + Trend setups, with entry, stop-loss and take-profit levels (custom R-R).
Flexible Zone Extension: choose between extending zones to the live bar or fixed box width for a cleaner look when scrolling.
Features
Fully customizable (pivot length, ATR filters, box width, TTL, zone colors)
Separate presets for Scalping, Intraday, Swing trading styles
Visual trade planning with entry/SL/TP lines and optional labels
Works across all markets (crypto, forex, indices, stocks)
How to use
Bias: identify overall direction (BOS + HTF zones).
Wait: for price to return to an unmitigated OB or FVG.
Entry: take the setup signal (OB retest + trend filter).
Risk: stop-loss at opposite OB boundary.
Target: TP based on chosen R-R multiple (default 2R).
⚡ Whether you scalp short-term moves or swing trade HTF zones, this indicator gives you a clear institutional edge in spotting supply/demand imbalances and high-probability setups.
It combines the most important institutional concepts into one indicator:
Order Blocks (OB): auto-detection of bullish and bearish order blocks with mitigation tracking, merging and TTL (time-to-live).
Fair Value Gaps (FVG): automatic gap recognition with size filters, mitigation tracking and lifetime control.
Liquidity Pools (EQH/EQL): equal highs and equal lows marked with tolerance (ATR-based or fixed).
Break of Structure (BOS): up/down structure shifts plotted directly on the chart.
Multi-Timeframe (HTF): option to use higher timeframe data (e.g. H4, Daily) for stronger zones.
Trend Filter: show zones only in the direction of market structure.
Trade Setups: automatic signals for OB Retest + Trend setups, with entry, stop-loss and take-profit levels (custom R-R).
Flexible Zone Extension: choose between extending zones to the live bar or fixed box width for a cleaner look when scrolling.
Features
Fully customizable (pivot length, ATR filters, box width, TTL, zone colors)
Separate presets for Scalping, Intraday, Swing trading styles
Visual trade planning with entry/SL/TP lines and optional labels
Works across all markets (crypto, forex, indices, stocks)
How to use
Bias: identify overall direction (BOS + HTF zones).
Wait: for price to return to an unmitigated OB or FVG.
Entry: take the setup signal (OB retest + trend filter).
Risk: stop-loss at opposite OB boundary.
Target: TP based on chosen R-R multiple (default 2R).
⚡ Whether you scalp short-term moves or swing trade HTF zones, this indicator gives you a clear institutional edge in spotting supply/demand imbalances and high-probability setups.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.