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.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。