First presented ineficiency indicator - 10 sessions📊 Enhanced FVG Indicator with Multi-Session Support
Overview
The Enhanced FVG (Fair Value Gap) Indicator is a professional-grade tool designed for traders who want to identify and track Fair Value Gaps across multiple trading sessions. This indicator combines advanced FVG detection with smart extension modes, customizable alerts, and automatic instrument calibration.
🎯 What is a Fair Value Gap (FVG)?
A Fair Value Gap occurs when there's a price imbalance in the market, creating a "gap" that the price often revisits. This happens when:
Bullish FVG: The high of candle 2 bars ago is below the low of the current candle
Bearish FVG: The low of candle 2 bars ago is above the high of the current candle
FVGs are powerful supply and demand zones that smart money traders use to identify potential reversal or continuation points.
✨ Key Features
🔟 Multiple Session Support
10 Configurable Sessions: Track FVGs across different time windows throughout the day
Independent Control: Enable/disable each session individually
Custom Session Times: Define your own session hours in any timezone
Unique Colors: Each session has its own customizable color scheme
Session Labels: Clear identification with customizable labels (S1-S10)
🎨 Modern Label System
Text-Only Labels: Clean, modern design without background boxes
9 Position Options: Place labels anywhere on the FVG (Top/Middle/Bottom × Left/Center/Right)
Dynamic Information: Shows session name, direction (↑/↓), and size in points
Adjustable Size: Choose from Tiny, Small, Normal, Large, or Huge text
Custom Colors: Full control over label text color
📏 Smart Extension Modes
1. Follow Current Bar
FVGs dynamically extend to follow the current price action
Configurable bar offset (-50 to +50) to project ahead or stop before current bar
Perfect for real-time trading and keeping your chart clean
2. Until Time
Extend FVGs until a specific time of day (HHMM format)
Ideal for intraday traders with specific market closure times
Example: Stop all FVGs at 1600 (4:00 PM)
3. Until Retest
Automatically stop extending when price retests the FVG
Three sensitivity levels:
Touch: Wick touches the FVG zone
Close Inside: Close price enters the FVG
Full Body Inside: Entire candle body within the FVG
Great for validating FVG fills and trading opportunities
🔔 Advanced Alert System
Creation Alerts: Get notified when a new FVG forms
Format: "FVG Created: S1 ↑ 79pts @ 70339.00-70418.30"
Retest Alerts: One-time alert when price revisits a FVG
Format: "FVG Retested: S1 @ 70380.00"
Configurable: Enable/disable alerts independently
No Spam: Each FVG only triggers one retest alert
🧮 Automatic Point Calculation
The indicator automatically detects your instrument type and calculates FVG size correctly:
Crypto: Bitcoin, Ethereum, Altcoins (÷10 or ÷100)
Forex: All major pairs with correct pip calculation
Futures: ES, NQ, YM, CL, GC with proper point values
Indices: S&P500, NASDAQ, etc. (1 point = 1 point)
Stocks: Penny and dollar stocks (cents calculation)
Manual Override: Option to set custom divisor if needed
🎯 Consequent Encroachment (CE)
Middle Line: Shows the 50% level of each FVG
Customizable Style: Solid, Dashed, or Dotted
Adjustable Thickness: 1-5 pixel width
Custom Color: Match your chart theme
Toggle On/Off: Show or hide as needed
🌍 Timezone Support
4 Major Timezones: America/New_York, UTC, Europe/London, Asia/Tokyo
Session-Based: Define sessions in your preferred timezone
Global Trading: Works for traders anywhere in the world
📋 Default Configuration
Active Sessions (1-5):
Session 1: 09:31-09:49 (Market Open)
Session 2: 09:50-10:30 (Morning Momentum)
Session 3: 10:50-11:10 (Mid-Morning)
Session 4: 11:50-12:10 (Pre-Lunch)
Session 5: 13:30-14:10 (Post-Lunch)
Additional Sessions (6-10): Disabled by default, customize as needed
Colors:
S1: Blue | S2: Purple | S3: Orange | S4: Yellow | S5: Aqua
S6: Green | S7: Red | S8: Fuchsia | S9: Lime | S10: Teal
🚀 How to Use
Basic Setup
Add the indicator to your chart
Select your timezone
Enable desired sessions (1-5 active by default)
Choose your extension mode
Configure alerts if needed
Trading Strategies
Intraday Scalping:
Use "Until Retest" mode with "Touch" sensitivity
Enable alerts for quick entries
Focus on Sessions 1-2 for high volatility
Swing Trading:
Use "Until Time" mode to extend FVGs to market close
Set retest sensitivity to "Close Inside" for confirmation
Track multiple sessions for confluence zones
Smart Money Concepts:
Combine FVGs with order blocks and liquidity zones
Use CE line for partial profit targets
Watch for FVG retests at key support/resistance levels
⚙️ Performance Optimizations
Efficient Rendering: Max 500 boxes, labels, and lines
Historical Limit: Display up to 30 days of FVGs
Memory Management: Inactive FVGs automatically marked
Real-Time Updates: Dynamic extension without lag
📊 Compatible Instruments
✅ Cryptocurrencies (Bitcoin, Ethereum, Altcoins)
✅ Forex Pairs (All majors and crosses)
✅ Futures Contracts (Indices, Commodities, Metals)
✅ Stock Indices (S&P500, NASDAQ, DOW)
✅ Individual Stocks
✅ Any instrument on TradingView
🎓 Understanding FVG Trading
Why FVGs Matter:
Represent inefficient price action
Act as magnets for price retracement
Often mark institutional order flow
High probability reversal zones
Best Practices:
Combine with volume analysis
Use higher timeframe FVGs for stronger zones
Wait for confirmation before entry
Place stops beyond the FVG boundaries
🔧 Customization Options
Visual Settings:
10 session colors
Border color (transparent by default)
CE line color, style, and thickness
Label size, color, and position
Functional Settings:
Extension mode (Follow/Time/Retest)
Bar offset (-50 to +50)
Retest sensitivity (3 levels)
Alert preferences
Calculation Settings:
Auto-detect point divisor
Manual divisor override
Maximum days to display
💡 Tips & Tricks
Reduce Chart Clutter: Disable sessions you don't trade
Session Optimization: Adjust session times to match your market's volatility
Confluence Trading: Enable multiple sessions to find overlapping FVGs
Mobile Trading: Use alerts to trade on-the-go
Backtesting: Increase max days to analyze historical FVG behavior
📝 Version History
v1.0 - Initial Release
10 configurable sessions
3 extension modes
Automatic point calculation
Alert system
Modern label design
Consequent encroachment support
🤝 Support & Feedback
If you find this indicator helpful, please leave a review and share your experience! For questions or feature requests, feel free to comment below.
Happy Trading! 🎯📈
Indicateur Pine Script®






















