Back to Blog
eamt4mt5expert advisorinstallationtutorial

How to Install the TradeJournal EA on MT4 and MT5

Step-by-step installation guide for the TradeJournal Expert Advisor on MetaTrader 4 and MetaTrader 5. Includes all settings explained.

2026-04-05 6 min readBy TradeJournal Team

The TradeJournal Expert Advisor (EA) connects your MetaTrader terminal to your TradeJournal account. Once installed, it receives signals and executes trades automatically on your broker.

This guide covers installation for both MT4 and MT5, plus a full explanation of every EA setting.

Download the EA

  1. Log in to your TradeJournal Pro account
  2. Go to Signal Copier โ†’ EA Accounts
  3. Click Download EA
  4. Choose MT4 or MT5 (download both if you use both platforms)

The file will download as:

  • TradeJournalEA.ex4 for MT4
  • TradeJournalEA.ex5 for MT5

MT4 Installation

Step 1 โ€” Find the Experts Folder

In MetaTrader 4:

  1. Click File โ†’ Open Data Folder
  2. Navigate to MQL4 โ†’ Experts

Step 2 โ€” Copy the EA File

Copy TradeJournalEA.ex4 into the Experts folder.

Step 3 โ€” Restart MetaTrader (or Refresh)

Either restart MetaTrader, or right-click Expert Advisors in the Navigator panel and click Refresh.

The EA will appear in the list.

Step 4 โ€” Attach to a Chart

  1. Open any chart (the specific symbol doesn't affect signal execution โ€” the EA trades whatever symbol is in the signal)
  2. Drag TradeJournalEA from Navigator onto the chart
  3. The settings dialog opens โ€” see the Settings section below
  4. Go to the Common tab and enable:
    • โœ… Allow live trading
    • โœ… Allow DLL imports
  5. Click OK

A green smiley face in the top-right corner of the chart means the EA is running and connected.

MT5 Installation

Step 1 โ€” Find the Experts Folder

In MetaTrader 5:

  1. Click File โ†’ Open Data Folder
  2. Navigate to MQL5 โ†’ Experts

Step 2 โ€” Copy the EA File

Copy TradeJournalEA.ex5 into the Experts folder.

Step 3 โ€” Restart or Refresh

Right-click Expert Advisors in the Navigator and click Refresh.

Step 4 โ€” Attach to a Chart

  1. Open any chart
  2. Drag the EA onto the chart
  3. Configure settings (see below)
  4. In the Common tab, enable Allow live trading
  5. Click OK

Enable AutoTrading

In MetaTrader (both MT4 and MT5), make sure the AutoTrading button in the toolbar is active (green). If it's red/disabled, no EAs will execute trades regardless of settings.

EA Settings Explained

Connection Settings

SettingDescription
API TokenYour unique account token from TradeJournal dashboard. Required.
Server URLLeave as default (points to TradeJournal servers)
Poll Interval (seconds)How often the EA checks for new signals. Default: 10 seconds.

Symbol Settings

SettingDescription
Symbol PrefixPrefix your broker adds to symbols (e.g., "m." for "m.XAUUSD")
Symbol SuffixSuffix your broker adds (e.g., ".pro" for "XAUUSD.pro")
Excluded PairsComma-separated list of symbols to never trade (e.g., "GBPJPY,USDJPY")

Risk Settings

SettingDescription
Default Lot SizeFixed lot when no lot is specified in the signal
Risk PercentAuto-calculate lot based on this % of account balance
Max LotHard cap โ€” will never open a position larger than this
Balance for RiskUse account balance, equity, or a fixed custom balance for lot calculations
Special RiskPer-symbol risk override. Format: "XAUUSD:1.5,EURUSD:0.5"

Take Profit & Stop Loss Overrides

SettingDescription
SL Override ModeOFF = use signal's SL. IF_MISSING = only set SL if signal has none. ALWAYS = always use override value
SL Override PipsThe override stop loss distance in pips
TP Override ModeSame as SL override but for take profit
TP Override PipsThe override take profit distance in pips
Use RR ModeCalculate TP automatically from SL ร— R:R ratio
RR RatioThe risk-reward ratio to use (e.g., 2.0 = TP is 2ร— the SL distance)

Multi-TP & Position Management

SettingDescription
Use TP1 as BE TriggerMove stop to break-even when TP1 is hit
Partial CloseEnable closing part of the position at TP1
Partial Close TriggerWhich TP level triggers the partial close
Partial Close PercentWhat percentage to close (e.g., 50 = close half)
Trailing Move TPEnable trailing stop on remaining position

Prop Firm Mode

SettingDescription
Prop Firm ModeMaster toggle for all stealth features
Stealth Min SecondsMinimum random delay before entry (default: 3)
Stealth Max SecondsMaximum random delay before entry (default: 15)
Randomize CommentAdd random suffix to trade comment
Daily Loss Limit %Stop trading for the day after this % drawdown
Max Drawdown %Close all trades and stop if total drawdown hits this

Duplicate & Safety Settings

SettingDescription
Check DuplicatePrevent opening the same signal twice
Ignore No SLSkip signals that have no stop loss
Ignore No TPSkip signals that have no take profit
Force Market PipsTreat entry as market order if price is within X pips
Send NotificationPush notification to MetaTrader mobile app on execution

Verifying the Connection

After setup, check the Experts tab at the bottom of MetaTrader. You should see:

[EA] TradeJournal EA v5.0 initialized
[EA] Connected to TradeJournal server
[EA] Polling for signals every 10 seconds

In TradeJournal โ†’ Signal Copier โ†’ EA Accounts, your account will show a Last Seen timestamp that updates every time the EA checks in.

Multiple Charts / Instances

You can run the same EA on multiple charts simultaneously โ€” for example, if you want different settings for different accounts on the same MetaTrader terminal. Each chart instance must have its own unique API token.

However, the most common setup is one EA per MetaTrader installation.

Updating the EA

When a new EA version is released:

  1. Close MetaTrader
  2. Replace the old .ex4/.ex5 file with the new one
  3. Reopen MetaTrader โ€” the EA updates automatically

Your settings are preserved in the EA's parameter file and don't need to be re-entered.

Common Error Messages

ErrorSolution
"Invalid token"Re-copy your token from TradeJournal dashboard. No extra spaces.
"Symbol not found"Check Symbol Prefix/Suffix settings match your broker
"Live trading disabled"Enable AutoTrading in MT4/MT5 toolbar
"DLL imports not allowed"Enable in EA's Common tab settings
"Server unreachable"Check internet connection. VPS firewall may be blocking outbound connections.

Get the free Signal Parsing Cheat Sheet

10 real signal formats decoded โ€” plus a 5-day Starter trial. No card.

One email now, then occasional tips. Unsubscribe anytime.

Start your free trading journal today

Track every trade, analyze your performance with real data, and build the habits that create consistent profitability.

Get Started Free

No credit card required