Guide

MetaTrader 5 Expert Advisor for FX Analytics

A walkthrough of the Global Investing FX Terminal MT5 Expert Advisor — what it is, how to install it, what each panel shows, and how it relates to the companion web terminal. If you trade inside MetaTrader 5 and want institutional-style FX analytics without leaving the chart window, this guide covers the setup end to end.

The MT5 EA dashboard overlay — full walkthrough. Rendered natively inside a MetaTrader 5 chart window (no browser tab required): installation, panel-by-panel tour, and how the EA relates to the web terminal.

What the MT5 EA Is

The Global Investing FX Terminal is a MetaTrader 5 Expert Advisor that renders as a native dashboard overlay directly inside your chart window. It is not an automated trading robot — it does not place trades or manage positions. It is a multi-panel forex dashboard: a single overlay that surfaces CFTC COT positioning, central bank rate bias, a carry trade ranking, an economic calendar, retail sentiment, currency strength, correlation, volatility, and an AI-generated market narrative, all updating on their own schedules without requiring a browser tab.

Note
MT5 native, zero-flicker rendering. The EA draws its panels using MQL5's canvas object directly on the chart, rather than overlaying browser content or a separate window. This avoids the flicker and redraw artifacts common to chart-based dashboard indicators, and means the overlay behaves like any other native MT5 chart object — it persists across timeframe changes and chart reloads.

Installing the EA

The EA is distributed through MQL5 Market (product #180326), MetaTrader's built-in marketplace, rather than as a standalone download. Installation follows the standard MQL5 Market flow:

  • Open MetaTrader 5 and go to the Market tab in the Toolbox panel, or visit the product page directly on the MQL5 website.
  • Rent or purchase the Global Investing FX Terminal license.
  • From the Market tab inside MT5, click Download — the EA installs into your terminal's Experts folder automatically.
  • Drag the EA from the Navigator panel onto any chart. The default panel layout renders immediately; no input parameters are required to get started.
  • If prompted, enable Allow WebRequest in the EA's Common tab and add raw.githubusercontent.com to the URL list — this is required for the EA to fetch the licensing check and periodic data refreshes.
Important
One license, one chart at a time per terminal instance. The license is validated against your MQL5 account when the EA initializes. Running the EA on multiple charts within the same terminal is supported; running the same rented license across unrelated MT5 installations is governed by the standard MQL5 Market rental terms.

Panel-by-Panel Overview

All panels render simultaneously as a single fixed dashboard grid rather than switchable tabs — every panel below is visible at once, laid out around the chart. The data sources and calculation methodology behind each panel are documented in full in the terminal's published methodology — see Global Investing FX Terminal — Methodology for the complete technical reference. The sections below summarize what each panel shows inside MT5.

CFTC COT Positioning

Weekly net positioning from the CFTC's Traders in Financial Futures report, for the Leveraged Funds category — the institutional speculative accounts most often used as a directional proxy in FX. Net positioning is normalized to a 52-week rolling z-score so readings are comparable across currencies despite differing futures contract sizes, alongside the week-over-week change in net positioning to distinguish a currency at an extreme that is still building from one that is already unwinding.

CFTC COT — Leveraged Funds panel rendered natively inside the MT5 Expert Advisor dashboard, showing net percent positioning by currency with week-over-week change

The COT panel, rendered inside MT5. Native dashboard overlay — no browser tab — showing net leveraged-fund positioning by currency with the weekly change alongside it.

CB Bias & Rate Expectations

Two distinct signals per central bank: a retrospective trend (the direction of the most recent policy decision) and a prospective bias (what OIS-equivalent market pricing currently expects at the next meeting). These two signals are deliberately allowed to diverge — a rate held flat for months with a market-implied cut priced for the next meeting is a normal, intentional reading, not a contradiction the panel tries to resolve.

CB Rates & Bias panel rendered natively inside the MT5 Expert Advisor dashboard, showing rate, retrospective trend, OIS-implied probability, and next meeting date per currency

CB Rates & Bias, rendered inside MT5. Native dashboard overlay showing the current rate, retrospective trend, OIS-implied hike/cut probability, and the next scheduled meeting date per currency.

Carry Monitor

Because the EA runs inside your own MT5 terminal, the Carry Monitor reads your broker's actual live swap rates rather than a generic estimate — annualized and then adjusted for each pair's trailing 30-day realized volatility, following the same Sharpe-adjusted carry convention used by institutional carry trade monitors. A high nominal swap in a high-volatility regime is flagged differently from the same swap in a calm one, which is the same distinction that separates an intact carry trade from one at risk of unwinding.

This matters most on JPY funding pairs, where periods of low realized volatility can mask a large duration of accumulated carry positioning. When volatility rises against a shrinking Sharpe-adjusted score, that shift shows up on the panel as a ranking change rather than a silent swap figure — a live view of the same setup that has historically preceded past yen carry trade unwind episodes, without the panel making any predictive claim about timing.

Carry Monitor panel rendered natively inside the MT5 Expert Advisor dashboard, showing long and short swap points, annualized carry percent, 30-day volatility, Sharpe ratio, and long/short signal per pair

Carry Monitor, rendered inside MT5. Live broker swap points converted to annualized carry, adjusted by 30-day realized volatility into a Sharpe ratio, ranked long-to-short across 18 pairs.

Economic Calendar

A native MT5 economic calendar panel built from MetaTrader's own calendar feed, showing upcoming high- and medium-impact releases for the major economies without needing a separate calendar app or browser tab open alongside the chart.

Economic Calendar panel rendered natively inside the MT5 Expert Advisor dashboard, showing today's scheduled releases by currency with actual, forecast, and previous values sourced from MT5's own calendar feed

Economic Calendar, rendered inside MT5. MetaTrader's native calendar feed, filtered to the day's releases with actual/forecast/previous columns per event.

Composite Score

A single blended score per currency that combines six of the panels above into one number on a ±10 scale: COT positioning (25%), momentum (15%), retail sentiment (18%), CB bias (18%), carry (12%), and the Economic Surprise Index (12%). It follows the standard four-factor skeleton (value/carry/momentum/positioning) used by institutional composite proxies, rather than a bespoke weighting scheme. For NOK and SEK, which have no liquid CFTC futures, the COT weight is redistributed proportionally across the remaining five components instead of injecting a misleading neutral zero.

Composite Score panel rendered natively inside the MT5 Expert Advisor dashboard, showing the blended score bar and CB bias label per currency

Composite Score, rendered inside MT5. The six-factor blend per currency as a single ±10 bar, with the CB bias label alongside for quick cross-reference.

Economic Surprise Index

A per-currency read on whether recent economic releases have beaten or missed consensus, following the same construction convention as Citigroup's Economic Surprise Index. Each of the ten currencies is scored over a rolling 90-day window of importance-eligible releases, extending automatically to 180 days for currencies whose calendar has too few releases in the shorter window to produce a stable reading. A currency with no eligible releases in either window shows N/A rather than a misleading zero.

Economic Surprise Index panel rendered natively inside the MT5 Expert Advisor dashboard, showing the beat/miss bar per currency over a rolling 90-day window

Economic Surprise Index, rendered inside MT5. Beat/miss bars per currency over the rolling 90-day window, following the Citigroup ESI construction convention.

Market Sessions

Open/closed status and a progress bar for the four major trading sessions — Sydney, Tokyo, London, and New York — converted to your broker's server time, with each zone's daylight-saving boundary calculated independently so the displayed open and close hours stay accurate as regions shift on and off DST at different points in the year. A footer summarizes the current overlap condition (e.g. the London/New York overlap, the highest-liquidity window of the trading day) and flags the weekend when all four sessions are closed.

Market Sessions panel rendered natively inside the MT5 Expert Advisor dashboard, showing open/closed status and progress bars for Sydney, Tokyo, London, and New York

Market Sessions, rendered inside MT5. Live open/closed status and progress bars for all four sessions, with the current overlap condition called out at the bottom.

Sentiment, Currency Strength, Correlation & Volatility

Rounding out the 13-panel set: retail positioning (used as a contrarian read against the institutional COT signal), a currency strength index ranking the majors against each other across selectable timeframes, a cross-pair correlation matrix, and a volatility & options panel covering realized volatility and risk reversal skew.

Currency Strength panel rendered natively inside the MT5 Expert Advisor dashboard, showing a multi-line strength index for the majors over a selectable timeframe

Currency Strength, rendered inside MT5. A multi-line index ranking the majors against each other over a selectable lookback, from timeframe tabs (M5–D1) at the top of the panel.

AI Market Narrative

Alongside the quantitative panels, the EA displays a qualitative market signal per currency pair, refreshed on a periodic cycle and presented with a priority indicator and supporting narrative text. This is a qualitative complement to the quantitative panels — it does not feed into any composite score and is descriptive of current conditions, not a recommendation to take a position.

MT5 Alerts & Push Notifications

Because the EA runs natively inside MetaTrader 5, it can use MT5's own alert infrastructure directly — in-terminal popup alerts and, where the terminal is linked to the MetaQuotes ID for mobile push notifications, alerts on your phone. This is one of the two capabilities the MT5 layer has that a browser-based dashboard cannot replicate (the other being live broker-specific swap and account data) — alerts arrive through the same channel traders already use for price and order alerts, with no separate app or webhook to configure.

EA vs. Web Terminal

The MT5 EA and the companion web terminal at globalinvesting.github.io share the same underlying data for CB bias, COT, carry, sentiment, and news — so the core read on positioning and policy expectations is consistent whichever you have open. The Economic Surprise Index is the one exception: the EA scores it from MT5's own native calendar feed, while the web terminal scores it from Myfxbook RSS — two independent calendar providers with different event coverage, so ESI readings for the same currency (particularly NOK and SEK, where either feed's coverage is thin) can genuinely diverge between the two platforms rather than reflect a discrepancy to reconcile. Each layer then adds capabilities the other cannot:

  • MT5 EA only: live broker swap rates, an open positions panel reading your actual account, MT5 native economic calendar, and MT5 popup / mobile push alerts.
  • Web terminal only: full OHLC price chart history, the US Treasury yield curve, the derivatives suite (25-delta risk reversals, CIP-implied forwards, ECB fixings, DTCC OTC volume), and the Cross-Asset Risk Monitor.

A single subscription unlocks both, so the two are best used together rather than as alternatives to each other — see the Access page for the full feature breakdown table.

Further Reading

For the full calculation methodology behind every panel referenced above — z-score normalization, OIS-implied probability mechanics, the Composite Score weighting, and documented limitations — see the published methodology document:

Access

13 data panels rendered natively inside MetaTrader 5 — COT, CB bias, carry, calendar, sentiment, and AI narrative — plus the full web terminal under the same subscription, with no installation required.

View on MQL5 Market → Open the terminal →