Contact support

Choose a timeframe and filter fair value gaps

Fair Value Gaps checks three consecutive candles. It marks the space between the first and third candles when their price ranges do not touch and the middle candle passes two size filters. Use FVG Time Frame to choose which candles the indicator measures.

Choose the bars to measure

  1. On your NinjaTrader chart, press Ctrl+I to open Indicators. Under Available, open ChartSpots and double-click Fair Value Gaps. If it is already on the chart, select it under Configured.
  2. Under 1. Configuration, set FVG Time Frame. ChartDataSeries uses the chart bars and is the default. OneMinute, FiveMinutes, FifteenMinutes and ThirtyMinutes use a separate minute series.
  3. Under 2. Gap Filters, set the body percentage, range period and multiplier. Select OK. With the default On bar close calculation, the indicator confirms a gap when the third candle on the selected timeframe closes.
Fair Value Gaps settings showing ChartDataSeries, a 70 percent body filter, a 14-bar period and a multiplier of 2.
Choose FiveMinutes on a one-minute chart to measure five-minute candles. The one-minute chart still displays the resulting rectangles.

Set the middle-candle filters

  • Gap Candle Body Percentage measures the distance from open to close as a percentage of the middle candle’s full high-to-low range. The default is 70, and the setting accepts 1 to 100. A body of exactly 70% passes at the default. Either candle color can qualify.
  • Standard Deviation Range Period sets how many recent high-to-low ranges form the reference. The default is 14. The window ends with the third candle, and the indicator waits for a full window before marking a gap.
  • Standard Deviation Multiplier (Threshold) sets how many standard deviations to add to the average range. The default is 2. The middle candle’s range must exceed that result. Raising the multiplier makes the range test harder to pass.

Check a three-candle example

Suppose the reference average is 2 points and the standard deviation is 1 point. With a multiplier of 2, the threshold is 4 points. A middle candle with a 5-point range and a 4-point body passes both default filters. Its range exceeds 4 points and its body covers 80%.

If the first candle’s high is 100.00 and the third candle’s low is 101.00, the indicator draws an upward gap from 100.00 to 101.00. If the third low is exactly 100.00, the outer candles touch and no gap forms. For a downward gap, the third high must be below the first low.

Downward gap on an ES one-minute chart with the gray rectangle starting at the middle candle.
The tall red candle is the middle candle. The small candle immediately to its left has a low of 7152.25. The next red candle to its right has a high of 7150.25. Those two prices set the edges of the gray rectangle.