Platforms

How to Connect MetaTrader 5 for Automated Journaling

Connect MetaTrader 5 for real-time automated journaling — an EA streams every fill to your journal the moment it happens, across all your prop accounts.

WM
William M. · Founder of Shibiki

The best trade journal is the one you never have to write. Connect MetaTrader 5 once, and every fill lands in a structured journal the instant it happens — no CSV exports, no midnight data entry, no “I’ll backfill the week on Sunday” that never comes.

Here’s how the connection works and what to expect once it’s live.

MT5 vs MT4: why the MT5 gateway enables real-time sync

If you’ve journaled from MetaTrader 4, you know the pain: MT4 has no native gateway for streaming trade data out in real time, so tools fall back on reading history files or scraping statements after the fact. That means lag — and lag means the pattern that was going to breach you has already had a day to run before it shows up in your log.

MetaTrader 5 closes that gap. Its architecture supports an Expert Advisor that runs inside the terminal and pushes trade events out as they occur. The practical difference:

  • Push, not poll — the terminal reports each deal the moment it fills instead of you exporting a statement later.
  • Complete event data — position lifecycle, volume, price, commission and swap arrive together, not reconstructed from a flat file.
  • Live, not lagged — your journal and your edge metrics reflect the trade you just closed, not yesterday’s.

That real-time channel is what makes genuine automated journaling possible rather than automated importing. The MT5 integration overview walks through the full pipeline.

Installing the guardian EA and authorizing read access

The connection runs through a small guardian EA you drop onto a chart in your MT5 terminal. Setup is deliberately boring — the fewer moving parts, the fewer things break:

  • Install the EA on any chart in the terminal running your prop account. It sits quietly in the background; it doesn’t need a specific symbol or timeframe.
  • Allow algorithmic trading in the terminal so the EA can run, and enable the network permission it needs to reach the sync endpoint.
  • Authorize the account by pairing the EA with your Shibiki workspace so the feed knows where to file each trade.

Read access is enough for journaling — the EA observes and reports your fills. The same guardian EA can also enforce risk limits at the broker if you turn that on, but journaling only asks it to watch and stream, so read-only is the natural first step before you ever add hard limits.

What the live feed captures: partial fills, position netting, swaps

Raw MT5 history is messier than most traders expect, and a good feed handles the mess so your journal stays clean. The events that trip up naive imports:

  • Partial fills and scale-outs — one position may exit across several deals at different prices. The feed captures each and computes a volume-weighted average so the trade reads as one entry and one blended exit, not four fragments.
  • Position netting vs. hedging — on a netting account, adding to a position modifies it rather than opening a second; on a hedging account it doesn’t. The feed tracks the position lifecycle so both models resolve to the correct trade boundaries.
  • Swaps, commissions and fees — overnight swaps and per-side commissions are folded in so the number you review is true net PnL, the figure that actually moved your balance, not gross.

Getting fees and partials right isn’t pedantry. If the journal overstates PnL by ignoring commissions, every downstream metric — expectancy, win rate, R-multiple — is quietly wrong, and you’ll defend a strategy that isn’t actually profitable.

Attributing trades to strategies for live edge calculation

Capture is only half the value. The other half is attribution — tagging each trade to the strategy it belongs to. This is what turns a pile of fills into an answer to the only question that matters: is this setup actually making money?

Once trades carry a strategy tag, the platform computes each strategy’s performance continuously:

  • Expectancy — the average outcome per trade once win rate and average win/loss combine. If the term is fuzzy, the trading expectancy primer lays out why it’s the single number that decides whether a strategy survives, and the expectancy calculator lets you sanity-check the figure yourself.
  • Live edge health — Shibiki wraps that expectancy in a Wilson confidence interval, so you can tell a real edge from a lucky streak. The band tightens as your sample grows, telling you when the number is trustworthy versus when you’re still reading noise.

Because attribution rides on the automated feed, this stays current with zero extra effort — the edge picture updates with every close.

Confirming the connection and handling reconnects

Once the EA is running, confirm the loop end to end: place a small trade (or check your most recent fill) and watch it appear in your journal within moments, with net PnL, entry/exit and symbol matching the terminal exactly. Seeing that first live trade land is the proof the pipeline is healthy.

For reliability over the long run:

  • Keep the terminal running — the EA reports from inside MT5, so a closed terminal means no live feed. Prop traders on a VPS get the most consistent uptime.
  • Reconnects backfill — if the terminal drops off and comes back, the sync reconciles the trades it missed from MT5’s history so you don’t end up with a gap in the record.
  • Watch the status — a clear live / stale / offline signal tells you the feed is alive. If the EA goes quiet, you’ll know before you’ve traded a whole session unjournaled.

That’s the entire setup: one EA, one authorization, and every future trade journals itself. Compared with tools built around manual imports and CSV uploads — the workflow you’ll find in something like Tradezella — a live MT5 feed removes the step traders most reliably skip. The most honest journal is the one that fills itself in.

Related: MT5 integration · Trading expectancy explained · Expectancy calculator

Related guides

Free · 90-second setup

Stop tracking your trading. Start running it.

Shibiki journals every trade, measures your real edge, and pushes hard risk limits to your broker — across every prop-firm account at once.

Connect your first account

No credit card · works with your prop firm

  • Auto-journals every fill straight from your broker
  • Live edge health with a Wilson confidence interval
  • Hard risk limits enforced at the broker — not just alerts
  • One master strategy copied across your prop accounts