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.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.