OPEN-SOURCE SCRIPT
已更新 FVG + iFVG

❤︎ FVG + iFVG
Automatically detects Fair Value Gaps (FVGs) and tracks when they become Inverse Fair Value Gaps (iFVGs). This indicator is designed to keep charts clean while highlighting recent market imbalances and structure shifts.
Features
Automatically detects Fair Value Gaps (FVGs) and tracks when they become Inverse Fair Value Gaps (iFVGs). This indicator is designed to keep charts clean while highlighting recent market imbalances and structure shifts.
Features
- Detects bullish and bearish Fair Value Gaps.
- Supports any user-selected timeframe.
- Automatically converts disrespected FVGs into iFVGs.
- Option to automatically remove mitigated FVGs.
- Choose how many recent iFVGs remain visible.
- Customizable colors for FVGs and iFVGs.
How It Works
A bullish FVG forms when price leaves an imbalance to the upside. A bearish FVG forms when price leaves an imbalance to the downside.
When price closes completely through an FVG, the gap can be converted into an Inverse Fair Value Gap (iFVG). These zones often become areas of interest after market structure shifts.
If an iFVG is later invalidated, it is automatically removed from the chart.
Settings- Timeframe – Choose the timeframe used to detect FVGs.
- Remove Once Mitigated – Automatically removes standard FVGs after they have been mitigated.
- Convert Recent FVGs into iFVGs – Converts disrespected FVGs into iFVGs instead of removing them immediately.
- Number of Recent iFVGs – Limits how many recent iFVGs remain visible on the chart.
- Style – Customize the colors and extension length of FVGs and iFVGs.
This indicator is intended as a visual analysis tool for identifying market imbalances and potential areas of interest. It does not provide financial advice or guaranteed trade signals.
版本注释
Midline Update Added an optional FVG + iFVG Midline feature.
The midline represents the 50% equilibrium of each imbalance, allowing traders who use the midpoint of a Fair Value Gap as a point of interest to display it directly on the chart while keeping the original indicator behavior unchanged.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。