NinjaTrader Fair Value Gap (FVG) Indicator

NinjaTrader Fair Value Gap (FVG) Indicator
NinjaTrader Fair Value Gap (FVG) Indicator identifies price imbalance zones formed during impulsive market moves, where price was not fairly traded. Based on ICT and Smart Money concepts, it automatically detects bullish and bearish FVGs, tracks their mitigation, and filters insignificant gaps. Flexible validation, mitigation rules, and visual controls help traders analyze retracements, continuation scenarios, and price reactions within a clear imbalance-based market context.

NinjaTrader Fair Value Gap (FVG) Indicator — Overview

 

NinjaTrader Fair Value Gap (FVG) Indicator

The NinjaTrader Fair Value Gap (FVG) Indicator is based on the concept of price imbalance — a key element of ICT and Smart Money methodologies. A Fair Value Gap forms during an impulsive price movement when the market moves through a range so quickly that buy and sell orders do not interact evenly. As a result, an inefficiency is created, leaving behind an area where price was not fairly traded.

NinjaTrader Fair Value Gap Indicator

From a market mechanics perspective, FVGs represent moments when dominant market participants control the order flow. Large institutions often initiate positions using aggressive market orders, driving price rapidly in one direction. Because liquidity is not fully absorbed at every price level, gaps in fair value emerge. These imbalances reflect institutional order flow dynamics and serve as significant reference points within a structural market context.

One of the defining characteristics of Fair Value Gaps is their role as significant reference areas where price may seek rebalancing. After an impulsive move, the market often interacts with the imbalance zone to mitigate unfilled orders as part of its structural development. This behavior makes FVGs important reference areas for contextual analysis rather than standalone execution triggers. They highlight zones of potential price interaction and structural interest.

The NinjaTrader Fair Value Gap Indicator automates the identification of these imbalance zones, removing subjective interpretation and ensuring consistent detection across different market conditions. By clearly marking FVG areas on the chart, the indicator helps traders visualize where inefficiencies were created and how price interacts with them over time.

In practical trading analysis, Fair Value Gaps serve several important purposes:

  • they reveal zones of institutional imbalance rather than retail-driven noise;
  • they help identify potential retracement levels within an impulsive move;
  • they provide context for continuation or rejection scenarios when combined with market structure.

 

Instead of treating price movement as a series of isolated candles, the FVG methodology frames the market as a process of imbalance and compensation. The NinjaTrader Fair Value Gap Indicator supports this perspective by integrating imbalance analysis directly into the chart, allowing traders to integrate imbalance analysis into their methodology based on the underlying logic of order flow.

 

Key Features and Components of the NinjaTrader Fair Value Gap Indicator

The NinjaTrader FVG Indicator combines advanced tools and features designed to help traders systematically identify, analyze, and manage Fair Value Gaps. Its functionality allows traders to control and fine-tune FVG detection, validation, and mitigation logic, enabling flexible configuration for different trading strategies and market conditions. These features include:

 

FVG Mitigation Logic

This feature defines when a Fair Value Gap is considered mitigated. Traders can choose full fill, partial touch, or threshold-based mitigation, as well as the price reference used for validation (High/Low or Close). This flexibility allows traders to adapt FVG mitigation logic to different trading styles, execution models, and strategy rules, rather than being locked into a single rigid interpretation common in default indicators.

NinjaTrader FVG Indicator - Full Fill Mitigation

Full Fill Mitigation

NinjaTrader FVG Indicator - Partial Touch Mitigation

Partial Touch Mitigation

NinjaTrader FVG Indicator - Threshold-Based Mitigation

Threshold-Based Mitigation

 

FVG Validation Filters

This component controls which FVGs are considered relevant. Traders can filter by bullish, bearish, or both directions, define minimum gap size in ticks, points, or percentages, set a minimum bar span, and limit FVG lifetime in bars. It filters minor or outdated imbalances, optimizing chart clarity, and focuses analysis on structurally meaningful zones.

NinjaTrader Fair Value Gap indicator showing minimum gap size set to 5 ticks

Minimum Gap Size: 5 Ticks

NinjaTrader FVG indicator example with strict gap size filtering

Minimum Gap Size: 10 Ticks

 

Alert & Visual Markers

The indicator provides alerts for FVG formation, price entry into a zone, and mitigation events, enabling traders to track key imbalance interactions in real time. Exposed analytical plots allow FVG events to be integrated directly into automated logic and broader analytical frameworks.

 

Visual Control Settings

Traders can choose between standard or shrink display modes and fully customize colors and opacities for bullish, bearish, mitigated, and expired zones, ensuring clear distinction even on busy charts. This provides a clear visual context for FVG behavior and price interaction over time.

FVG Indicator for NinjaTrader -Standard FVG Display Mode

Standard FVG Display Mode

Shrink FVG Display Mode

 

NinjaTrader Fair Value Gap (FVG) Indicator input parameters

The indicator has the following parameters:

NinjaTrader FVG Indicator Settings Parameters

Allowed Direction – defines which Fair Value Gaps are processed by the indicator. The BOTH option enables detection of bullish and bearish FVGs, while Long or Short restrict analysis to one directional bias only.

Show FVG Type – controls which FVG states are displayed on the chart. Traders can choose to show all detected FVGs, only active zones, or specific inactive states such as mitigated or expired zones.

FVG Display Type – controls how FVG zones are visually rendered on the chart. Default mode displays fixed zones, while Shrink mode dynamically reduces the zone size as price partially fills the imbalance.

Mitigation Method – defines when a Fair Value Gap is considered mitigated. Available options include full fill, partial touch, or threshold-based mitigation, allowing adaptation to different execution and analysis styles.

Mitigated Price Type – specifies which candle price is used to validate mitigation events. Traders can choose between High/Low or Close, depending on whether mitigation should be confirmed by extremes or by closing price.

Gap Size Mode – defines the unit used to measure the size of an FVG gap. Available options include ticks, points, or percentages, providing flexibility across instruments and price scales.

Minimum Gap Size – sets the minimum allowed FVG size based on the selected Gap Size Mode. This parameter filters out small imbalances that lack structural or trading relevance.

FVG Min Length (bars) – defines the minimum number of bars required for an FVG to be detected. This helps exclude short-lived or insignificant gaps from analysis.

Max FVG Duration – sets the maximum number of bars an FVG can remain active. If no mitigation occurs within this period, the zone is automatically marked as expired.

Enable FVGs Display Limit – limits the number of most recent FVGs displayed on the chart, helping maintain visual clarity during extended analysis periods.

FVG Alerts – enables alerts for key FVG events, including zone creation, price entry into an FVG, and mitigation.

 

Custom Programming

mt4 custom programming

We can customize this indicator to your needs — adding functions, modifying logic, or integrating it with other tools for your workflow.

We also convert indicators into Automated Trading Strategies with advanced functions (trailing stops, risk management, filters) tailored to your trading style strictly according to your specifications.

Request a free consultation to discuss the technical scope and timeline of your project.

 

We Value Your Feedback

We are committed to the ongoing development and refinement of our indicators. If you’ve spotted a bug, feel that something essential is missing, or have ideas that could make the indicator even better, just send us a message. Your feedback helps us improve and deliver tools that truly meet traders’ needs.

 

Exposed Analytical Plots for Strategy Builder Integration

The indicator provides a set of exposed analytical plot outputs designed for structured integration with third-party strategy builders and automation tools such as BloodHound and BlackBird (SharkIndicators), as well as other algorithmic trading environments.

Analytical Plot Name Output Values Description
  FVG Value  
  MitigatedPoint Value  

Plot output names and descriptions are technical identifiers intended solely for software integration purposes and do not constitute trading advice, signals, or recommendations.

See other indicators on a single subscription
NinjaTrader BOS & CHOCH and FVG Indicator
NinjaTrader Order Block Indicator
NinjaTrader Market Structure (BOS & CHOCH) Indicator