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).
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.
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".
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 mistakesWhat each screenshot shows
- 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.
- 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.
- 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 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.
Key settings
| Setting | Default | What it does |
|---|---|---|
| Bars each side (swing) | 20 | As a guide: 20 on 5 min, 50 on 1 min. Lower = more, smaller breaks. Not the same as LuxAlgo's "50". |
| Show internal structure | Off | Short-term structure (5 bars). |
| Break on close only | On | A wick doesn't count as a break. |
| MSS: minimum FVG (× ATR 14) | 0.5 | Displacement required for an MSS. |
| Active OBs per side | 3 | Order blocks drawn at once. |
| Selectable by click | On | Turn it off so clicks pass through it: move the chart, measure and draw without selecting it. |
How to install ETFEstructura in NinjaTrader 8
- 1
Download the .zip and don't unzip it.
- 2
In NinjaTrader 8, from the Control Center: Tools → Import → NinjaScript Add-On… and pick the .zip.
- 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
Indicators: on the chart, right-click → Indicators… → ElTraderFinanciado folder. Risk-Reward: right-click → Drawing Tools. Risk Guardian: Control Center → New.
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.
More free indicators
Fair Value Gap (FVG)
FreeBullish and bearish FVGs with their 50% (CE), partial fills, inversions (IFVG) and higher-timeframe FVGs.
Supply & Demand Zones
FreeSupply and demand zones with freshness, a 0-9 score breakdown, risk per contract and higher-timeframe zones.
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.