Free order block and market structure indicator for NinjaTrader 8

Market structure orders the chart into highs and lows. While highs keep breaking, the trend is up; the first broken low warns of a possible change. Order blocks are the last opposite candle at the extreme of the leg, before the move that breaks.

This indicator marks the breaks, separates the ones that leave a displacement gap (MSS) and keeps only the order blocks that are still active.

  • 100% free
  • Built by El Trader Financiado for the community

Version 1.2 beta · NinjaTrader 8 · .zip to import · also in the pack of all 16 · updated November 1, 2026

Install one language only: if you switch between English and Spanish, delete the ElTraderFinanciado folder first (Documents\NinjaTrader 8\bin\Custom\Indicators).

Using NinjaTrader in Spanish? Versión en español

Finding them useful? Support us with code ETFPROMO

If you're buying a prop firm evaluation, use our code: you pay less and it helps us keep building free tools.

Affiliate links: we earn a commission if you buy through them.See all discounts →
BOS, CHoCH and active order blocks on a 5-minute NQ chart1 / 3
On the chart

What the indicator draws

  • BOS (break with the trend) and CHoCH (first break against it).
  • MSS: a CHoCH that leaves a displacement FVG (≥ 0.5× ATR) in the breaking impulse or on the next bar; session gaps don't count.
  • Active swing order blocks (3 per side) with their 50% line: the last opposite candle at the extreme of the leg (in Wick mode the zone reaches the extreme). Those price had already crossed before the break are discarded, and invalidated ones disappear.
  • Blue (DeepSkyBlue) for bullish, magenta for bearish and gold for breakers and mitigation blocks.
  • Optional: internal structure, breakers (with a liquidity sweep) and mitigation blocks (without one), EQH/EQL, premium/discount, OTE, HH/HL/LH/LL labels and "Protected low = origin of the break".
The concept

What an order block, a BOS and a CHoCH are

A BOS (break of structure) is a broken high in an uptrend or a broken low in a downtrend: it confirms the trend continues.

Read the full guide: what it is, rule-based strategies and common mistakes
On the chart

What each screenshot shows

  1. 01

    BOS, CHoCH and order blocks

    BOS when price breaks with the trend and CHoCH on the first break against it. The order blocks behind each break stay as zones while they remain active.

  2. 02

    Internal structure and HH/LL

    Turn on internal structure to see breaks of the smaller swings (dotted) and HH, HL, LH and LL labels on each high and low.

  3. 03

    Premium, discount and OTE

    Splits the last swing range into the expensive (premium) and cheap (discount) halves with the equilibrium, and marks the 61.8-79% OTE, where ICT looks for the pullback entry.

How to use it

How to trade order blocks

A summary of the most common uses. Entry, stop and target rules are in the guide.

  • Pullback to the order block after a BOS

    Trend continuation: price breaks, returns to the origin of the impulse and continues.

  • MSS as a reversal signal

    A CHoCH with displacement shows the other side has taken control.

What the evidence says

Swing highs and lows are an objective way to describe trend. Order blocks are an ICT and smart money concept with no public studies showing price respects those candles more than any other.

Settings

Key settings

SettingDefaultWhat it does
Bars each side (swing)20As a guide: 20 on 5 min, 50 on 1 min. Lower = more, smaller breaks. Not the same as LuxAlgo's "50".
Show internal structureOffShort-term structure (5 bars).
Break on close onlyOnA wick doesn't count as a break.
MSS: minimum FVG (× ATR 14)0.5Displacement required for an MSS.
Active OBs per side3Order blocks drawn at once.
Selectable by clickOnTurn it off so clicks pass through it: move the chart, measure and draw without selecting it.
Takes 2 minutes

How to install ETFEstructura in NinjaTrader 8

  1. 1

    Download the .zip and don't unzip it.

  2. 2

    In NinjaTrader 8, from the Control Center: Tools → Import → NinjaScript Add-On… and pick the .zip.

  3. 3

    Accept and wait for it to compile. If NinjaTrader asks whether to replace a file (for example ETFFirma.cs, which comes with all our downloads), click Yes: with No it ends up duplicated and won't compile.

  4. 4

    Indicators: on the chart, right-click → Indicators… → ElTraderFinanciado folder. Risk-Reward: right-click → Drawing Tools. Risk Guardian: Control Center → New.

Questions

Frequently asked questions

What is the difference between a CHoCH and an MSS?

Both are the first break against the trend. An MSS also requires displacement: a strong move that leaves an FVG of a minimum size.

Why does an order block disappear?

Because it was invalidated: price closed through it. If you want to see them converted, enable "Show breakers and mitigations": a breaker if it swept liquidity first, a mitigation block if not.

Pair it with

More free indicators

See all 16 indicators

The indicators describe what price has done; they don't predict what it will do and they are not investment advice. The risk management tools are an aid: they don't replace your firm's rules or your broker's limits. Only trade futures with money you can afford to lose.