Cross Market Confirmation Panel
Confirming a forex move against the broader macro backdrop (is the dollar broadly strong, is risk sentiment behind this move, does oil or gold agree) normally means opening three or four extra charts and eyeballing each one. That workflow does not scale under time pressure and gets skipped in practice, which is exactly when a contradicted move is most costly to have missed. This panel reads up to four reference symbols the trader configures - dollar index, gold, oil, and an equity index by default - plus the chart's own symbol, and shows a simple fast/slow moving-average trend read (UP, DOWN, or FLAT) for each, refreshed every tick. Broker symbol naming for these four reference instruments is genuinely inconsistent across brokers - a true dollar index (DXY/USDX) is not universally offered, and gold/oil/index tickers vary (XAUUSD vs GOLD, USOIL vs WTI, US30 vs DJ30, and so on). Every reference symbol is therefore a plain text input the trader types to match their own Market Watch. A symbol left blank hides that row entirely; a symbol that is filled in but not available from the broker still shows its row, labelled "n/a", so the trader can tell "I did not configure this" apart from "my broker does not carry this instrument" rather than the row silently disappearing either way. Notes and limitations The trend read is a plain two-MA comparison, not a validated signal - it is meant as a quick visual confirmation aid, not a standalone entry trigger. Symbol availability for the dollar index, oil, and equity index references varies enormously by broker; this panel cannot detect or work around a broker that simply does not offer one of these instruments, and says so plainly via the "n/a" row state and a one-time log message at load rather than guessing an alternative symbol name.
Indicator · MT4 · v1.0 · Free
About Cross Market Confirmation Panel
Cross Market Confirmation Panel is an indicator for MetaTrader 4 based on Moving Average. It is set up for gold (XAUUSD). It has 11 settings, such as Dollar index symbol, Gold symbol and Oil symbol. MQL source code included.
Files in the download: CrossMarketConfirmation.ex4, CrossMarketConfirmation.mq4, CrossMarketConfirmation.txt.
Settings
| Setting | Default | What it does |
|---|---|---|
| Dollar index symbol | USDX | Dollar index symbol as listed by your broker (blank to hide this row) |
| Gold symbol | XAUUSD | Gold symbol as listed by your broker (blank to hide this row) |
| Oil symbol | USOIL | Oil symbol as listed by your broker (blank to hide this row) |
| Equity index symbol | US500 | Equity index symbol as listed by your broker (blank to hide this row) |
| Timeframe | PERIOD_H1 | Timeframe the trend read is measured on |
| Fast ma period | 8 | Fast moving-average period |
| Slow ma period | 34 | Slow moving-average period |
| Corner | CORNER_LEFT_UPPER | Panel corner |
| X distance | 10 | Panel horizontal offset, pixels |
| Y distance | 20 | Panel vertical offset, pixels |
| Font size | 10 | Panel font size |
How to install
- Download the ZIP from your PolyMaria library and unzip it.
- In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Indicators.
- Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
- Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
- Drag the indicator from the Navigator onto a chart and adjust the settings.
Tags: Gold (XAUUSD) · Trend · Oil · Moving Average · MT4 Indicator · MQL4 Source Code