• International Apps
    • German
    • Russian
    • Spanish
    • French
    • Portuguese
  • Submit Your App
  • Get NinjaTrader
NinjaTrader Ecosystem
  • NinjaTrader Ecosystem
  • BROKERS
  • MARKET DATA
  • WEBINARS
  • SEARCH
    • Apps & Services
    • User App Share

Gap Detector

The Gap & Imbalance Detector is a multi-timeframe market-structure tool designed to highlight price inefficiencies that often act as future targets or reaction zones. It automatically detects and visualizes two core elements of auction behavior: true session gaps and volume imbalance zones. These zones can help traders identify unmitigated price areas, directional intent, and potential turning points.


1. True Session Gaps

A session gap occurs when the market opens at a different price than the previous session’s close, leaving a clean void on the chart.
The indicator:

  • Tracks the previous regular-trading-hours (RTH) close
  • Compares it to the next session’s open
  • Automatically draws a zone when a true gap exists
  • Extends the gap forward until price fully mitigates it

Bullish gaps are shaded one color, bearish gaps another.
Once price fills the gap according to your chosen logic, the zone is either removed or converted into a historical reference level.


2. Volume Imbalance Zones

Imbalances form when the market moves aggressively from one price to another without meaningful two-way trading. These moves often leave behind “inefficient” price areas that the market revisits later.

The indicator:

  • Analyzes each bar for directional displacement
  • Detects bullish and bearish imbalances based on open/close relationships
  • Marks the imbalance with a dynamic zone
  • Extends the zone forward until price trades back through it

You can enable imbalances on the primary timeframe or add additional timeframes for broader context, such as 15-minute, tick, or range charts.


3. Flexible Fill Logic

Each zone can be considered “mitigated” using one of two settings: Strict Logic

A zone is filled only when price closes beyond or opens beyond the boundary. Loose Logic

A simple wick touch is enough to consider the area mitigated.

This flexibility allows traders to adjust the tool depending on their trading style.


4. Multi-Timeframe Engine

The indicator supports up to three simultaneous data feeds:

  • Primary chart timeframe
  • A secondary custom timeframe (e.g., 15-minute)
  • An optional third timeframe (e.g., 1987-tick or range bars)

Each timeframe uses its own color scheme, making it easy to understand where each imbalance originates.


5. Dynamic Price Labels

Active zones display clean price labels on the left or right side of the chart.
Labels automatically track the extended zone, updating in real time as price moves.


6. Automatic Historical Conversion

When a zone is eventually filled:

  • It can disappear completely, or
  • It can convert into a historical reference zone if those settings are enabled

This keeps the chart clean while still preserving high-value past information.


Summary

The FreeIndicators Gap & Imbalance Detector is a powerful market-structure visualizer that:

  • Tracks and displays true RTH session gaps
  • Detects and highlights bullish/bearish imbalance zones
  • Extends these areas forward until completely mitigated
  • Supports multiple timeframes
  • Includes strict or loose fill logic
  • Keeps charts clean with optional historical storage
  • Adds optional dynamic price labels for clarity

It’s a fast, reliable way to understand where the market has left unfinished business — and how price interacts with these areas over time.

Download
Created By CypherFlux
NinjaTrader Version 8
File Size 7.1 KB
Create Date 11/25/2025
# of Downloads 7

Importing to NinjaTrader 8 is Easy!

To import your 3rd party app or add-on to NinjaTrader, simply follow these 3 steps:

  1. Download the app or add-on file to your desktop
  2. From the NinjaTrader Control Center window, select the menu Tools > Import > NinjaScript Add-On…
  3. Select the downloaded file from your desktop

Questions?

Visit the NinjaScript File Sharing discussion in the NinjaTrader user forum to interact with fellow traders and the NinjaTrader support team.

New Additions

Gap Detector

7 downloads November 25, 2025

Region showing edge prices on NinjaTrader 8

92 downloads November 12, 2025

SuperAwesome

168 downloads November 11, 2025

Save Chart Image

123 downloads November 4, 2025

DeltaLadder

655 downloads October 24, 2025

Most Popular

UniRenko Universal Renko BarType 8

33993 downloads October 16, 2018

Heiken Ashi 8

31088 downloads October 16, 2018

Vwap

26777 downloads March 21, 2022

Vwap (Volume Weighted Average Price)

25393 downloads October 16, 2018

Automatic Trend Line Detection

22255 downloads October 23, 2018

Interested in becoming a NinjaTrader Ecosystem 3rd party Vendor? Contact Us to learn more.

  • Quick Search
  • NinjaTrader Indicators
  • Automated Strategies
  • Ecosystem Insights
  • Free Trading Webinars
  • Spanish Trading Apps
  • Get NinjaTrader
  • User App Share
  • Trend Line Detection
  • Fibonacci Cluster
  • Renko Bar Type
  • Heiken Ashi
  • Ichimoku Cloud
  • Accumulation Distribution
  • Free Trading Indicators
  • Delta Momentum Indicator
  • Wave Trend Oscillator
  • Open Range Indicator
  • Risk Reward Indicator
  • VPA Indicator
  • Pivot Zones
  • Free Trading Videos
  • Swing Trading Volume Profile
  • Volume Leading Indicator
  • How to Use Volume Profile
  • Combine Order Flow
  • Buy Sell Signals
  • Market Profile

Copyright © 2025 NinjaTrader, LLC. All Rights Reserved.

Futures, foreign currency and options trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing one’s financial security or lifestyle. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results. View Full Risk Disclosure.

CFTC Rule 4.41: SIMULATED OR HYPOTHETICAL PERFORMANCE RESULTS HAVE CERTAIN INHERENT LIMITATIONS. UNLIKE THE RESULTS SHOWN IN AN ACTUAL PERFORMANCE RECORD, SIMULATED OR HYPOTHETICAL PERFORMANCE RESULTS DO NOT REPRESENT ACTUAL TRADING. ALSO, BECAUSE SIMULATED OR HYPOTHETIC TRADES HAVE NOT ACTUALLY BEEN EXECUTED, SIMULATED OR HYPOTHETICAL PERFORMANCE RESULTS MAY HAVE UNDER-OR-OVER-COMPENSATED FOR THE IMPACT, IF ANY, OF CERTAIN MARKET FACTORS, SUCH AS LACK OF LIQUIDITY. SIMULATED OR HYPOTHETICAL TRADING PROGRAMS IN GENERAL ARE ALSO SUBJECT TO THE FACT THAT THEY ARE DESIGNED WITH THE BENEFIT OF HINDSIGHT. NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL OR IS LIKELY TO ACHIEVE PROFIT OR LOSSES SIMILAR TO THOSE SHOWN.

This website is hosted and operated by NinjaTrader, LLC (“NT”), a software development company which owns and supports all proprietary technology relating to and including the NinjaTrader trading platform. NT is affiliated with NinjaTrader Clearing, LLC d/b/a NinjaTrader, Tradovate and Kraken Derivatives US (“NTC”), and NT Technologies, LLC (“NTT”) through NinjaTrader Group, LLC (“NTG”). NTC is registered with the Commodity Futures Trading Commission (“CFTC”) as a futures clearing merchant and swaps firm and is a NFA member firm (NFA No. 0309379). NTT is a company responsible for supporting proprietary trading platform technology and service functions related to the NinjaTrader trading platform.

This website is intended for educational and informational purposes only and should not be viewed as a solicitation or recommendation of any product, service or trading strategy. No offer or solicitation to buy or sell securities, securities derivatives or futures products of any kind, or any type of trading or investment advice, recommendation or strategy, is made, given, or in any manner endorsed by any NT affiliate. The information made available on this website is not an offer or solicitation of any kind. Specific questions related to a brokerage account should be sent to your broker directly.

The content and opinions expressed on this website are those of the authors and do not necessarily reflect the official policy or position of NT or any of its affiliates. View Privacy Policy.

Vendors, along with their websites, products and services (collectively referred to as “Vendor Content”), are independent persons or companies that are in no manner affiliated with NT or any of its affiliates. NT and its affiliates are not responsible for, do not approve, recommend or endorse any Vendor Content referenced on this website, and it is your sole responsibility to evaluate Vendor Content. Please be aware that any performance information provided by a vendor should be considered hypothetical and must contain the disclosures required by NFA Rule 2-29(c). If you are interested in learning more about, or investigating the quality of, any such Vendor Content, you must contact the vendor, provider or seller of such Vendor Content. No person employed by, or associated with, NT or any of its affiliates is authorized to provide any information about any such Vendor Content.