Gold Market Dashboard
- Индикаторы
-
Themistokli Kola
MQL5 developer. I build and fix Expert Advisors, indicators and trade-management tools for MetaTrader 5, and I convert MQL4 and Pine Script code to MQL5.
Published on MQL5: - Версия: 1.0
- Активации: 5
Gold Market Dashboard puts the numbers a gold trader checks every day into one panel on the chart. It is made with XAUUSD in mind and works on any symbol and any chart timeframe.
It is display only. Every value comes from the chart's own price data: bars, spread and the indicators built into MetaTrader 5. It never trades and gives no buy or sell signals.
What the panel shows
- Header: symbol, timeframe, server time, the session now open (Asian, London, New York, or the London + New York overlap) and a countdown, for example "London closes in 1h 12m".
- Trend: D1, H4, H1 and M15, each Up, Down or Flat from EMA 21, 51 and 200 on the last closed bar, then how many of the 4 agree. H1 ADX with its value and whether it is above or below your threshold.
- Volatility: daily ATR of the completed days; today's range and the percent of the daily ATR used, as a number and a bar; H1 ATR; the daily ATR against its 20-day average, for example 1.3x.
- Sessions today: Asian, London and New York with status (done, open, next), high, low, range and range as a percent of the daily ATR. An open session shows its high and low so far.
- Spread: now in points and as a percent of H1 ATR, plus the average and maximum of the last 60 closed M1 bars. The colour turns amber or red at levels you set.
- Key levels: previous day high, low and close; today's open; week open; previous week high and low; the nearest round number above and below. Each with its distance in points and in percent of the daily ATR, sorted by price with the current price between them.
Session times are set in city time (Tokyo, London, New York). The broker's time zone and summer time are found automatically, or you can set them by hand.
Buttons
Compact or Full, Hide and Show, Light or Dark (panel colours only; your chart colours are not changed), and A- or A+ for the font size. The panel keeps these choices for each chart.
Options, off by default
- Thin lines on the chart for today's key levels.
- An alert when the spread is above a set percent of H1 ATR, at most once every 15 minutes.
- An alert once a day when today's range passes a set percent of the daily ATR (100% by default).
- Alerts can be a popup, a push notification, or both.
Settings
| Group | Inputs and defaults |
|---|---|
| Trend | EMA fast 21, slow 51, trend 200; ADX period 14 (H1), ADX threshold 20 |
| Volatility | Daily ATR period 14, H1 ATR period 14, days for the ATR average 20 |
| Sessions | Asian 08:00-15:00 Tokyo time, London 08:00-17:00 London time, New York 08:00-17:00 New York time |
| Broker time zone | Automatic, or manual winter and summer offsets from UTC with a summer time rule |
| Spread | Warn level 5% of H1 ATR, high level 10%, closed M1 bars for average and maximum 60 |
| Key levels | Round number step 0 = automatic (10 on gold, 0.01 on EURUSD), show lines false |
| Alerts | Spread alert false at 10%, range alert false at 100%, popup true, push false |
| Panel | Show true, corner left upper, X 12, Y 20, font size 8, start compact false |
Good to know
- It is an indicator. It does not trade and gives no signals or advice. Past ranges and levels say nothing certain about what price will do next.
- Values from D1, H1 and M1 bars are the same on every chart timeframe. Rows show "waiting for data" until enough history has loaded.
- Some servers keep no spread history in their M1 bars. The spread average then cannot be shown.
- In the Strategy Tester the automatic time zone is not available, so the manual offsets are used.
- Removing the indicator removes the panel and its lines.
What was tested
All tests ran on one demo server, on MetaTrader 5 build 6230.
- Strategy Tester in visual mode, XAUUSD M15, 3 days on real ticks, with 0 error lines.
- At one tester time, 20 of 20 panel values matched the values read separately from the chart data (previous day and week levels, ATR, ADX, EMA trend, spread average).
- London and New York session highs and lows matched the M1 bars for those city times.
- EURUSD H1: all values shown, round number step found automatically.
- All buttons on a normal chart; both alerts in the tester, each within its limit.
What was not tested
- Push notifications and alerts on a live chart. Popup alerts were tested in the Strategy Tester only.
- Windows display scaling at 100%. Only 150% was tested.
- Other brokers. The automatic time zone was checked on one demo server only.
