MetaTrader Integration

Connect MT4 or MT5 and automatically log every trade to your Tracom journal in real-time.

Automatic Trade Logging

The Tracom Logger Expert Advisor (EA) monitors your MetaTrader account and automatically logs every trade — entries, exits, and final outcome (win/loss) — to your selected Tracom journal. Available for both MT4 and MT5.

API Tokens: Free users get 1 active token. Premium users can create up to 5 tokens for multiple terminals or VPS setups.

Download for MT4 Download for MT5
1

Prerequisites

  • MetaTrader 4 installed and running
  • Tracom account with an API token (generate in Settings → MetaTrader Integration)
  • Token limits: Free = 1 active token · Premium = up to 5 tokens
  • A journal created in Tracom to log trades to
2

Install the EA

  1. Download TracomLogger.ex4 using the button above
  2. Open MetaTrader 4
  3. Go to File → Open Data Folder
  4. Navigate to MQL4 → Experts
  5. Copy TracomLogger.ex4 into this folder
  6. Restart MT4 or right-click "Expert Advisors" in Navigator → Refresh
3

Enable AutoTrading & WebRequests

⚠️ These settings are required for the EA to work

Enable AutoTrading:

  1. Click the "AutoTrading" button in the toolbar (turns green)
  2. Or go to Tools → Options → Expert Advisors
  3. Check "Allow automated trading"

Enable WebRequests:

  1. Go to Tools → Options → Expert Advisors
  2. Check "Allow WebRequest for listed URL"
  3. Click "Add" and enter: https://tracom.tobistech.co.uk
  4. Click OK
4

Configure the EA

  1. Open any chart (e.g. EURUSD)
  2. Find TracomLogger in Navigator → Expert Advisors
  3. Drag it onto the chart or double-click
  4. The settings window will appear

Configure these inputs:

API TokenPaste your token from Settings → MetaTrader Integration
API URLLeave as default: https://tracom.tobistech.co.uk
Journal IDYour Tracom journal ID (found in journal settings)
Check IntervalHow often to check for new trades (default: 30s)
Debug ModeEnable for troubleshooting — shows logs in Experts tab

Click OK to start. You should see a 😊 in the chart corner.

5

Verify Installation

✅ Signs of Success:
  • Smiley face 😊 in the chart corner
  • "Trading Journal Logger EA initialized successfully" in Experts tab
  • Open trades appear in your Tracom journal
❌ Troubleshooting:
  • Sad face 😞 — AutoTrading disabled. Enable it.
  • No face — EA not attached. Reattach it.
  • WebRequest error — Add the URL to the allowed list
  • Auth error — Regenerate your API token in Tracom
1

Prerequisites

  • MetaTrader 5 installed and running
  • Tracom account with an API token (generate in Settings → MetaTrader Integration)
  • Token limits: Free = 1 active token · Premium = up to 5 tokens
  • A journal created in Tracom to log trades to
2

Install the EA

  1. Download TracomLogger.ex5 using the button above
  2. Open MetaTrader 5
  3. Go to File → Open Data Folder
  4. Navigate to MQL5 → Experts
  5. Copy TracomLogger.ex5 into this folder
  6. Restart MT5 or right-click "Expert Advisors" in Navigator → Refresh
3

Enable Algo Trading & WebRequests

⚠️ These settings are required for the EA to work

Enable Algo Trading:

  1. Click the "Algo Trading" button in the toolbar (turns green)
  2. Or go to Tools → Options → Expert Advisors
  3. Check "Allow algorithmic trading"

Enable WebRequests:

  1. Go to Tools → Options → Expert Advisors
  2. Check "Allow WebRequest for listed URL"
  3. Click "Add new URL…" and enter: https://tracom.tobistech.co.uk
  4. Click OK
4

Configure the EA

  1. Open any chart (e.g. EURUSD)
  2. Find TracomLogger in Navigator → Expert Advisors
  3. Drag it onto the chart or double-click
  4. Go to the "Inputs" tab and configure:
InpAPITokenYour Tracom API token from Settings → MetaTrader Integration
InpAPIURLhttps://tracom.tobistech.co.uk
InpJournalIDYour Tracom journal ID (found in journal settings)
InpCheckIntervalSeconds between checks (default: 30)
InpDebugModeEnable for detailed logs in Experts tab

Click OK. The EA name should appear in the chart corner.

5

Verify Installation

✅ Signs of Success:
  • EA name visible in the chart's top-right corner
  • "Trading Journal Logger EA initialized successfully" in Experts tab
  • Open trades appear in your Tracom journal
❌ Troubleshooting:
  • EA not showing — Algo Trading disabled. Enable it.
  • Error 4014 — WebRequest not enabled. Check settings.
  • Error 401 — Invalid API token. Regenerate in Tracom.
  • Error 404 — Wrong journal ID. Check journal settings.

⚡ How It Works

Auto-Detection

EA monitors your account and detects new positions instantly — capturing symbol, entry, SL, TP, and lot size.

Real-time Logging

Trades appear in Tracom within seconds, marked with an MT4/MT5 badge so you can identify auto-logged trades.

Status Updates

When you close a position, Tracom updates it as Win, Loss, or Cancelled automatically.

Offline Resilience

Trades are stored locally and synced once reconnected. No trades lost due to connection issues.

❓ Common Questions

Does the EA need to run on every chart?

No — attach it to just one chart. It monitors all trades across all symbols in your account.

Will it log my existing open trades?

Yes — on first start, the EA logs all currently open positions to your journal.

Can I use multiple journals?

Yes — run multiple EA instances on different charts, each with a different Journal ID.

Is my API token secure?

Yes — stored locally in MT4/MT5 settings and transmitted only over HTTPS. Never shared with third parties.

Need Help?

Having trouble with the integration? Our team is here.

support@tobistech.co.uk