OPEN-SOURCE SCRIPT
MTF Swing FVG OB

MTF Swing FVG OB is a price action indicator that automatically detects Fair Value Gap Order Blocks (FVG OB) across multiple timeframes while also marking important swing levels based on momentum candles without wicks.
The indicator is designed for traders who use Smart Money Concepts (SMC) and price imbalance structures to identify high-probability trading zones.
Key Features:
Multi-Timeframe FVG Order Blocks
The indicator detects FVG Order Blocks on both:
Higher Timeframe (HTF)
Current Timeframe (CTF)
These zones are displayed as colored boxes on the chart, allowing traders to easily see market imbalance areas and potential institutional activity across multiple timeframes.
Momentum-Based Swing Levels
Swing Highs and Lows are identified using momentum candles without wicks, which often represent strong impulsive market moves.
These swing levels are displayed as:
horizontal lines
level markers above or below candles
They often act as liquidity levels where price may react.
Automatic Order Block Mitigation
When price fully fills or breaks through an FVG OB zone, the indicator automatically detects the mitigation.
Mitigated zones can either:
remain visible
or be automatically removed from the chart depending on the settings.
This helps keep the chart clean and focused on active zones.
How to Use
The strongest signals occur when multiple FVG Order Blocks align in the same area.
High probability setups include:
Order Block inside another Order Block
HTF OB overlapping with CTF OB
At least two OB zones forming in the same price level
Typical workflow:
Identify a Higher Timeframe FVG OB zone
Wait for a Current Timeframe OB to form within that zone
Look for OB inside OB structure
Wait for price to return into the zone
Enter on confirmation or structure reaction
The more Order Block confluence, the stronger the potential signal.
Best For
Smart Money Concepts (SMC)
ICT style trading
Price Action trading
Scalping
Intraday trading
Liquidity based setups
The indicator is designed for traders who use Smart Money Concepts (SMC) and price imbalance structures to identify high-probability trading zones.
Key Features:
Multi-Timeframe FVG Order Blocks
The indicator detects FVG Order Blocks on both:
Higher Timeframe (HTF)
Current Timeframe (CTF)
These zones are displayed as colored boxes on the chart, allowing traders to easily see market imbalance areas and potential institutional activity across multiple timeframes.
Momentum-Based Swing Levels
Swing Highs and Lows are identified using momentum candles without wicks, which often represent strong impulsive market moves.
These swing levels are displayed as:
horizontal lines
level markers above or below candles
They often act as liquidity levels where price may react.
Automatic Order Block Mitigation
When price fully fills or breaks through an FVG OB zone, the indicator automatically detects the mitigation.
Mitigated zones can either:
remain visible
or be automatically removed from the chart depending on the settings.
This helps keep the chart clean and focused on active zones.
How to Use
The strongest signals occur when multiple FVG Order Blocks align in the same area.
High probability setups include:
Order Block inside another Order Block
HTF OB overlapping with CTF OB
At least two OB zones forming in the same price level
Typical workflow:
Identify a Higher Timeframe FVG OB zone
Wait for a Current Timeframe OB to form within that zone
Look for OB inside OB structure
Wait for price to return into the zone
Enter on confirmation or structure reaction
The more Order Block confluence, the stronger the potential signal.
Best For
Smart Money Concepts (SMC)
ICT style trading
Price Action trading
Scalping
Intraday trading
Liquidity based setups
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.