Apex Market Structure MT5
- Indicadores
- Versão: 1.10
- Ativações: 5
Apex Market Structure is a professional-grade Smart Money Concepts
indicator for MetaTrader 5. It automatically identifies the key
structural events that institutional traders use to read the market:
Break of Structure, Change of Character, Order Blocks, Fair Value
Gaps, and Liquidity Sweeps — all displayed directly on the chart
with no manual analysis required.
Unlike basic structure tools, Apex Market Structure separates internal
structure (minor swings) from swing structure (major market turns),
giving traders a layered view of market direction across any timeframe.
The built-in Multi-Timeframe Dashboard and live Session Clock add
confluence context that most structure indicators lack entirely.
How It Works
The indicator scans price action using a configurable swing detection
length to identify significant pivot highs and lows. From these pivots,
it classifies market structure into two tiers: internal structure that
tracks short-term momentum shifts, and swing structure that tracks the
primary trend direction. When price breaks a structural pivot, the
indicator labels it as BOS (Break of Structure, trend continuation) or
CHoCH (Change of Character, potential reversal). Order Blocks are drawn
at the last opposing candle before each structural break. Fair Value
Gaps are detected as three-candle imbalances. Liquidity Sweeps are
flagged when price wicks through a Buy-Side or Sell-Side Liquidity
level before reversing.
All calculations are non-repainting. Labels and zones are drawn at
confirmed bar closes and do not move or disappear on subsequent bars.
Market Structure Detection
The indicator identifies two layers of market structure simultaneously.
Internal BOS and CHoCH track shorter-term swings within the current
leg, showing early momentum shifts before they register at swing level.
Swing BOS and CHoCH track the dominant structure, filtering out noise
and confirming the higher-timeframe trend direction.
Each label shows the event type and the number of bars that have passed
since the break, making it easy to assess whether a signal is recent
or historical.
Order Blocks and Fair Value Gaps
Bullish and Bearish Order Blocks are drawn as shaded rectangles at the
last opposing candle before a structural break. Each block displays its
age in bars. Blocks can be set to hide automatically after price
revisits them, keeping the chart clean.
Fair Value Gaps are plotted as filled zones between the bodies of
qualifying three-candle sequences. Both regular and inverse FVGs are
detected. Gaps can be configured to close and disappear once price
fills them.
Liquidity Sweep Detection
Buy-Side Liquidity (BSL) and Sell-Side Liquidity (SSL) levels are
tracked automatically. When price sweeps through a liquidity level
and reverses, the event is marked on the chart. Sweep signals
frequently precede high-probability reversal setups.
Multi-Timeframe Dashboard
The MTF Dashboard displays the current structure bias across up to
nine timeframes in a compact on-chart table: M1, M5, M15, M30, H1,
H4, D1, W1, and MN1. Each row shows the internal trend, swing trend,
and the age of the most recent structural event.
The dashboard position, width, and font size are fully configurable
through input parameters. It can be placed in any of the four chart
corners and scaled to suit any screen resolution.
Session Clock
The Session Clock panel displays the status of the four major trading
sessions: Sydney, Tokyo, London, and New York. Each session shows
whether it is currently open or closed, and a live countdown to the
next open or close event.
The indicator includes automatic GMT offset detection based on the
broker server time, eliminating the need for manual timezone
configuration. A manual override is also available.
Alert System
Apex Market Structure sends alerts for the following events:
- Internal BOS and CHoCH
- Swing BOS and CHoCH
- Order Block formation
- Fair Value Gap formation
- Liquidity Sweep detection
Each alert type can be enabled or disabled independently. Alerts are
delivered via MetaTrader 5 pop-up notification, push notification to
the MT5 mobile app, and email. All three channels can be active
simultaneously.
Parameters
Swing Detection
Swing Length — number of bars used to detect pivot highs and lows
(default: 50)
Display Options
Show Internal Structure — show or hide internal BOS/CHoCH labels
Show Swing Structure — show or hide swing BOS/CHoCH labels
Show Order Blocks — enable Order Block zones
Show Fair Value Gaps — enable FVG zones
Show Liquidity Sweeps — enable BSL/SSL sweep markers
OB Hide After Mitigation — automatically remove OBs once tested
FVG Hide After Fill — automatically remove FVGs once filled
Styling
Internal Bullish Color, Internal Bearish Color
Swing Bullish Color, Swing Bearish Color
Bullish OB Color, Bearish OB Color
FVG Bullish Color, FVG Bearish Color
BSL Color, SSL Color
Dashboard
Dashboard Corner — chart corner for the MTF table
(default: top-left)
Dashboard X, Dashboard Y — pixel offset from corner
Dashboard Width — panel width in pixels (default: 280)
Dashboard Font Size — text size in the panel (default: 8)
Show TF M1 through MN1 — toggle each timeframe row individually
Session Clock
Auto Detect GMT — automatic broker GMT offset detection (default: on)
Server GMT Offset — manual GMT offset override
Alerts
Alert on BOS/CHoCH — internal and swing separately
Alert on Order Block — new OB formed
Alert on Fair Value Gap — new FVG formed
Alert on Liquidity Sweep — BSL or SSL swept
Use Popup, Use Push, Use Email — select delivery channels
Usage
Apply the indicator to any chart and timeframe. The core structure
labels and zones update automatically on each new bar. The MTF
Dashboard refreshes every bar across all enabled timeframes. The
Session Clock updates every second via a background timer.
For best results, start with the H1 or H4 chart and use the MTF
Dashboard to confirm that the lower timeframe direction aligns with
the higher timeframe swing structure. Look for entries near Order
Blocks or Fair Value Gaps that form after a CHoCH, particularly
when preceded by a Liquidity Sweep.
Compatibility
Apex Market Structure is compatible with MetaTrader 5 build 2755
and above. It works on all currency pairs, indices, commodities,
and cryptocurrency symbols available on your broker. All timeframes
from M1 to MN1 are supported.
The indicator is compiled for X64 Regular architecture and does not
require AVX2 or AVX512 CPU support.
Support
For questions, configuration help, or feedback, please use the
comments section of this product page or contact the author through
the MQL5 messaging system.
