All Guides

Fair Value Gap Tool

Auto-detect Fair Value Gaps and Volume Imbalances on any timeframe. Chain imbalances, apply interval color presets, display gap size, risk values, and receive Pushover push alerts — all from a single drawing.

01 — Detection

Controls how the tool identifies Fair Value Gaps on the chart. When you place the tool near a candle, it scans the surrounding candles and snaps to the detected gap.

PropertyDefaultDescription
Detect Volume Imbalance false When enabled, the tool also detects Volume Imbalances (single-candle gaps between consecutive candle bodies) in addition to standard 3-candle Fair Value Gaps.
Chain All Imbalances false Chains consecutive FVGs and Volume Imbalances into a single zone. Useful for identifying larger imbalance areas where multiple gaps overlap.
Min Size (Ticks) 0 Minimum gap size in ticks. Gaps smaller than this are ignored. Set to 0 to disable the filter.
Max Size (Ticks) 0 Maximum gap size in ticks. Gaps larger than this are ignored. Set to 0 to disable the filter.

Imbalance Type

  • FairValueGap
  • VolumeImbalance
  • Mixed

02 — Appearance

Visual styling for the FVG zone — fill colors, border, midpoint and quadrant lines.

PropertyDefaultDescription
Bullish FillTheme defaultFill color for bullish FVG zones.
Bearish FillTheme defaultFill color for bearish FVG zones.
Fill Opacity15Opacity of the zone fill (0 = transparent, 100 = solid).
Bullish BorderTheme defaultBorder stroke color for bullish zones.
Bearish BorderTheme defaultBorder stroke color for bearish zones.
Border Opacity50Opacity of the zone border (0–100).
Border Width1Thickness of the zone border in pixels (1–10).
Show Midpoint LinefalseOn/Off. Draw a horizontal line at 50% of the zone height.
Show Quadrant LinesfalseOn/Off. Draw lines at 25% and 75% of the zone height, dividing it into four quartiles.
Line ColorTheme defaultColor for midpoint and quadrant lines.
Use different color per IntervalfalseOverride fill/border with per-interval colors (see Interval Presets).

Interval Presets (I1 – I8)

When Use different color per Interval is enabled, up to 8 interval presets assign unique colors to FVGs drawn on different timeframes. Each preset matches a specific bar type and period.

How it works: When you draw an FVG on a 5-minute chart, the tool checks your interval presets. If Interval 2 is set to "Minute / 5", it applies Interval 2's outline and area colors instead of the default appearance. Unmatched intervals fall back to the default colors.
PropertyRangeDescription
EnabledTurn this interval preset on or off.
Bar TypeNinjaTrader bar type: Minute, Day, Tick, Range, etc.
Value1–10 000Period value — e.g. 5 for a 5-minute chart.
Outline StrokeBorder color override for this interval.
Area ColorFill color override for this interval.
Area Opacity0–100Fill opacity override for this interval.

03 — Label

A free-text label displayed directly on or near the zone. Supports background, bold, custom font and positional placement.

PropertyDefaultDescription
Label Text""The text to display. Supports text template placeholders (see below). Leave blank to hide.
PositionBottomRightOutsideWhere to place the label relative to the zone rectangle.
Font FamilyJetBrains MonoFont family name for the label, e.g. JetBrains Mono.
Font Size12Label font size in pixels (8–72).
ColorTheme defaultText color.
BoldfalseOn/Off. Display label in bold weight.
BackgroundfalseDraw a filled rectangle behind the label text.
Background ColorTheme defaultBackground fill color.
Background Opacity70Background fill opacity (0–100).
Display Priority5Drawing order when multiple text elements overlap (1 = drawn first, 10 = drawn last / on top).

Text Placement Options

  • TopLeft
  • TopCenter
  • TopRight
  • MiddleLeft
  • MiddleCenter
  • MiddleRight
  • BottomLeft
  • BottomCenter
  • BottomRight
  • LeftOutside
  • RightOutside
  • TopOutside
  • BottomOutside
  • TopLeftOutside
  • TopRightOutside
  • BottomLeftOutside
  • BottomRightOutside

03a — Text Templates

Ten template slots that let you construct dynamic labels using placeholders. Type a template string in any slot and reference it in the Label Text field or use it directly. Placeholders are automatically replaced with live values.

Example: A template like {type} {direction} | {ticks}t might display as FVG Bullish | 8t on the chart.
PlaceholderDescription
{type}Imbalance type — FVG, VI (Volume Imbalance), or Mixed
{direction}Bullish or Bearish
{top}Top price of the zone
{bottom}Bottom price of the zone
{mid}Midpoint price
{ticks}Gap size in ticks
{points}Gap size in points
{pct}Gap size as a percentage
{currency}Gap size in dollar value
{interval}Chart interval (e.g. "5 Min")
{date}Date the FVG was drawn
{time}Time the FVG was drawn

04 — Prices

Show the top and bottom price levels of the gap directly on the chart.

PropertyDefaultDescription
Show PricestrueToggle the price display on or off.
Text FormatTicksFromCurrentHow prices are displayed. See format options below.
PositionBottomRightOutsideWhere to position the price text. See placement options below.
Font Size11Font size for price text (8–24).
ColorTheme defaultPrice text color.
BackgroundfalseShow a background behind price text.
Background ColorTheme defaultPrice background color.
Background Opacity70Price background opacity (0–100).
Display Priority5Drawing order (1–10).

Price Display Formats

  • FullPrice
  • LastTwoDigits
  • LastThreeDigits
  • LastFourDigits
  • TicksFromCurrent

05 — Gap Size

Display the height of the gap in your preferred unit — ticks, points, percentage, or currency.

PropertyDefaultDescription
Show Gap SizefalseToggle gap-size text on or off.
Text FormatTicksUnit for the gap size value. See format options below.
PositionMiddleCenterWhere to position the gap size text. See placement options below.
Font Size11Gap size font size (8–24).
ColorTheme defaultGap size text color.
BackgroundfalseShow background behind gap size text.
Background ColorTheme defaultGap size background color.
Background Opacity70Gap size background opacity (0–100).
Display Priority5Drawing order (1–10).

Gap Size Formats

  • Points
  • Ticks
  • Percentage
  • Currency

08 — Risk

Shows the monetary or tick risk of the gap — useful for quickly assessing whether a gap is worth trading.

PropertyDefaultDescription
Show RisktrueToggle the risk readout on or off.
Text FormatCurrencyUnit for the risk value. See format options below.
PositionBottomRightOutsideWhere to position the risk text. See placement options below.
Font Size11Risk text font size (8–24).
ColorTheme defaultRisk text color.
BackgroundfalseShow background behind risk text.
Background ColorTheme defaultRisk background color.
Background Opacity70Risk background opacity (0–100).
Display Priority5Drawing order (1–10).

Risk Formats

  • Currency
  • Points
  • Ticks
  • Percentage

10 — Behavior

Controls how the zone extends across time, and when text is visible.

PropertyDefaultDescription
Auto ExtendfalseContinuously extend the zone's right edge to the latest bar as new bars form.
Extend to Session EndtrueSnap the zone's right edge to the end of the trading session it was drawn in.
Extend to Clicked Session EndtrueWhen placing the tool, automatically stretch it to the end of the session at the clicked bar.
Extend RightfalseExtend the midpoint and quadrant lines indefinitely to the right.
Show Text Only When SelectedfalseHide all text elements (label, prices, gap size, risk) until the drawing is clicked/selected.
Anchor Size6Size of the drag-handle anchors in pixels (3–15).
Anchor Outline ColorBlackColor of the anchor border.
Anchor Fill ColorTransparentColor of the anchor interior.

11 — Alerts

Trigger an audible NinjaTrader alert and/or a Pushover push notification when price enters the zone.

PropertyDefaultDescription
Enable AlertfalseMaster switch — enables real-time price monitoring for this zone.
Alert SoundAlert1Built-in NinjaTrader alert sound to play.
Alert Title""Title shown in the NinjaTrader Alerts window.
Alert Message""Body text for the alert. Supports template placeholders.
Use PushoverfalseSend a push notification via the Pushover service when the alert fires.
Pushover User Key""Your Pushover user key (from pushover.net).
Pushover API Token""Your Pushover API token.
Pushover SoundpushoverNotification sound on your device.
Custom Sound Name""Name of a custom sound uploaded to your Pushover account.

Pushover Sound Options

  • pushover
  • bike
  • bugle
  • cashregister
  • classical
  • cosmic
  • falling
  • gamelan
  • incoming
  • intermission
  • magic
  • mechanical
  • pianobar
  • siren
  • spacealarm
  • tugboat
  • alien
  • climb
  • persistent
  • echo
  • updown
  • vibrate
  • none
  • custom