PROTECTED SOURCE SCRIPT
Updated

FVG Detector Modified

264
# FVG Detector Modified

## Description
The FVG Detector Modified is an advanced technical analysis tool designed to identify Fair Value Gaps (FVGs) in the market with enhanced filtering capabilities. FVGs represent imbalances between buyers and sellers, indicating potential areas where price may return to "fill the gap" in the future.

This indicator not only identifies traditional bullish and bearish FVGs but also features a unique pattern recognition system that highlights significant FVGs by detecting consecutive occurrences within a customizable lookback period. The smart visualization system prevents visual clutter by avoiding duplicate markers in close proximity.

## Key Features

- **Bullish & Bearish FVG Detection**: Automatically identifies and displays both bullish (blue) and bearish (red) Fair Value Gaps
- **Customizable Appearance**: Adjust colors, transparency, and extension of FVGs to match your chart setup
- **Width Filtering**: Filter out insignificant FVGs using minimum width thresholds with multiple measurement methods (Points, Percentage, or ATR)
- **Smart Pattern Recognition**: Highlights significant FVGs when multiple gaps occur within a customizable lookback period
- **Anti-Clutter Technology**: Prevents visual overload by avoiding duplicate markers within a 5-candle window
- **Circle Size Options**: Choose from five different circle marker sizes (Tiny to Huge) to suit your chart setup
- **Multiple Alert Types**: Set alerts for basic FVG formations, pattern-based FVGs, and actual circle marker appearances

## Trading Applications

- Identify potential price reversal zones where market may return to "fill the gap"
- Recognize high-probability trading opportunities when multiple FVGs form in succession
- Use as confluence with other indicators for more precise entry and exit points
- Spot market structure shifts by monitoring the frequency and size of FVGs

## Settings

The indicator features comprehensive customization options:
- Toggle FVG visibility and appearance
- Set minimum width filters using various measurement methods
- Adjust lookback periods for pattern recognition
- Customize circle marker appearance and size
- Configure FVG extension for better visibility

*Note: This indicator is based on original work by LuxAlgo, modified with enhanced filtering capabilities to improve signal quality and reduce false positives.*
Release Notes
# FVG Detector Modified

## Description
The FVG Detector Modified is an advanced technical analysis tool designed to identify Fair Value Gaps (FVGs) in the market with enhanced filtering capabilities. FVGs represent imbalances between buyers and sellers, indicating potential areas where price may return to "fill the gap" in the future.

This indicator not only identifies traditional bullish and bearish FVGs but also features a unique pattern recognition system that highlights significant FVGs by detecting consecutive occurrences within a customizable lookback period. The smart visualization system prevents visual clutter by avoiding duplicate markers in close proximity.

## Key Features

- **Bullish & Bearish FVG Detection**: Automatically identifies and displays both bullish (blue) and bearish (red) Fair Value Gaps
- **Customizable Appearance**: Adjust colors, transparency, and extension of FVGs to match your chart setup
- **Width Filtering**: Filter out insignificant FVGs using minimum width thresholds with multiple measurement methods (Points, Percentage, or ATR)
- **Smart Pattern Recognition**: Highlights significant FVGs when multiple gaps occur within a customizable lookback period
- **Anti-Clutter Technology**: Prevents visual overload by avoiding duplicate markers within a 5-candle window
- **Circle Size Options**: Choose from five different circle marker sizes (Tiny to Huge) to suit your chart setup
- **Multiple Alert Types**: Set alerts for basic FVG formations, pattern-based FVGs, and actual circle marker appearances

## Trading Applications

- Identify potential price reversal zones where market may return to "fill the gap"
- Recognize high-probability trading opportunities when multiple FVGs form in succession
- Use as confluence with other indicators for more precise entry and exit points
- Spot market structure shifts by monitoring the frequency and size of FVGs

## Settings

The indicator features comprehensive customization options:
- Toggle FVG visibility and appearance
- Set minimum width filters using various measurement methods
- Adjust lookback periods for pattern recognition
- Customize circle marker appearance and size
- Configure FVG extension for better visibility

*Note: This indicator is based on original work by LuxAlgo, modified with enhanced filtering capabilities to improve signal quality and reduce false positives.*
Release Notes
updated the default settings

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.