OPEN-SOURCE SCRIPT
Fair Value Gap (FVG) Supply & Demand Zones [JPT]

🔷 OVERVIEW
Fair Value Gap (FVG) Supply & Demand Zones [JPT] is a market structure indicator that automatically detects Fair Value Gaps (FVGs) together with Supply and Demand Zones to help traders identify potential areas where price may react.
The indicator continuously scans price action for imbalance formations and plots dynamic zones directly on the chart. When price revisits these areas, the indicator highlights potential reaction zones while displaying LONG and SHORT signals based on its programmed logic.
Designed with a clean visual layout, the indicator helps traders monitor market structure without manually drawing imbalance or supply and demand zones.
🔷 HOW IT WORKS
The indicator continuously analyzes price action to identify market imbalances and institutional trading zones.
When qualifying conditions are met, it automatically:
• Detects Bullish Fair Value Gaps (FVG)
• Detects Bearish Fair Value Gaps (FVG)
• Identifies Demand Zones
• Identifies Supply Zones
• Tracks active zones until they are mitigated
• Displays LONG and SHORT signals according to the indicator's programmed conditions
• Updates zones dynamically as new market structure develops
This provides traders with a structured view of areas where price may revisit before continuing or changing direction.
📈 Bullish Demand Setup
1. A bullish imbalance creates a Fair Value Gap.
2. A Demand Zone is established.
3. Price retraces into the zone.
4. The indicator highlights the area and may display a LONG signal when its programmed conditions are satisfied.
📉 Bearish Supply Setup
1. A bearish imbalance creates a Fair Value Gap.
2. A Supply Zone is established.
3. Price revisits the supply area.
4. The indicator highlights the zone and may display a SHORT signal when its programmed conditions are satisfied.
📊 Dynamic Market Structure
Throughout changing market conditions, the indicator continuously updates:
• Bullish Fair Value Gaps
• Bearish Fair Value Gaps
• Supply Zones
• Demand Zones
• LONG Signals
• SHORT Signals
This helps traders monitor developing market structure in real time.
🔷 VISUAL FEATURES
• Automatic Fair Value Gap Detection
• Automatic Supply Zone Detection
• Automatic Demand Zone Detection
• Dynamic Zone Updates
• LONG & SHORT Signal Labels
• Historical Zone Display
• Customizable Colors
• Clean Chart Layout
• Real-Time Market Structure Updates
• Confirmed Calculation Logic
🔷 INPUTS
The indicator includes customizable settings for:
• Fair Value Gap Detection Length
• Supply & Demand Sensitivity
• Zone Extension
• Maximum Number of Zones
• Show LONG Signals
• Show SHORT Signals
• Color Settings
• Historical Zone Display
🔷 USAGE
A common workflow is:
• Monitor newly created Fair Value Gaps.
• Observe active Supply and Demand Zones.
• Watch for price revisiting these areas.
• Use LONG or SHORT signals together with your own market structure and confirmation techniques.
• Apply appropriate risk management before entering any trade.
The indicator is intended to support technical analysis and can be combined with additional tools such as trend analysis, support and resistance, volume, or candlestick confirmation.
🔷 MARKETS
The indicator can be applied to:
• Forex
• Gold (XAUUSD)
• Silver
• Cryptocurrency
• Stocks
• Indices
• Commodities
It is designed to adapt to multiple markets and can be used for intraday, swing, or longer-term analysis.
🔷 IDEAL TIMEFRAMES
Recommended timeframes include:
• 15 Minute
• 30 Minute
• 1 Hour
• 2 Hour
• 4 Hour
• Daily
Higher timeframes generally produce more significant market structure zones, while lower timeframes provide more frequent trading opportunities.
🔷 BEST PRACTICES
Many traders combine this indicator with:
• Market Structure Analysis
• Trend Direction
• Support & Resistance
• Liquidity Analysis
• Volume
• Candlestick Confirmation
• Risk Management Rules
Using multiple forms of analysis can help provide additional context when evaluating potential trading opportunities.
🔷 DISCLAIMER
This indicator is designed as a technical analysis tool and does not predict future market movements. Fair Value Gaps, Supply Zones, Demand Zones, and LONG or SHORT signals are generated according to the indicator's programmed logic and should be used alongside your own market analysis and risk management. No indicator can guarantee profitable trading results.
Developed by Jos-ProTrader (JPT)
Fair Value Gap (FVG) Supply & Demand Zones [JPT] is a market structure indicator that automatically detects Fair Value Gaps (FVGs) together with Supply and Demand Zones to help traders identify potential areas where price may react.
The indicator continuously scans price action for imbalance formations and plots dynamic zones directly on the chart. When price revisits these areas, the indicator highlights potential reaction zones while displaying LONG and SHORT signals based on its programmed logic.
Designed with a clean visual layout, the indicator helps traders monitor market structure without manually drawing imbalance or supply and demand zones.
🔷 HOW IT WORKS
The indicator continuously analyzes price action to identify market imbalances and institutional trading zones.
When qualifying conditions are met, it automatically:
• Detects Bullish Fair Value Gaps (FVG)
• Detects Bearish Fair Value Gaps (FVG)
• Identifies Demand Zones
• Identifies Supply Zones
• Tracks active zones until they are mitigated
• Displays LONG and SHORT signals according to the indicator's programmed conditions
• Updates zones dynamically as new market structure develops
This provides traders with a structured view of areas where price may revisit before continuing or changing direction.
📈 Bullish Demand Setup
1. A bullish imbalance creates a Fair Value Gap.
2. A Demand Zone is established.
3. Price retraces into the zone.
4. The indicator highlights the area and may display a LONG signal when its programmed conditions are satisfied.
📉 Bearish Supply Setup
1. A bearish imbalance creates a Fair Value Gap.
2. A Supply Zone is established.
3. Price revisits the supply area.
4. The indicator highlights the zone and may display a SHORT signal when its programmed conditions are satisfied.
📊 Dynamic Market Structure
Throughout changing market conditions, the indicator continuously updates:
• Bullish Fair Value Gaps
• Bearish Fair Value Gaps
• Supply Zones
• Demand Zones
• LONG Signals
• SHORT Signals
This helps traders monitor developing market structure in real time.
🔷 VISUAL FEATURES
• Automatic Fair Value Gap Detection
• Automatic Supply Zone Detection
• Automatic Demand Zone Detection
• Dynamic Zone Updates
• LONG & SHORT Signal Labels
• Historical Zone Display
• Customizable Colors
• Clean Chart Layout
• Real-Time Market Structure Updates
• Confirmed Calculation Logic
🔷 INPUTS
The indicator includes customizable settings for:
• Fair Value Gap Detection Length
• Supply & Demand Sensitivity
• Zone Extension
• Maximum Number of Zones
• Show LONG Signals
• Show SHORT Signals
• Color Settings
• Historical Zone Display
🔷 USAGE
A common workflow is:
• Monitor newly created Fair Value Gaps.
• Observe active Supply and Demand Zones.
• Watch for price revisiting these areas.
• Use LONG or SHORT signals together with your own market structure and confirmation techniques.
• Apply appropriate risk management before entering any trade.
The indicator is intended to support technical analysis and can be combined with additional tools such as trend analysis, support and resistance, volume, or candlestick confirmation.
🔷 MARKETS
The indicator can be applied to:
• Forex
• Gold (XAUUSD)
• Silver
• Cryptocurrency
• Stocks
• Indices
• Commodities
It is designed to adapt to multiple markets and can be used for intraday, swing, or longer-term analysis.
🔷 IDEAL TIMEFRAMES
Recommended timeframes include:
• 15 Minute
• 30 Minute
• 1 Hour
• 2 Hour
• 4 Hour
• Daily
Higher timeframes generally produce more significant market structure zones, while lower timeframes provide more frequent trading opportunities.
🔷 BEST PRACTICES
Many traders combine this indicator with:
• Market Structure Analysis
• Trend Direction
• Support & Resistance
• Liquidity Analysis
• Volume
• Candlestick Confirmation
• Risk Management Rules
Using multiple forms of analysis can help provide additional context when evaluating potential trading opportunities.
🔷 DISCLAIMER
This indicator is designed as a technical analysis tool and does not predict future market movements. Fair Value Gaps, Supply Zones, Demand Zones, and LONG or SHORT signals are generated according to the indicator's programmed logic and should be used alongside your own market analysis and risk management. No indicator can guarantee profitable trading results.
Developed by Jos-ProTrader (JPT)
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
t.me/EdwardJosFXAnalyst
📈 Follow our free Telegram channel for daily Forex, Gold, and Crypto market analysis, trade ideas, and educational trading content.
🔗Join: t.me/EdwardJosFXAnalyst
Trade smart. Manage risk.
📈 Follow our free Telegram channel for daily Forex, Gold, and Crypto market analysis, trade ideas, and educational trading content.
🔗Join: t.me/EdwardJosFXAnalyst
Trade smart. Manage risk.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
t.me/EdwardJosFXAnalyst
📈 Follow our free Telegram channel for daily Forex, Gold, and Crypto market analysis, trade ideas, and educational trading content.
🔗Join: t.me/EdwardJosFXAnalyst
Trade smart. Manage risk.
📈 Follow our free Telegram channel for daily Forex, Gold, and Crypto market analysis, trade ideas, and educational trading content.
🔗Join: t.me/EdwardJosFXAnalyst
Trade smart. Manage risk.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.