NinjaTrader BOS & CHOCH and FVG Indicator

NinjaTrader BOS CHOCH and FVG Indicator
NinjaTrader BOS & CHOCH and FVG Indicator combines structural analysis with imbalance detection to identify trend continuations and reversals. It integrates BOS, CHoCH, and FVG concepts to highlight key reaction zones. Configurable modes define how FVGs are detected, filled, and maintained, helping traders align structure and liquidity in different market conditions.

NinjaTrader BOS & CHOCH and FVG Indicator

NinjaTrader BOS & CHOCH and FVG Indicator is a tool based on structural analysis and the study of imbalance zones. It combines three key elements widely used in ICT/SMC methodologies: Break of Structure (BOS), Change of Character (CHoCH), and Fair Value Gap (FVG). This approach focuses on analyzing a sequence of events that form the foundation for well-reasoned trading decisions.

BOS CHOCH and FVG Indicator NinjaTrader

BOS reflects the moment when price breaks a local extremum in the direction of the current impulse. This confirms that momentum is maintained and suggests that the market is ready to continue moving.

CHoCH captures a shift in direction when the sequence of highs and lows reverses, allowing early recognition of potential trend-reversal scenarios.

FVG is an area of price imbalance that forms during an impulsive move when price passes through a range too quickly and orders do not fully match. Such zones often become areas to which price returns before continuing its movement. A retracement into an FVG is viewed as a moment when the market compensates for the imbalance and forms a new point of interest.

The BOS & CHOCH and FVG structure follows a logical sequence. First, a structural signal appears — either continuation of the impulse or a change in direction. This impulsive move leaves behind an imbalance zone (FVG). Later, the market returns to this area, seeking to compensate for the unfilled volume. Thus, the FVG becomes not just an area of interest, but part of a unified chain: event → consequence → compensation → potential continuation, where each stage is logically connected to the previous one and highlights areas of the most significant price reactions.

 

Important Note

In this indicator, the logic is designed to strictly follow the correct definition of BOS and CHoCH patterns, based on the precise sequence of swing points that indicate a change in market character.

Many similar indicators simplify the logic and interpret BOS and CHoCH as any local breakout, without verifying the necessary swing sequence. This approach ignores the overall market context and the preceding Bullish or Bearish structure, often resulting in false signals.

In this solution, BOS and CHoCH are identified only when the full swing sequence is respected. Each breakout is considered in the context of the complete structure, not as an isolated event. This ensures that real changes in market character are captured, providing accurate and reliable analysis.

BOS and CHoCH Identification Rules

Type BOS / CHoCH Classic Version Allowable Deviation
  Bullish BOS HL → HH → break HH ↑ HL → HH → HL → break HH ↑
  Bearish BOS LH → LL → break LL ↓ LH → LL → LH → break LL ↓
  Bullish CHoCH LL → LH → break LH ↑ LL → LH → HL → break LH ↑
  Bearish CHoCH HH → HL → break HL ↓ HH → HL → LH → break HL ↓

 

How to trade using BOS & CHOCH and FVG Indicator?

BOS & CHOCH and FVG Indicator for NinjaTrader combines structure analysis with imbalance zones, helping traders identify points where continuation or reversal is most probable.

The trading logic is based on observing how the market transitions through three phases — structure break, imbalance creation, and price retracement.

NinjaTrader BOS FVG Bullish Signal Indicator

A bullish BOS confirms trend continuation. When a bullish FVG appears during or after the impulse, traders wait for price to retrace into this zone to look for long entries.

NinjaTrader BOS FVG Bearish Signal Indicator

A bearish BOS signals a continuation of downward movement; the next bearish FVG marks a potential short setup once price returns to it.

 

NinjaTrader CHOCH FVG Bullish Signal Indicator

In reversal conditions, a bullish CHoCH indicates a structural shift to the upside, and a retracement into a new bullish FVG may offer a buying opportunity.

NinjaTrader CHOCH FVG Bearish Signal Indicator

A bearish CHoCH signals the opposite — the market transitions downward, and the next bearish FVG highlights an area for potential selling.

 

The indicator provides an additional configuration parameter — FVG Detection Mode, which defines how imbalance zones are identified in relation to BOS or CHoCH events:

  • After BOS/CHoCHFVGs are searched only after a confirmed structure shift.
  • BOS/CHoCH Impulse FVGs are found within the impulse that forms BOS or CHoCH.
  • Combineddetects both types simultaneously.

 

NinjaTrader BOS CHOCH FVG impuls Indicator

BOS/CHoCH Impulse

NinjaTrader BOS CHOCH FVG after impuls Indicator

After BOS/CHoCH

 

By following this logic, traders can observe how structure breaks create directional bias, how imbalance zones define areas of interest, and how retracements into those zones highlight moments for well-timed trade execution. This approach forms a cause–effect relationship between structure and liquidity, helping to focus on areas where price is most likely to respond with higher probability.

Additionally, to support different trading preferences and analytical approaches, the indicator includes several configuration parameters. The FVG Fill Mode setting defines how a Fair Value Gap is validated — by a simple touch, full fill, or a custom threshold percentage. Traders can also adjust the minimum gap size in price units (ticks or percentages) to filter out minor imbalances, as well as the maximum lifetime of an active FVG zone. These and other parameters allow the indicator to be tailored to individual trading styles and can be reviewed in more detail in the parameter description section.

 

NinjaTrader BOS & CHOCH and FVG Indicator input parameters

The indicator has the following parameters:

NinjaTrader BOS CHOCH and FVG Indicator settings parameters

Alerts – configure various types of alerts.

Swing Strength – defines the number of bars the indicator considers when identifying local highs and lows based on fractal logic. A higher value increases the strictness of the swing definition, as the extreme must be surrounded by more bars with lower highs (for a top) or higher lows (for a bottom).

Show Swing Points – enables or disables the display of Swing Points on the chart.

Enable BoS – activates the detection of Break of Structure (BOS) on the chart.

Enable CHoCH – activates the detection of Change of Character (CHoCH) on the chart.

BoS and CHoCH Confirmation Price Type – specifies which price type is used to confirm BOS/CHoCH: candle close or high/low values.

FVG Detection Mode – FVG Detection Mode defines how the indicator identifies and processes imbalance zones in relation to structural events. Three modes are available: After BOS/CHoCH searches for FVGs only after a confirmed structure shift; BOS/CHoCH Impulse detects gaps within the impulse that forms BOS or CHoCH; and Combined uses both approaches simultaneously.

Max Bars To Find FVG – sets the maximum number of bars after a BOS or CHoCH during which the indicator searches for a valid FVG. This parameter is applicable only in the After BOS/CHoCH and Combined modes.

FVG Fill Mode – determines how a Fair Value Gap is considered filled: on the first touch, after a full fill, or once a defined threshold percentage is reached.

FVG Display Type – controls how FVGs are displayed on the chart: standard mode or shrink, where zones visually contract as they are partially filled.

Gap Size Mode – defines the unit of measurement for the FVG Gap Size, representing the price distance between the candles that form the imbalance. Available options include ticks, points, or percentages.

Minimum Gap Size – sets the minimum FVG Gap Size according to the selected Gap Size Mode, filtering out minor imbalances that lack trading significance.

Minimum Bars for FVG – defines the minimum period, measured in bars, during which the FVG remains active and unfilled before being triggered by the selected method — touch, full fill, or threshold percentage.

Max FVG Duration – sets the maximum active lifetime of an FVG. If no touch, full fill, or threshold event occurs within the specified time, the FVG expires.

FVG Duration Type – defines the unit of time used for duration calculation, measured either in bars or in minutes.

FVG Duration in Bars – sets the numerical duration value corresponding to the selected FVG Duration Type.

 

Custom Programming

mt4 custom programming
We can upgrade the presented indicator to suit your needs – add new functions, change the algorithm for calculating signals, or combine it with your other indicator, turning it into a single powerful tool for your trading strategy.

We can also turn the indicator into an Automated Trading Strategy with an extended set of custom functions (stop loss, take profit, trailing stop, risk management parameters, trading time limit, and others).

Request a free consultation from our team of professional programmers and find out the cost and timing of your project development.

 

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 Signal Plots for Algorithmic Strategy Builders (BloodHound, SharkIndicators & More)

Signal Plot Name
Signal Plot Values Description
  Long > 0 BUY Signal
  Short > 0 SELL Signal
 

Disclaimer 

Nordman Algorithms is not liable for any risk that you face using the software. Please, use the software on your own responsibility. The software is coded in accordance with a common known concept and Nordman Algorithms does not guarantee accuracy or trading performance of the software signals.

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 Rules 4.41 – Hypothetical or Simulated performance results that have certain inherent limitations. Unlike the results shown in an actual performance record, these results do not represent actual trading. Also, because these trades have not actually been executed, these 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 profits or losses similar to these being shown.

NinjaTrader® is a registered trademark of NinjaTrader Group, LLC. No NinjaTrader company has any affiliation with the owner, developer, or provider of the products or services described herein, or any interest, ownership or otherwise, in any such product or service, or endorses, recommends or approves any such product or service.

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