# Real-Time Open Position Tracking for MT4 and MT5

> Monitor your active trades in real time away from your desk. Learn how the Expert Advisor pushes open positions every 30 seconds.

**Tags:** open-positions, expert-advisor, metatrader-sync, risk-management
**URL:** https://traderjournal.app/app-features/real-time-open-positions-tracking-ea

---


# Real-Time Open Position Tracking for MT4 and MT5

Many retail traders feel anxious when they are away from their computers while holding active trades. If the market experiences a sudden spike, they want to see their floating P&L and monitor their stop loss levels in real time.

Trader Journal provides a dedicated Open Positions tab that syncs your active trades automatically from your MetaTrader terminal.

---

## How the Real-Time Sync Works

When you install the lightweight Expert Advisor (EA) on your MT4 or MT5 terminal, it runs a background loop:
- Every 30 seconds, the EA takes a snapshot of your open positions, balance, and margin.
- The EA sends this data securely via an HTTP WebRequest to the Cloudflare Worker API.
- In MT5, the EA uses the `OnTradeTransaction` event handler to push updates instantly whenever a trade is modified or closed.

---

## Remote Monitoring and Floating P&L

On your smartphone, the Open Positions tab displays:
- A live list of all open positions with symbols, directions (Buy/Sell), and lot sizes.
- Real-time floating P&L colored green for profit and red for loss.
- Quick links to open charts displaying your entry, stop loss, and take profit lines.

This provides the visibility you need to monitor your risk without sitting in front of your desktop terminal.

---

Trader Journal for MT4 and MT5 keeps you connected to your terminal at all times, providing automated, real-time tracking for active trades.

Download it today at android.traderjournal.app or ios.traderjournal.app.
