The Basket Viewer builds the eight currency baskets #EUR #GBP #AUD #NZD #USD #CAD #CHF #JPY as custom symbols from the 28 major pairs and keeps them updated live. Next to them it draws a dashboard that shows how each currency is moving right now.
It reads prices only — it does not open, modify or close trades.
Each basket is the geometric mean of the currency's seven pairs (exponent 1/7), inverted where the currency is the quote. The symbols are created in Symbol group path (default Custom\FX).
On start the history is built from M1 data (Days of M1 history, 30 = light, 90 = full). After that the current bar is written every n seconds.
One row per basket, sorted from strongest to weakest by a ranking score: pip sum × coherence ratio for the selected reference period (section 06). Why the order can differ from the pip values is explained below the list.
0, never +0 or -07/7. Green / red = 6 or 7 agree, yellow = mixed, dim red = choppy. The letter shows the reference periodCAD +67 4/7 ▼ means four CAD pairs moved down, but the three that moved up moved furtherPip sum and coherence describe the same move from two sides. The pip sum says how far the basket moved. Coherence says how many of its seven pairs carried the move. A large pip sum from one or two pairs is usually a move in a single pair, not in the currency.
The ranking score weights the pip sum by the coherence ratio. A broad move therefore ranks above a narrower move with more pips.
| Basket | Pips | Coh | Score |
|---|---|---|---|
| CHF | +453 | 7/7 | +453 |
| GBP | +513 | 6/7 | +440 |
| JPY | −275 | 5/7 | −196 |
| USD | −242 | 6/7 | −207 |
CHF ranks above GBP despite 60 pips less. USD ranks below JPY despite the smaller loss.
Strongest: GBP while CHF is the top row. Both are correct; they answer different questions.Column 1 … Column 4 each take one period; OFF slots are skipped, the panel width adapts.
Session columns are sorted chronologically: the session that started most recently stands on the right. Once Tokyo has opened, for example, the order is LON* NYC* TYO. YTD, MTD, WTD and DAY keep their place. A fixed order is available with Session column order.
| Header | Period |
|---|---|
| YTD | Year to date — from the first bar of the year |
| MTD / WTD / DAY | The current month / week / day bar of your broker |
| TYO / LON / NYC | Tokyo, London, New York session, each 08:00–17:00 local time of that city, daylight saving included |
Session highlighting — header and column background show where you are in the trading day:
NYC open, and continues (alone, or it ends last in an overlap) LON open, ends within the current overlap TYO not open
* (e.g. NYC*). The trading day rolls at 17:00 New York, so after the NY close all three sessions carry a star until Tokyo opens — and on Monday morning NYC* is Friday's session.Reference period for ranking and coherence drives the sort order, Coh(x), Top Pairs and the snapshot. Choose any of the seven periods, or AUTO.
AUTO ranks by the open session that started first. It switches to a new session only when the previous one has closed — so the ranking never rests on the first few minutes of a fresh session. With no session open it uses the last New York session (NYC*).
| UTC (summer) | Brightest column | AUTO ranks by |
|---|---|---|
| 23:00–07:00 | TYO | TYO |
| 07:00–08:00 | LON | TYO |
| 08:00–12:00 | LON | LON |
| 12:00–16:00 | NYC | LON |
| 16:00–21:00 | NYC | NYC |
| 21:00–23:00 | none | NYC* |
The three best-scored pairs from all strong/weak combinations: 70 % basket spread + 30 % combined coherence. Click a pair to open its chart. The arrow shows which side leads: ▲ the base currency's basket, ▼ the quote currency's basket.
EURAUD ▼ (+186) means the AUD basket is 186 pips of sum ahead of the EUR basket — EURAUD itself has not moved 186 pips.With Show snapshot text on chart enabled, a text block to the right of the dashboard summarises the reference period: strongest and weakest currency, best pair, and a line with the session hours of the current trading day in server time, coloured like the columns:
TYO 02-11 LON 10-19 NYC 15-00
In the weeks when London and New York change their clocks on different dates, these hours shift against each other — the line shows it.
Clicking the top basket also writes two text files to the terminal's MQL5\Files folder: MATTRIX_Snapshot_en.txt (chart and comment text) and MATTRIX_Snapshot_de.txt (short German version for messengers).
Session windows are defined in UTC and converted to your broker's server time. The Viewer measures the server offset itself. If your broker follows the common New York close convention (GMT+2 winter / GMT+3 summer), it recognises this and applies the correct offset to past sessions as well, even across a daylight-saving weekend. The journal reports the result on start, e.g. Server time GMT+3.0 (NY-close convention, DST-aware).
| Group | Setting | Notes |
|---|---|---|
| Chart | Days of M1 history | 30 = light, 90 = full |
| Chart | Symbol group path | Where the basket symbols are created |
| Chart | Chart timeframe / template | Used when a basket or pair chart is opened |
| Chart | Delete custom symbols when EA removed | Default off; never deletes while SyntheticCharts owns them |
| Columns | Column 1–4 | Default DAY / TYO / LON / NYC |
| Columns | Session column order | Default chronological; Fixed keeps TYO / LON / NYC |
| Columns | Reference period | Default AUTO; see section 06 |
| Position | Dashboard X / Y | Position on the chart |
| Position | Show snapshot text | Also enables the export on click |
| Live write | Write ticks only | Recommended |
| Live write | Write every n seconds | Minimum 1 |
# charts use time-based (TPO) modes