On Gold (XAUUSD) price keeps reacting at round numbers, and the move often starts at a session open. This indicator draws both on the same chart. Major round levels every 1000 points by default, which is 10.00 on a two digit gold symbol and 100 pips on a five digit EURUSD, with minor levels halfway between them, five majors above and five below price.
On top of the levels it draws a dotted vertical line at each session open for the last five days, Asia, London and New York by default, with the session name at the open price of that bar. An optional alert fires when a candle closes across a major level. Everything is redrawn once per new bar.
A round number is a place to watch, not a signal. The session times are server time, so check them against your broker before you trust the lines.

Any symbol and any timeframe. The steps are in points, so adjust them to the symbol: on a three digit symbol 1000 points is 1.000. It uses horizontal lines, vertical lines and text objects only, it has no buffers and it never trades. Push notifications need your MetaQuotes ID in the terminal options.
Run it on XAUUSD, XAGUSD, EURUSD, GBPUSD, US30 or NAS100 with the step that fits each one and watch how often the London or New York open reaches the nearest major level. It works well next to support and resistance tools and Smart Money Concepts liquidity levels, since equal highs and lows often sit near round numbers. XP_DrawLevels and XP_ParseHHMM are small functions you can lift into your own EA, and a level touch alert can be added in XP_CheckCross.
Open source. Use it as it is, adapt it, build your own version on top of it. Questions, suggestions and your own tests are welcome in the comments below. Provided as is, use at your own risk.
Related: Forex Session Boxes, Opening Range Breakout Box, PDH PDL Sweep Levels, Auto Fibonacci Retracement.
v1.0 (2026-11-30): initial release.
Multi Timeframe Trend Dashboard
Multi timeframe trend dashboard for Gold (XAUUSD) and any symbol on MT5. Shows up, down or flat for up to 6 timeframes from a fast and slow EMA on the last closed bar, with the distance in points and an alert when all line up. Open source code.
Inside Bar Engulfing Scanner
Engulfing and inside bar scanner for Gold (XAUUSD) and any symbol on MT5. Marks bullish and bearish engulfing candles and inside bars on closed bars, draws the mother bar range as a box and can alert on each pattern. Arrow buffers for iCustom. Open source code.
HTF EMA No Lookahead
Higher-timeframe EMA (fast and slow) on a lower-timeframe chart, using only higher-timeframe bars that are already closed. Values never change after the bar closes.
MACD Signals
Indicator edition for new platform.