# Market Structure Break & OB Probability Toolkit

Market Structure Break & OB Probability Toolkit is an indicator on [Vela](https://vela.luxalgo.com/chart), our next-generation charting platform, written in Pine Script®.

The Market Structure Break & OB Probability Toolkit validates structure breaks with a momentum Z-Score, then maps the order blocks behind them (with a midpoint line) and grades every zone, promoting those scoring above 80% to high-probability status. Session ranges and a live reliability dashboard add quantitative discipline to SMC trading.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Feb 2, 2026.
- Access: free.
- Concepts: [Break of Structure](https://www.luxalgo.com/library/concept/break-of-structure/) (primary), [Bullish/bearish Order Block](https://www.luxalgo.com/library/concept/bullish-bearish-order-block/)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=cmpwn3hik004uvhsg0ymfhmed
- Page: https://www.luxalgo.com/library/indicator/market-structure-break-ob-probability-toolkit/

**Market Structure Break & OB Probability Toolkit** puts a statistical gate in front of [market structure breaks](https://www.luxalgo.com/library/concept/break-of-structure/): a pivot break only earns an MSB label when its momentum Z-Score clears your threshold, separating genuine participation from random fluctuation. From each validated break it derives the preceding [order block](https://www.luxalgo.com/library/concept/bullish-bearish-order-block/), draws its midpoint line, and grades the zone: a score above 80% on impulse and volume strength promotes it to a visually distinct High-Probability Order Block.

## How to Trade the Market Structure Break & OB Probability Toolkit?

- **Define the bias**: use MSB direction for the prevailing trend; a bullish break followed by a retracement into a bullish order block is the archetypal setup.
- **Prioritize HP-OBs**: zones with exceptionally strong impulse and volume characteristics carry more statistical relevance, more still when they align with session highs or lows.
- **Trade in session context**: London, New York, Tokyo, and Sydney ranges can each be switched on to plot on the chart, letting you weight breaks that land inside peak-liquidity windows.
- **Study re-tests**: extend broken zones to watch how price treats levels that have flipped roles.

An analytics dashboard keeps score: Order Block Reliability tracks how often detected zones are mitigated by price, next to a live count of active high-probability zones.

## Market Structure Break & OB Probability Toolkit Settings

- **Pivot Lookback**: sensitivity of swing detection, from scalping to swing horizons.
- **MSB Momentum Z-Score**: the statistical momentum threshold a break must exceed.
- **Display Mode**: all historical zones, or only those currently influencing price.
- **Max Active OBs**: caps stored zones for clarity and performance.
- **Extend Broken OBs** and **Hide Overlapping OBs**: keep the two most recent mitigated zones extending for up to 50 bars after mitigation for re-test analysis, and skip new zones that overlap an active one.
- **Show Session Ranges** with per-session toggles, time windows, and colors.

## Frequently Asked Questions

### What makes a structure break valid here?

The break must clear the momentum Z-Score threshold, so the label reflects statistically significant momentum rather than a marginal poke through a pivot. That filter helps screen out low-momentum fakeouts.

### How does this differ from a standalone order block tool?

A dedicated detector like the [Order Block Detector](https://www.luxalgo.com/library/indicator/order-block-detector/) surfaces zones on its own criteria. This toolkit draws only blocks tied to validated structure breaks and grades each one for probability and reliability.

### How do I access the toolkit?

Free, from this page of the LuxAlgo Library. Quant, our coding agent, can also run and backtest it directly from here. You can also copy the source code from this page and run it anywhere Pine Script® runs.

## Related indicators

- [Market Structure (Breakers)](https://www.luxalgo.com/library/indicator/market-structure-breakers/) (Break of Structure): markdown at https://www.luxalgo.com/library/indicator/market-structure-breakers.md
- [DTFX Algo Zones](https://www.luxalgo.com/library/indicator/dtfx-algo-zones/) (Break of Structure): markdown at https://www.luxalgo.com/library/indicator/dtfx-algo-zones.md
- [Market Structure (Intrabar)](https://www.luxalgo.com/library/indicator/market-structure-intrabar/) (Break of Structure): markdown at https://www.luxalgo.com/library/indicator/market-structure-intrabar.md
- [Market Structure Oscillator](https://www.luxalgo.com/library/indicator/market-structure-oscillator/) (Break of Structure): markdown at https://www.luxalgo.com/library/indicator/market-structure-oscillator.md
- [Structure & Trend Dashboard](https://www.luxalgo.com/library/indicator/structure-trend-dashboard/) (Break of Structure): markdown at https://www.luxalgo.com/library/indicator/structure-trend-dashboard.md
- [Smart Money Concepts (SMC)](https://www.luxalgo.com/library/indicator/smart-money-concepts-smc/) (Break of Structure): markdown at https://www.luxalgo.com/library/indicator/smart-money-concepts-smc.md
- [Order Block Detector](https://www.luxalgo.com/library/indicator/order-block-detector/) (Bullish/bearish Order Block): markdown at https://www.luxalgo.com/library/indicator/order-block-detector.md
- [Order Blocks & Breaker Blocks](https://www.luxalgo.com/library/indicator/order-blocks-breaker-blocks/) (Bullish/bearish Order Block): markdown at https://www.luxalgo.com/library/indicator/order-blocks-breaker-blocks.md

---

Source: https://www.luxalgo.com/library/indicator/market-structure-break-ob-probability-toolkit/ (LuxAlgo Library). Free to use with attribution: https://www.luxalgo.com/library/license/
