Gold Session Liquidity Map XAU
- Indicadores
-
Pavel Polikarpov
Pavel, algorithmic trader and MQL5 developer. I build Expert Advisors and indicators for MetaTrader 5, with a focus on gold (XAUUSD). - Versão: 1.0
Gold Session Liquidity Map
Free MetaTrader 5 indicator that shows where the liquidity of the trading day sits: Asia, London and New York session ranges in New York time, prior day and prior week highs and lows, and which of these levels the market has already swept or broken. Made for XAUUSD, works on any symbol.
What you see on the chart
- Session boxes for Asia (19:00-03:00 New York time), London (03:00-08:00) and New York (08:00-16:00), with the range of each session in price. Times can be changed in the inputs.
- Liquidity levels: prior day high and low, prior week high and low, Asia high and low (after Asia closes), London high and low (after London closes).
- Sweep or break, decided on closed bars only. The first closed bar that trades through a level decides its state: a wick through the level and a close back inside is a sweep; a close beyond the level is a break. The line ends at that bar and is labelled. Nothing is redrawn later, and the forming bar never decides anything.
The panel
- Current session, time left and the next session.
- Today's range against the average daily range (ADR), with a progress bar.
- Today's Asia range against its average, and whether the Asia high and low are still intact, swept or broken.
- Liquidity above and below: the three nearest intact levels on each side with the distance in price (for gold, in dollars).
- Last events: the latest sweeps and breaks with time and price.
- Statistics from your own broker's history: over the last 60 trading days, how often the Asia high, the Asia low or both were taken later in the day, and how often the prior day high or low was taken. The window is adjustable.
- Dark, light or automatic theme (follows the chart background). The panel scales automatically for high-DPI screens, from 1080p to 4K, and the scale can be set by hand. Click the header to fold the panel. It sits in the top-left corner by default; any other corner can be chosen in the inputs.
- English or Russian panel and alert text.
Alerts
- Level swept, level broken (on by default as pop-up alerts).
- Price near an intact level (off by default; distance in price, or 0 = 5% of ADR).
- Session open (off by default).
- Channels: pop-up, sound, push notification and e-mail, each switched on separately. Alerts fire only on live closed bars, never on history or in the Strategy Tester.
Time zone
Sessions are defined in New York time, so daylight saving changes in the US and UK are handled for you. Auto mode recognises the common "New York close" server time (server = New York + 7 hours). For other servers choose Manual and enter the server's GMT offset in winter and whether it follows US daylight saving. The footer of the panel always shows which mode is used.
For EA developers
Six indicator buffers (prior day high/low, Asia high/low, prior week high/low) can be read with iCustom. Empty value when a level is not defined yet.
Notes
- Session boxes are drawn on H1 and lower timeframes; levels are shown up to D1.
- Efficient: objects are updated on a new bar or when a level changes, and the panel at most once per second. No DLL, no web requests, no external files.
- This is a chart tool. It does not open, modify or close orders, and a swept or broken level is not a trade signal by itself.
- Statistics describe the past on your broker's data and differ between brokers. They are not a forecast.
If the tool is useful in your trading, a short rating in the Reviews tab helps other traders find it. Questions and suggestions are welcome in the Comments.
Trading involves risk. The screenshots show historical charts in the Strategy Tester, not trading results.
