Script Description: Fair Value Gap (FVG) Detector with Large Movement Filter
This indicator is designed to identify Fair Value Gaps (FVG), which are price imbalances observed between three consecutive candles. Fair Value Gap detection is commonly used by traders to locate areas of imbalance where demand and supply temporarily lose equilibrium. This imbalance often draws price back to these zones, making them potential points of interest for buy or sell opportunities.
Key Features of the Indicator FVG Detection Based on Three Consecutive Candles: The script identifies a Fair Value Gap between three consecutive candles. This gap appears when the high of the first candle is below the low of the third candle (or vice versa). These gap zones are significant as they indicate an imbalance in price between buyers and sellers, with the expectation that price may revisit these areas in the future.
Large Movement Filter Using ATR: To improve accuracy and avoid false signals in minor price fluctuations, this indicator includes a large movement filter based on the Average True Range (ATR). The ATR is calculated over a configurable period, and a multiplier is applied to set the minimum required range for a large movement. This helps ensure that only gaps in areas with significant price movement are identified.
Visual Differentiation with Customizable Colors: The script allows users to configure FVG box colors for easy gap visualization. Identified zones on the chart are highlighted with a colored box, making it easy for the trader to identify imbalance points and observe potential mitigation.
FVG Mitigation and Capture: The indicator continuously checks if the price is within the FVG zone, indicating that the gap has been mitigated or “captured” by the price. The mitigation or capture status is displayed visually on the chart, using a color scheme to indicate whether the gap has been retested by price after its creation.
How to Use the Indicator Configuring Parameters:
ATR Multiplier: Defines how large a movement relative to ATR is required for the gap to be considered significant. Higher values require larger movements. ATR Period: Sets the number of candles used in the ATR calculation, affecting the sensitivity to large movements. Customizable Colors: Traders can adjust the FVG box colors and labels indicating mitigation and capture of the imbalance zones. Visual Interpretation:
FVG Boxes: Colored boxes will appear on the chart to highlight gap zones. These boxes only display following the detection of a large movement, as defined by ATR. Mitigation and Capture Labels: The indicator places a label below the bar when a gap is identified, highlighting zones where gaps may be mitigated or captured. The color scheme helps traders quickly interpret the status of a gap. Underlying Concepts and Practical Application The Fair Value Gap is widely used in liquidity analysis and price reversal zones. By identifying FVG zones based on large price movements, this script enables traders to monitor potential gap-fill areas. With the large movement filter, the indicator is ideal for strategies that prioritize liquidity and price zone mitigation, making it useful for both short-term (scalping) and long-term strategies.
This indicator provides a solid foundation for traders interested in observing price imbalances and future mitigations.
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.