MATTRIX 8x  /  MetaTrader 5  /  v1.20 (beta)

Position Monitor — Quick Manual

Monitor & protect — your account cockpit. An 8×8 currency matrix that reads and bulk-manages every open position across the 28 majors, with an account-level equity kill switch.
IN CHART VERITAS ⚡

01What it is

The Position Monitor is a portfolio cockpit: an on-chart 8×8 grid that shows all your open positions across the 28 major pairs and the 8 currency baskets in one place, plus one-click bulk actions to reduce or close the whole book.

It complements AutoQuickTrade: AutoQuickTrade opens and manages positions per pair / basket, the Monitor gives you the overview and the account-wide controls. It reads the account — it does not open new trades.

02The 8×8 matrix

Lower triangle — pairs

The 28 cross cells are the 28 major pairs. Each cell aggregates all open positions on that pair (all pyramid layers, both directions) into one net figure.

Diagonal — baskets

The 8 diagonal cells are the currency baskets (#EUR … #JPY). B:n shows how many positions belong to that currency's basket.

03Reading a cell

04The net break-even frame

A teal ring around a pair cell means its stack is secured at or above net break-even: if every leg's stop-loss were hit right now, the sum across all legs would net ≥ 0 (after estimated commission and swap).

Aggregated, not per-leg

Judged over all legs together. Example: three EURUSD layers at +10 / +16 / −20 pips — the frame looks at the sum, so the winners can carry the loser and the cell still counts as secured.

What blocks the frame

A naked leg (the "S" marker) → never framed (open downside). A pending frame takes precedence over the teal one on the same cell.

Most accurate with AutoQuickTrade. The check subtracts the commission the Monitor learned from your fills, so it is an estimate. It is most precise when the stop was placed by AutoQuickTrade's SECURE (net-BE mode), which sets the SL exactly on the cost-inclusive net break-even using the same cost model. A manually-set stop is judged only as well as the learned commission — and without a learned rate the frame effectively means raw break-even + swap.
"Secured" = no loss at the SL, not a guarantee. Gaps and slippage can still slip past a stop. The frame is a live estimate for the overview — stops are placed from AutoQuickTrade, not from the Monitor.

05Status strip & net P/L

The line under the matrix has two zones:

7 positions | +27.8p | net: +56.31 (c:12.82)    K(E) SL 1.42%

06Footer & bulk actions

The footer carries the account figures and the one-click controls (all across the current Magic filter):

HIDE privacy toggle   ALLPROFITLOSS close all / profitable / losing   -25%-50% bulk partial close

Two-click confirm. Every bulk button (ALL / PROFIT / LOSS / −25% / −50%) needs a second click within Confirmation timeout seconds — the button shows CONFIRM? after the first click. The partial close is lot-safe: a position is skipped if the closed part or the remainder would fall below the broker minimum lot.

07Privacy (HIDE)

HIDE replaces the money values (balance, equity, delta, and the net figure) with ***. Pips stay visible. Ideal for screenshots and streaming without exposing account size.

08Magic filter

Magic Number filter scopes the whole Monitor — matrix, net total and bulk actions — to one strategy:

09Click to chart

Click any cell to open (or focus) that symbol's chart on the Timeframe to open on click, using your Chart template if set. Jump straight from the overview to the pair you want to manage in AutoQuickTrade.

10Kill switch — account equity SL / TP

An account-level stop that sits above every individual SL: when equity reaches a threshold, the monitor closes everything (all symbols, all magics the filter covers, pending orders included), raises an alert, and then disarms for the rest of the day. It re-arms automatically at the next day rollover. All four thresholds default to 0 = off.

SettingWhat it does
ReferenceKILL_REF_DAYEQ = equity at the start of the trading day — a true daily loss cap (prop-firm semantics; realised losses count against it). KILL_REF_BALANCE = live balance — protects the current batch, the level follows the balance after each close.
Day reset hourServer time. 0 = broker midnight. Shift it to match your prop firm's daily reset (broker GMT+3 vs. a CET reset → 2).
Equity SL / TP %Percent below / above the reference.
Equity SL / TP absoluteFixed equity marks, independent of the reference.

Which reference? A worked example. Day starts at 100,000 with an Equity SL of 2%:

StepKILL_REF_DAYEQKILL_REF_BALANCE
Threshold in the morning98,00098,000
You realise −1,500stays 98,000balance 98,500 → threshold 96,530
Further loss still possibleonly −500another −1,970
Daily loss capped?Yes — at 2% for the whole dayNo — each close resets the budget

In short: DAYEQ is a real daily limit — realised losses count against it and the cap holds all day (this is what prop firms measure). BALANCE protects the current batch: after every close the measurement restarts from where you stand, so the level trails your profits upward — but it also follows losses down. Use DAYEQ for a funded account, BALANCE when you just want to protect the trades that are open right now.

Changing a threshold re-arms it. Editing any kill-switch setting is a deliberate act, so a fired trigger is cleared and the switch goes live again (the day anchor is kept). Simply carrying on trading does not re-arm it — that is the point of the one-shot design.

When it fires, the right zone names the trigger: ! KILL SL -2.00% HIT in red, or KILL TP abs HIT in green — a reached target is not an alarm.

Account break-even. Set Equity SL absolute to your current balance. Everything closes the moment equity falls back to it, so the open batch cannot turn into a loss.
It needs the terminal running. The kill switch checks equity on the refresh timer, so it only works while the monitor is online and connected. It does not replace broker-side stop losses on your positions — it overlays them as an extra account-level layer. Gaps, slippage or a closed terminal can still pass it. Its state (day anchor, fired flag) is stored in terminal GlobalVariables MATTRIX_PM_<login>_*, so a timeframe switch, recompile or restart can no longer reset your protection by accident.

11Key settings

GroupSettingNotes
GeneralMagic Number filter0 = all positions
GeneralRefresh interval (ms)Matrix / net refresh, default 600
GeneralTimeframe to open on clickChart TF for click-to-open
GeneralChart templateApplied to newly opened charts (empty = default)
DisplayShow profit in pipsfalse = money value
DisplayCell width / heightMatrix sizing (px)
DisplayPanel X / Y offsetPosition on the chart
SafetyConfirmation timeout (sec)Window for the 2nd confirm click
SafetyCLOSE ALL also cancels pendingtrue = clears pending orders too
Kill switchReference for the % thresholdsDay-start equity (default) or balance
Kill switchDay reset hour (server)0 = broker midnight; match your prop firm
Kill switchEquity SL / TP (% and absolute)0 = off; see section 10

12Notes & safety