OPEN-SOURCE SCRIPT
已更新 BAEMFX | Institutional Suite & Smart Zones

The indicator is optimized for Pine Script v6, ensuring high performance and real-time calculation accuracy across all timeframes.
Key Features
1. Automated Market Structure (BOS)
- Identifies Break of Structure (BOS) based on customizable pivot lookbacks.
- Visualizes trend shifts with clean, dashed lines and labels.
- Helps traders stay on the right side of the institutional flow.
2. Dynamic Supply & Demand Zones
- Automatically draws high-probability zones based on recent market movements.
- Real-time Mitigation: Zones can be set to "Cut on Touch" or "Remove on Touch" to keep your chart clean and relevant.
- Customizable depth to show only the most recent active zones.
3. Smart Fair Value Gaps (FVG)
- Detects price imbalances (liquidity gaps) where institutional orders are often filled.
- Auto-Cleanup: Includes a dedicated mitigation logic that removes or shrinks the FVG box as soon as the price mitigates the gap.
- Includes a "Minimum Gap Size" filter to ignore market noise.
4. Professional Session Tracking
- Visualizes the Asia, London, and New York sessions.
- Displays the high/low range of each session, which is crucial for identifying liquidity sweeps and "Judas Swings."
5. Institutional Trend Filter
- Integrated 50, 100, and 200 EMAs to provide a quick overview of the higher timeframe trend and dynamic support/resistance levels.
How to Use
- Identify the Trend: Use the EMAs and BOS to determine the current market bias.
- Locate Interest Areas: Look for unmitigated Supply/Demand zones or FVGs.
- Wait for Mitigation: Monitor price action as it enters a FVG or S&D zone.
- Execute: Combine these institutional levels with your favorite entry patterns (e.g., LTF Change of Character).
Settings
- Swing Lookback: Adjust for sensitivity in structure detection.
- Mitigation Mode: Choose between "Remove" (cleaner look) or "Cut" (historical context).
- Session Times: Fully customizable timezones and session hours.
Disclaimer:
Trading involves significant risk. This script is a tool to assist analysis and does not guarantee profits. Always use proper risk management.
版本注释
aggiornamento开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。