OPEN-SOURCE SCRIPT
MP MTF FVG/IFVG/BPR

MP MTF FVG/IFVG/BPR — Script Description
Overview:
The “MP MTF FVG/IFVG/BPR” indicator is a multi-timeframe (MTF) trading tool that automatically identifies and visualizes three key Smart Money Concepts (SMC) price imbalances:
FVG (Fair Value Gap)
IFVG (Improved/Mitigated Fair Value Gap)
BPR (Balanced Price Range)
The script allows traders to monitor these liquidity zones across multiple custom timeframes (up to 6), helping them spot high-probability trade setups and market structure shifts. Designed for intraday and swing traders, it adapts to any market—forex, stocks, indices, or crypto.
Key Features:
Multi-Timeframe Support:
Select up to 6 different timeframes for simultaneous analysis.
Toggle visibility, set custom max number of imbalances to show per TF, and choose custom colors for each type and timeframe.
FVG Detection:
Automatically marks Fair Value Gaps (price imbalances where rapid moves may leave “inefficiency” between candles), highlighting both bullish and bearish gaps.
IFVG Identification:
Optionally marks mitigated or improved FVGs based on user logic or additional filters, to highlight areas where imbalances have been partially filled.
BPR Highlighting:
Detects and draws Balanced Price Ranges—zones where price efficiently rebalances after filling a previous gap or sweep.
Visualization:
Draws clean colored boxes/lines for each zone, with options for border style, fill opacity, and label display (including timeframe tags).
Option to enable or disable the midline for BPRs.
Performance Optimization:
Limits max active boxes/lines per TF to prevent chart clutter or performance lag.
Works Only On Closed Bars:
The indicator is designed to avoid drawing liquidity zones on unfinished candles, ensuring only valid, confirmed imbalances are shown.
Use Cases:
Identify high-probability entry/exit zones based on institutional trading concepts.
Spot potential reversal, retracement, or continuation areas.
Combine with your own execution model or other SMC tools for more robust strategies.
Parameters:
Enable/disable each timeframe (TF1–TF6)
Custom timeframe selection for each
Max FVGs, IFVGs, BPRs per TF
Custom color for each type/timeframe
Optional BPR midline and color
Notes:
This script is for educational purposes and should be used with risk management.
For best results, combine with additional confirmation signals and trade planning.
Overview:
The “MP MTF FVG/IFVG/BPR” indicator is a multi-timeframe (MTF) trading tool that automatically identifies and visualizes three key Smart Money Concepts (SMC) price imbalances:
FVG (Fair Value Gap)
IFVG (Improved/Mitigated Fair Value Gap)
BPR (Balanced Price Range)
The script allows traders to monitor these liquidity zones across multiple custom timeframes (up to 6), helping them spot high-probability trade setups and market structure shifts. Designed for intraday and swing traders, it adapts to any market—forex, stocks, indices, or crypto.
Key Features:
Multi-Timeframe Support:
Select up to 6 different timeframes for simultaneous analysis.
Toggle visibility, set custom max number of imbalances to show per TF, and choose custom colors for each type and timeframe.
FVG Detection:
Automatically marks Fair Value Gaps (price imbalances where rapid moves may leave “inefficiency” between candles), highlighting both bullish and bearish gaps.
IFVG Identification:
Optionally marks mitigated or improved FVGs based on user logic or additional filters, to highlight areas where imbalances have been partially filled.
BPR Highlighting:
Detects and draws Balanced Price Ranges—zones where price efficiently rebalances after filling a previous gap or sweep.
Visualization:
Draws clean colored boxes/lines for each zone, with options for border style, fill opacity, and label display (including timeframe tags).
Option to enable or disable the midline for BPRs.
Performance Optimization:
Limits max active boxes/lines per TF to prevent chart clutter or performance lag.
Works Only On Closed Bars:
The indicator is designed to avoid drawing liquidity zones on unfinished candles, ensuring only valid, confirmed imbalances are shown.
Use Cases:
Identify high-probability entry/exit zones based on institutional trading concepts.
Spot potential reversal, retracement, or continuation areas.
Combine with your own execution model or other SMC tools for more robust strategies.
Parameters:
Enable/disable each timeframe (TF1–TF6)
Custom timeframe selection for each
Max FVGs, IFVGs, BPRs per TF
Custom color for each type/timeframe
Optional BPR midline and color
Notes:
This script is for educational purposes and should be used with risk management.
For best results, combine with additional confirmation signals and trade planning.
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.