Skip to main content
All indicators
liveFree

Market Structure + CHoCH/MSS/BOS Indicator

Automatic market structure mapping with HH, HL, LH, LL, CHoCH, MSS, and BOS directly on your chart.

Category: indicators

Overview

Track swing structure, identify structural shifts and continuations, and customize break confirmation for a clearer view of evolving market structure.

The Market Structure + CHoCH/MSS/BOS Indicator is a rule-based market structure tool developed by the Xcelerate Trade team to automatically identify swing highs and lows, classify structural breaks, and display the evolving structure directly on the chart.

The indicator identifies and labels HH (Higher High), HL (Higher Low), LH (Lower High), and LL (Lower Low), while confirmed structural breaks are classified as CHoCH (Change of Character), MSS (Market Structure Shift), or BOS (Break of Structure).

Rather than relying entirely on manual interpretation, the indicator applies consistent rules to pivot detection, break validation, and structure classification. These rules can be customized according to the instrument, timeframe, and level of sensitivity required.

The objective is not to generate automatic BUY or SELL signals. The indicator provides a structured representation of market behaviour that can be incorporated into broader price action, liquidity, and execution analysis.

Market Structure + CHoCH/MSS/BOS

What Is Market Structure?

Market structure describes how price develops through successive swing highs and swing lows.

A typical bullish structure develops through Higher Highs and Higher Lows:

HL → HH → HL → HH

A typical bearish structure develops through Lower Highs and Lower Lows:

LH → LL → LH → LL

The indicator automatically identifies these confirmed pivots and classifies them as:

HH: a swing high above the previous swing high.

HL: a swing low above the previous swing low.

LH: a swing high below the previous swing high.

LL: a swing low below the previous swing low.

These labels create the structural map from which CHoCH, MSS, and BOS events are subsequently classified.

CHoCH, MSS, and BOS

The indicator internally tracks the current trend state as Bullish, Bearish, or Neutral and classifies confirmed structural breaks according to the existing trend and previous structural events.

CHoCH - Change of Character

CHoCH represents the first structural break that reverses the current trend state.

In bearish structure, a bullish CHoCH occurs when price breaks above the relevant swing high according to the selected break-validation rules. In bullish structure, a bearish CHoCH occurs when price breaks below the relevant swing low.

Once confirmed, the indicator changes its internal trend state and begins tracking the new structural leg.

A CHoCH indicates that the previous structure has been challenged. It does not, by itself, confirm a complete market reversal or trading setup.

MSS - Market Structure Shift

After a CHoCH, the indicator looks for the first qualifying structural break in the direction of the newly established trend.

This break can be classified as MSS, with the exact requirements determined by the selected MSS Definition.

Only one MSS is identified within each trend leg.

BOS - Break of Structure

Once the MSS has been established, subsequent qualifying breaks in the same direction are classified as BOS.

The structural cycle can therefore be represented as:

CHoCH → MSS → BOS → BOS → ... → Opposite CHoCH

This distinction separates the initial structural change, the first qualifying shift in the new direction, and subsequent continuation breaks.

Pivot Detection Methods

The indicator includes two pivot-detection methods, allowing traders to control how sensitive the structural map should be.

Williams Fractals

Williams Fractals is the default method.

It uses separate Left and Right lengths to confirm swing highs and lows.

With Manual Settings, the default values are:

Left Length: 6
Right Length: 4

When Auto Timeframe Settings are enabled, these values are automatically adjusted according to the chart timeframe:

1 minute: L = 4 / R = 4
5 minutes: L = 4 / R = 3
15 minutes: L = 5 / R = 4
30 minutes and above: L = 6 / R = 4

This provides a structured approach to pivot detection while automatically adapting sensitivity as the timeframe changes.

Simple Fractals

Simple Fractals provide a more responsive SMC-style alternative.

A bar is identified as a pivot when it represents the highest or lowest point within the configured Simple Fractal Period on both sides.

This method generally produces more frequent pivots and a more sensitive structural map.

Greater sensitivity can provide faster structural feedback, but it can also increase short-term structural noise.

Break Validation

Detecting a swing level is only part of the process. The indicator must also determine what qualifies as a valid break of that level.

Four validation methods are available.

Close

The default mode. Price must close beyond the relevant swing level before a structural break is confirmed.

High/Low (Wick)

The break is confirmed when the wick moves beyond the structural level. This provides faster recognition but is more sensitive to brief wick extensions and liquidity interactions.

Close Beyond Buffer (Ticks)

Price must close beyond the swing level by a configurable number of minimum tick increments.

Close Beyond Buffer (%)

Price must close beyond the swing level by a configurable percentage.

The buffer methods allow traders to filter marginal breaks and require additional movement beyond the structural level before confirmation.

The indicator also includes a Wait for bar close setting, enabled by default, for traders who prefer confirmation based on completed bars.

MSS Definition

The indicator provides three ways to define when a post-CHoCH break qualifies as MSS.

First Break After CHoCH

The default mode.

The first qualifying break in the direction of the new trend after CHoCH is classified as MSS.

First Break >= Pre-CHoCH Level

A stricter definition requiring the broken swing to be at or beyond the relevant structural level that existed before the CHoCH.

HL + >= Pre-CHoCH

The strictest available definition.

In addition to the pre-CHoCH requirement, a confirming HL is required for a bullish MSS or a confirming LH for a bearish MSS.

The indicator records the relevant pre-CHoCH level when the structural change occurs so that the stricter MSS modes can evaluate subsequent breaks against the previous structure.

What the Indicator Displays

The indicator provides a visual map of the developing market structure directly on the chart.

Confirmed pivots are labelled HH, HL, LH, or LL.

When a structural level is broken, a horizontal line connects the original swing with the bar where the configured break condition is satisfied.

The event is then labelled CHoCH, MSS, or BOS according to its structural classification.

An information table also provides an overview of the active configuration, including:

  • Auto or Manual mode;

  • current timeframe;

  • Left and Right pivot lengths;

  • pivot-detection method;

  • MSS Definition;

  • Break Validation method.

An optional debug mode provides additional information about the internal trend state, CHoCH and MSS status, pre-CHoCH levels, and the latest confirmed structural break.

This can be useful when reviewing historical structure or understanding why a particular event received a specific classification.

Auto, Manual, and Suggested Settings

Auto mode automatically adjusts pivot settings according to the timeframe and provides a practical starting configuration.

Manual mode gives traders direct control over structural sensitivity.

The default Xcelerate Trade configuration is:

Auto Settings: ON
Pivot Detection: Williams Fractals
Wait for bar close: ON
Break Validation: Close
MSS Definition: First Break After CHoCH

For a stricter structural read with fewer marginal breaks:

Break Validation: Close Beyond Buffer (%)
Buffer: approximately 0.05–0.10%
MSS Definition: First Break >= Pre-CHoCH Level

For more responsive structural detection:

Pivot Detection: Simple Fractals
Simple Fractal Period: 2
Break Validation: High/Low (Wick)
Wait for bar close: OFF

More sensitive settings generally identify additional short-term structure, while stricter settings generally produce fewer confirmed events.

Neither approach is universally better. The appropriate configuration depends on the instrument, timeframe, volatility, and level of structure being analysed.

Alerts

The indicator includes TradingView alert conditions for two structural sequences:

HH-HL-HH Alert

LL-LH-LL Alert

These alerts notify the trader when the corresponding confirmed structural sequence has been detected and include ticker and timeframe information.

They are structural notifications, not automatic BUY or SELL signals or complete trading setups.

Confirmation and Repainting

Pivot confirmation requires future bars to develop before a swing can be confirmed.

With Williams Fractals, the confirmation delay corresponds to the configured Right Length.

For example, when R = 4, four bars must develop to the right of a potential pivot before it can be confirmed.

Simple Fractals similarly require a delay equal to the configured Simple Fractal Period.

This confirmation delay is intentional. Once a pivot is confirmed, it is not subsequently repositioned based on later price action.

Traders should therefore distinguish between the moment a potential swing occurs and the later point at which the indicator has sufficient information to confirm it.

A Practical Example

Suppose the market is currently classified as bearish and has been forming Lower Highs and Lower Lows.

Price then breaks above the relevant swing high according to the selected Break Validation method.

The indicator classifies the event as a bullish CHoCH and changes its internal trend state from Bearish to Bullish.

As new pivots form, the first qualifying bullish structural break according to the selected MSS Definition is classified as MSS.

Further qualifying breaks in the same direction are classified as BOS.

The sequence becomes:

Bearish Structure → Bullish CHoCH → Bullish MSS → Bullish BOS

The same process applies in reverse when bullish structure transitions into bearish structure.

This provides a consistent representation of how price structure is evolving. It does not mean that the CHoCH, MSS, or BOS should automatically be traded.

Using Market Structure with Context

Market structure becomes more informative when evaluated together with the environment in which the structural event occurs.

Relevant context can include:

  • liquidity zones and liquidity sweeps;

  • Order Blocks;

  • Supply and Demand;

  • Fair Value Gaps;

  • support and resistance;

  • session highs and lows;

  • higher-timeframe direction;

  • volume and Volume Profile;

  • Order Flow;

  • scheduled economic events.

For example, price may sweep liquidity below a previous low before producing a bullish CHoCH, or take liquidity above a previous high before a bearish structural shift.

The indicator identifies the structural event according to its configured rules. The surrounding liquidity, price action, and broader market context must be evaluated separately.

This becomes particularly important when structure is ranging or fragmented, CHoCH events appear frequently in both directions, lower timeframes generate excessive noise, or a break occurs only marginally beyond a swing level.

A structural event can also carry different relevance depending on whether it aligns or conflicts with higher-timeframe structure.

The existence of a CHoCH, MSS, or BOS therefore tells us what has happened structurally. It does not, by itself, determine whether the event represents a complete trading opportunity.

Choosing the Timeframe

Market structure exists across all timeframes, but the level of structure being observed changes.

Lower timeframes generally produce more pivots and structural events, providing a more detailed view of short-term price behaviour while also increasing noise.

Higher timeframes generally produce fewer structural events and provide a broader view of market direction.

A CHoCH on a 1-minute chart therefore represents a different level of structure from a CHoCH on a 1-hour or Daily chart.

The appropriate timeframe depends on the instrument, trading style, execution timeframe, and type of structure the trader wants to analyse.

Auto Timeframe Settings can adjust pivot sensitivity automatically, while Manual Settings allow traders to define their own structural framework.

What the Indicator Does Not Tell Us

The Market Structure + CHoCH/MSS/BOS Indicator can help answer several important questions:

What are the current confirmed swing highs and lows?

Is price forming HH, HL, LH, or LL?

Has a relevant structural level been broken?

Was the break classified as CHoCH, MSS, or BOS?

Has the internal structural direction changed?

What it does not tell us by itself is:

Should we enter a trade?

A CHoCH does not guarantee a reversal.

An MSS does not guarantee continuation in the new direction.

A BOS does not guarantee that the existing trend will continue.

These events describe market structure according to the selected rules. A complete trading decision still requires the context, execution criteria, and risk-management rules defined by the trader's strategy.

Market Structure Indicator and Strategy

The Market Structure + CHoCH/MSS/BOS Indicator provides a systematic way to identify and follow structural developments directly on the chart.

It distinguishes between the initial change in market structure, the first qualifying shift in the new direction, and subsequent continuation breaks while maintaining a consistent HH, HL, LH, and LL framework.

Within a broader trading process, it helps answer a fundamental question:

What is price doing structurally, and has that structure begun to change or continue?

The indicator provides the structural mapping and confirmation layer, while a complete trading strategy defines how this information is combined with market context, execution, and risk management.

A dedicated Market Structure strategy is also part of our strategy framework and available separately on the Xcelerate Trade platform.

Explore our trading strategies: here

The indicator is also available on TradingView.

View the Market Structure + CHoCH/MSS/BOS Indicator on TradingView: here


Market Structure + CHoCH/MSS/BOS Indicator

Track swing structure, identify structural shifts and continuations, and customize break confirmation for a clearer view of evolving market structure.

Market Structure + CHoCH/MSS/BOS Indicator