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. Bullish FVGs form when the high of candle[-2] is below the low of candle[0]. Bearish FVGs form when the low of candle[-2] is above the high of candle[0]. 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 borders
- Dashboard position: 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 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. Bullish FVGs form when the high of candle[-2] is below the low of candle[0]. Bearish FVGs form when the low of candle[-2] is above the high of candle[0]. 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 borders
- Dashboard position: 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 confirmed on bar close.
EdgeMachine
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。