Skip to content

Red "ACCOUNT MISMATCH" banner — what it means

From v4.2 onwards JTTS_EA detects whether the account logged in MT5 does NOT match the account it's reporting to. If it detects it, it fully pauses and paints a red banner on the chart. It's a protection, not a bug.

The essentials

  • If you change account in MT5 (File → Login) with the EA loaded, data from the new account would be reported to the account_id of the old one — a dangerous mismatch.
  • The server tells the EA which login it MUST see (the mt5_login you have set in /accounts).
  • If it doesn't match: EA paused, red banner, no trade syncs, no risk enforcement fires.
  • When you fix it (reload the EA on the right chart, or log back into the expected account), the EA resumes by itself in ≤5 s.

What to do when you see the banner

  1. Read the banner: it tells you which login it expected (#X) and which it sees now (#Y).
  2. Option A — fastest: in MT5, log back in with account #X (File → Login to Trade Account).
  3. Option B — if you wanted to be on #Y: close the EA on the current chart and load JTTS_EA on a chart of account #Y, setting InpAccountId to the correct journal account_id.
  4. Wait 5–10 s. The banner disappears and the EA resumes automatically.

What the mismatch pauses exactly

  • Closed-trade sync to the journal — no contaminated history.
  • Client-side risk enforcement — no closing positions of the wrong account using another's rules.
  • Live snapshot (equity, floating P&L, lots, positions) — the dashboard doesn't show crossed data.
  • Server command execution (close_all, close_position) — stays queued until match is restored.

How to avoid seeing it always

Simple option
Use separate MT5 instances — one per account. Each instance with its own terminal64.exe /portable and independent Data Folder. This is the professional standard.
Light option
A single MT5 terminal with several charts open — JTTS_EA loaded on EACH chart with its corresponding InpAccountId. The protection warns you if you operate on the wrong chart.
Minimal option
If you only trade one account at a time and switch login in the same terminal, remember to reload the EA after each switch. The protection is there for when you forget.

Tips

  • The banner only clears when the next poll (≤5 s) confirms the login matches. No manual EA restart needed.
  • The Alert() pop-up only fires the first time of the mismatch, to avoid spamming. If you switch to a wrong account again, the banner reappears but without pop-up.

Important

For the protection to work you need the mt5_login set in each PropFirmAccount (field "MT5 Login" in /accounts). If empty, the EA can't validate and allows everything — recommended to always set it.

Related

Try it on your accounts

Free plan, unlimited accounts, no card.

Start for free →

← All help topics