
Gold Session Liquidity Free MT4 - XAUUSD Session Intelligence and Risk Planner
Gold Session Liquidity Free MT4 v1.10 is an educational, free MQL4 indicator for MetaTrader 4. It helps traders study completed Asian ranges, OHLC-based liquidity sweeps, confirmed swing structure breaks, London and New York market sessions, and manually planned risk on XAUUSD. The indicator is not an Expert Advisor; it never submits trading orders.
Key features
- Completed Asian range: plots the completed Asian High and Low for the selected UTC window, rather than using unfinished range levels. Check the historical broker UTC offset and DST input.
- Liquidity sweep markers: detects closed-candle penetrations of older confirmed swing highs and lows followed by a closing reclaim or rejection. This is an OHLC price proxy; the indicator cannot observe institutional limit orders or actual stop liquidity.
- Market structure: closed-bar breaks of confirmed swing highs and lows, with separate up/down markers.
- Session context: Asia, London, New York and overlap, with estimated European and United States DST timing.
- Dashboard: informational H1 EMA 20/50 trend, chart timeframe, current broker spread in points, latest sweep, latest swing break and Asian range.
- Manual lot calculator: uses account equity, your manually entered entry and stop, broker-reported tick value and tick size, minimum lot and volume step, plus a round-trip commission estimate. It rounds volume DOWN and reports when the broker minimum lot would exceed the budget.
- Non-trading and educational: no automatic orders, no purported guaranteed BUY/SELL signals and no performance promises.
How to install
- Copy Gold_Session_Liquidity_Free_MT4.mq4 to your MT4 MQL4/Indicators/GoldSessionLiquidityFree directory.
- Compile in MetaEditor 4 if necessary, refresh the Navigator panel and attach it to an XAUUSD chart. M5 or M15 are practical starting points for intraday visual inspection.
- Review BrokerWinterUTCOffset and BrokerEUDST. The default UTC+2 winter/UTC+3 summer configuration is not universal.
- Enable or disable Asian levels, liquidity sweeps, structure breaks and the dashboard independently in Inputs.
- For manual risk planning, enter ManualEntryPrice, ManualStopPrice, optional target and RiskBudgetPercent. Review the broker's tick value and actual commissions before relying on an estimate.
Important inputs
- AsianStartUTC / AsianEndUTC: completed Asian range window (default 00:00 to 06:00 UTC).
- SwingStrength / MaxSwingAge: confirmed swing selection and lookback age.
- MinSweepPoints / MinSweepATR / MinWickPercent: conditions for classifying closed-bar sweep patterns.
- MaxBarsToScan: bounded chart history scan (default 900 bars).
- RiskBudgetPercent: planned stop-loss risk as a percentage of equity, default 0.50; this is not a maximum realized loss.
- CommissionRoundTrip: estimated commission per 1 lot for the entire round trip, in account currency.
- EducationalPopup: optional closed-bar sweep notification, OFF by default.
QA, illustration and limitations
The standalone source was compiled by MetaEditor 4 with 0 errors and 0 warnings. This is a newly ported MT4 edition: it is not byte-identical to the MT5 source, and the buffer map and risk-calculation APIs differ between platforms. This does not establish profitability or guarantee permanent non-repainting on every broker.
The attached images are illustrative historical XAUUSD chart reconstructions originally based on MetaTrader 5 Strategy Tester data, relabeled to explain MT4 concepts, not direct MT4 screenshots or demonstrated MT4 trading performance. Actual charts, broker spreads and indicator markers can differ.
Risk warning: initial stop-risk estimates are not guaranteed maximum losses. Spread expansion, slippage, weekend gaps, financing and broker-specific execution conditions can increase real losses. No automated orders are sent by this indicator.
Project and license
Project documentation: https://forexreview.top/. A dedicated MT4 tutorial URL may be added here after the ForexReview.top guide is published.
Free to study and use. This code incorporates portions of the MIT-licensed Smart Liquidity Hunter swing/pivot approach. Copyright and licensing details appear in the attached THIRD_PARTY_NOTICES.txt.
Created by fxliner for the MetaTrader community. For educational market analysis; no performance guarantees.