Market Structure Visualizer is a free MetaTrader 5 indicator designed to display confirmed market structure directly on the chart.
It identifies significant swing highs and lows, classifies them as HH, HL, LH and LL, and marks confirmed Break of Structure (BOS) and Change of Character (CHoCH) events.
The indicator uses confirmed swing pivots, meaning historical swing labels remain fixed once confirmed.
Higher High (HH) detection
Higher Low (HL) detection
Lower High (LH) detection
Lower Low (LL) detection
Break of Structure (BOS)
Change of Character (CHoCH)
Confirmed swing pivots
Close or wick break confirmation
Bullish / bearish / neutral structure dashboard
Last swing high and low display
Optional BOS alerts
Optional CHoCH alerts
Popup alerts
MetaQuotes push notifications
Adjustable swing strength
Adjustable historical calculation depth
Custom bullish and bearish colours
No trading operations

The indicator searches for confirmed swing highs and swing lows using the selected SwingStrength.
Each new confirmed swing is compared with the previous swing of the same type.
Highs are classified as:
HH - Higher High
LH - Lower High
Lows are classified as:
HL - Higher Low
LL - Lower Low
Increasing SwingStrength produces broader market structure with fewer minor swings.
Reducing SwingStrength produces more detailed internal structure.
The indicator monitors confirmed swing levels for structural breaks.
BOS represents continuation in the current structural direction.
CHoCH represents a break against the previous structural direction and may indicate a change in market behaviour.
Structure lines are drawn from the relevant swing level to the candle that confirms the break.
BOS and CHoCH labels are positioned in the centre of their corresponding structure lines for improved chart readability.

Two confirmation methods are available:
Close
A structure level is considered broken only when a candle closes beyond the swing level.
Wick
A structure level is considered broken when the candle high or low trades beyond the swing level.
This allows the indicator to be adapted to different market-structure approaches.

The dashboard displays:
Current structure: Bullish, Bearish or Neutral
Most recent BOS or CHoCH event
Latest confirmed swing high
Latest confirmed swing low
Current break confirmation method
SwingStrength
Controls how many candles on each side are required to confirm a swing pivot.
Higher values create broader and cleaner structure.
MaxBars
Controls the maximum amount of historical data analysed.
BreakConfirmation
Select between Close or Wick confirmation.
ShowSwingLabels
Show or hide HH, HL, LH and LL labels.
ShowStructureBreaks
Show or hide BOS and CHoCH structure lines.
ShowDashboard
Enable or disable the information dashboard.
BullishColor / BearishColor
Customise bullish and bearish structure colours.
EnableAlerts
Enable structure-break alerts.
AlertOnBOS
Enable alerts for Break of Structure events.
AlertOnCHoCH
Enable alerts for Change of Character events.
PopupAlert
Enable MetaTrader terminal alerts.
PushNotification
Enable MetaQuotes push notifications.
The indicator can be used on different symbols and timeframes.
For cleaner higher-level structure, increase SwingStrength.
For more detailed internal structure, reduce SwingStrength.
The indicator is intended as a visual market-analysis tool and does not place or manage trades.
Market structure is determined using historical price data and confirmed swing points.
The indicator does not predict future market direction and does not provide guaranteed trading signals.
Trading financial markets carries risk. Historical price behaviour does not guarantee future results.
Developed by MQLXpert
Code for Traders. By Traders.
Risk Lot Calculator
Drop it on the chart at your stop-loss level and get the exact lot for your risk. Correct for gold, indices, crypto and cross pairs. It never opens trades.
Prop Firm Guard
Closes every position before your prop-firm daily or maximum loss limit is reached and keeps the account flat afterwards. Works next to any EA or manual trading. It never opens trades.
Accelerator Oscillator (AC)
The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.
MACD Signals
Indicator edition for new platform.