Market Structure Liquidity Map
- Indicators
-
Kazuma Uezono
MQL5 / MQL4 / Pine Script v6 developer and active trader.
Seller on the MQL5 Market (indicators for MT4/MT5).
Services:
- TradingView Pine Script to MT5/MT4 conversion (bar-by-bar matching, with tester report)
- MT4 to MT5 migration - Version: 1.0
- Activations: 5
Market Structure Liquidity Map for MetaTrader 4 draws smart money concepts (SMC) style market structure on the chart: swing labels, break of structure (BOS), change of character (CHoCH), equal highs and lows, previous day and week levels, liquidity sweeps and unfilled fair value gaps (FVG), with a small table for the chart timeframe and two higher timeframes.
It is meant for MT4 traders who read structure and liquidity by hand and want the same levels drawn the same way every time. It is a display tool only: it gives no buy or sell signals and does not place orders. The calculation, inputs and defaults are the same as in the MetaTrader 5 version, which is a separate product.
Features
- Swing labels HH / HL / LH / LL (3 bars on each side by default; the latest 10 labels).
- BOS and CHoCH judged by the close. A close beyond the reference swing in the trend direction is a BOS; a close beyond the protected low or high against the trend is a CHoCH. The latest 4 are drawn as dotted lines.
- Liquidity lines: unswept swing highs and lows, and equal highs and lows (EQH / EQL). The nearest 3 on each side are extended to the right.
- Previous day high and low (PDH / PDL, below D1) and previous week high and low (PWH / PWL, below W1).
- Sweep marks (x) where a wick goes beyond a line but the bar closes back at or inside it. Swept lines can be kept as grey dashed lines.
- Unfilled FVG bands, extended to the current bar until price reaches the far edge. Filled gaps can be deleted or kept faded.
- Multi-timeframe table: structure direction, the last BOS or CHoCH and how many bars ago, and the nearest unswept liquidity above and below with its distance (pips for forex, price difference otherwise, plus the ATR multiple).
- Alerts, all off by default: BOS, CHoCH, liquidity sweep, price entering an unfilled FVG. Pop-up, sound, push notification and e-mail, checked when a chart bar closes.
- Table, tooltips and alerts in English or Japanese (Auto follows the terminal language). Chart abbreviations such as HH, BOS and FVG always stay in English.
Main Inputs
- Structure: swing bars on the left and right (1-20, default 3 and 3), bars analysed per timeframe (300-20000, default 5000), number of swing labels and BOS / CHoCH lines.
- Liquidity: lines per side, equal high / low tolerance (x ATR(14), default 0.1), previous day and week levels, sweep marks, swept lines keep or delete.
- Fair value gaps: on or off, minimum size (x ATR(14), default 0.3), number shown, filled gaps keep or delete.
- Table: on or off, higher timeframes 1 and 2 (default auto, one and two steps up), position (Auto or a corner), text size, distance unit.
- Alerts: the four events and the four delivery methods.
- Style: language, chart text size, colors, FVG band strength, line widths.
The MT4 input dialog has no group headers; the inputs are listed in the same order as above.
How It Is Calculated
- Only closed bars are used, processed one by one from a fixed starting bar, so a confirmed drawing does not change afterwards.
- A swing is confirmed when the set number of bars on its right have closed, so swing labels, liquidity lines and EQH / EQL appear that many bars late (3 by default). This is a confirmation delay, not a repaint.
- EQH / EQL: two swings on the same side within ATR(14) x the tolerance.
- Sweep: the wick goes beyond a line and the bar closes back at or inside it. A close beyond the line counts as a break and the line is removed without a mark.
- FVG: a three-bar gap of at least ATR(14) x the minimum size, filled when price reaches its far edge.
- The BOS / CHoCH logic is the same close-based structure method used in other tools by the same author. This product adds the liquidity levels, sweeps and FVG on top of it, so if you already use one of those tools, the structure part will look the same.
Notes and Limits
- Not a buy or sell signal, not an entry, take-profit or stop-loss level, and not a probability. Past charts do not guarantee future results. Trade decisions are your own.
- In MT4, turn off "Chart on foreground" in the chart properties (F8). Otherwise candles are drawn over the table and the FVG bands.
- Depending on the chart shape, a table placed by Auto can cover some recent candles. In that case choose a corner by hand.
- Bar boundaries follow your broker's server time, so the same symbol can look different between brokers and between MT4 and MT5.
- If a higher timeframe is not loaded yet, its row shows "Waiting for data" and fills in when the data arrives.
- When the terminal reloads history, everything is recalculated; drawings near the start of the analysed range can differ after a restart.
- Objects whose names start with "SLM_<number>_" belong to this indicator and are cleaned up by it.
- Push notifications and e-mail need the terminal's settings.
Compatibility and Support
- MetaTrader 4 only (it does not run on MT5). Any symbol and timeframe.
- Two copies can run on one chart; keep "Table position" at Auto so the tables do not overlap. Works with templates and after a terminal restart.
- No DLLs, no external files, no internet access.
- A PDF user guide (English or Japanese) is sent on request through MQL5 messages after purchase.
- Support through MQL5 messages, reply within 3 business days, for installation, settings and bug reports. Questions about market views, trade decisions or how to read a result cannot be answered.
