OPEN-SOURCE SCRIPT
EdgeMachine - FVG Pro

EdgeMachine — FVG Pro detects, draws, and manages ICT Fair Value Gaps on any symbol and timeframe — stocks, futures, forex, and crypto.
What is a Fair Value Gap?
A Fair Value Gap (FVG) is a 3-candle imbalance pattern from ICT concepts where price moves so fast it leaves an unfilled gap between the high of candle[−2] and the low of candle[0] (bullish), or the low of candle[−2] and the high of candle[0] (bearish). These zones act as magnets where price tends to return and react.
Features:
• Bullish FVGs (▲) drawn as teal boxes — potential long entry zones
• Bearish FVGs (▼) drawn as red boxes — potential short entry zones
• Dashed midpoint line on every gap
• Labels show gap type and size in points
• Boxes extend right until price mitigates them
• Mitigated FVGs fade to gray or are removed automatically
• Built-in alerts when new FVGs form on any timeframe
Settings:
• Mitigation Level: 50% Mid / Full Fill / Never
• Min Gap Size filter to remove noise
• Max Active FVGs on screen (keeps chart clean)
• Show or hide faded mitigated zones
• Fully customizable bull/bear colors and border
• Dashboard: Top Right / Top Left / Bottom Right / Bottom Left
Dashboard (top right by default):
Shows live count of active bullish and bearish FVGs, current symbol, timeframe, mitigation mode, and total active zones.
Alerts:
Set alerts for "New Bullish FVG" and "New Bearish FVG" — fires on any ticker and timeframe.
Works universally on all asset classes and timeframes. No repainting — all detections are confirmed on bar close.
© EdgeMachine
What is a Fair Value Gap?
A Fair Value Gap (FVG) is a 3-candle imbalance pattern from ICT concepts where price moves so fast it leaves an unfilled gap between the high of candle[−2] and the low of candle[0] (bullish), or the low of candle[−2] and the high of candle[0] (bearish). These zones act as magnets where price tends to return and react.
Features:
• Bullish FVGs (▲) drawn as teal boxes — potential long entry zones
• Bearish FVGs (▼) drawn as red boxes — potential short entry zones
• Dashed midpoint line on every gap
• Labels show gap type and size in points
• Boxes extend right until price mitigates them
• Mitigated FVGs fade to gray or are removed automatically
• Built-in alerts when new FVGs form on any timeframe
Settings:
• Mitigation Level: 50% Mid / Full Fill / Never
• Min Gap Size filter to remove noise
• Max Active FVGs on screen (keeps chart clean)
• Show or hide faded mitigated zones
• Fully customizable bull/bear colors and border
• Dashboard: Top Right / Top Left / Bottom Right / Bottom Left
Dashboard (top right by default):
Shows live count of active bullish and bearish FVGs, current symbol, timeframe, mitigation mode, and total active zones.
Alerts:
Set alerts for "New Bullish FVG" and "New Bearish FVG" — fires on any ticker and timeframe.
Works universally on all asset classes and timeframes. No repainting — all detections are confirmed on bar close.
© EdgeMachine
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。