eToro Trade Copier copies the trades of your MetaTrader account to your own eToro account. You open a position on MetaTrader, by hand or with any expert, and the copy opens on eToro a few seconds later. You close it, and the copy closes. In between, partial closes and stop moves follow too. It talks to eToro through eToro's public API with API keys you make on your own eToro account, so nothing passes through anyone else's server.
Video tutorial: https://youtu.be/m5XU1DmbgUM
Each line of the copy list is a copy rule: which MetaTrader symbol, which eToro instrument, which sides, how big, how much leverage, and whether the copy closes with the trade or stays on eToro. A symbol can have several rules, so one US500 trade can open SPX500 that follows it and also buy 10 USD of an S&P 500 fund that you keep.
In the terminal the expert is called eToro Copier. It is not made by or affiliated with eToro. Start on your eToro demo account; switching to real is one choice in Settings when you are ready.
Contents
- Settings reference
- Install, attach and remove
- Allow the web address
- Make your eToro keys
- Import the keys
- Your first copy
- Switch copying on
- The window
- How big a copy is
- Leverage, stops and eToro's minimums
- Keeping copies on eToro
- Several copies of one symbol
- Demo and real
- Restarts and what is remembered
- The Strategy Tester
- MT4 differences
- Troubleshooting
1. Settings reference
Everything is set in the window. The expert's inputs only hold what you never need to change.
Copy editor (+ Copy, or Edit on a row)
Symbols tab:
| Setting | Default | What it does |
|---|---|---|
| From MetaTrader, Find | empty | Type part of a symbol's name or description and press Enter or the magnifier. Click a result to pick it. |
| To eToro, Find | empty | Type a symbol or words of a name ("s&p 500") and press Enter or the magnifier. eToro's own search lists its instruments; click one to pick it. |
Rule tab:
| Setting | Default | What it does |
|---|---|---|
| When MetaTrader closes | Close the copy | Close the copy: it closes, shrinks and moves its stops with the MetaTrader position. Keep it: the copy stays on eToro and the copier never touches it again. |
| Copy | Both | Which MetaTrader positions are copied: Both, Buys or Sells. Hidden with Keep it, which copies buys only. |
| Size | In proportion | In proportion to the position and to both balances, times the size factor. Fixed USD opens the same amount for every copy. |
| Size factor | 1 | In proportion only. 1 copies in proportion, 0.5 at half, 2 at double. |
| USD per position (on eToro) | 10 | Fixed USD only. The exposure each copy opens, in US dollars. |
| Max leverage | x1 | The highest leverage allowed for a copy, x1 to x400. Hidden with Keep it, which uses x1. |
The line under the fields works the rule out with real numbers for a 1 lot position, so you can check a factor before you save it.
Settings, Account tab
| Setting | Default | What it does |
|---|---|---|
| eToro account | Demo | Where new copies go. Switching to Real asks first. Any switch turns copying off. |
| API key, Demo user key or Real user key | not set | Shows whether each key is saved and its last four characters. A key is never shown. |
| Import keys | Makes the key file the first time; the next press reads it, stores the keys encrypted, deletes the file and tests the connection. | |
| Test connection | Reads the chosen account with the saved keys and says how many positions it has, or what went wrong. | |
| Remove keys | Forgets every key and turns copying off. |
Settings, Options tab
| Setting | Default | What it does |
|---|---|---|
| Size copies | In proportion to the balances | Or Same USD size, which leaves both balances out of the proportional size. |
| Round up to eToro's minimum up to (% of balance) | 10 | A copy under eToro's minimum is raised to it when the minimum is at most this share of your eToro balance, 0 to 100. |
| Copy positions up to (seconds old) | 120 | How old a position may be when the copier first sees it, 10 to 86400. Older ones are not copied. |
| Also copy older positions | off | On copies positions of any age, including those already open when the copier starts. |
| Check every (seconds) | 5 | How often it compares your positions with the copies, 2 to 300. |
| Theme | Dark | Dark or Light. |
Inputs (the expert's properties window)
| Input | Default | What it does |
|---|---|---|
| Store identity, not a position filter | 4300 | Names the directory the settings and copies are kept in. Two copiers to two eToro accounts need two different numbers. |
| Log level | Warning | How much goes to the Experts log. |
| Log retention (days, 0 keeps all) | 7 | How long the copier's own log files are kept. |
2. Install, attach and remove
After you get the program from the MQL5 Market, it is under Expert Advisors, Market in the Navigator (Ctrl+N). Drag it onto any chart and click OK. Which symbol and timeframe that chart has does not matter: the copier works on the whole account.
The window takes the whole chart. It hides the candles, the grid and the scales. Use a chart you do not need for anything else, or open one with File, New Chart.
To remove it, right-click the chart, Expert list, pick eToro Copier and Remove. The chart's own look comes back. Removing it does not close anything on eToro.
3. Allow the web address
MetaTrader only lets an expert reach web addresses you allow. In Tools, Options, Expert Advisors, tick Allow WebRequest for listed URL and add:
Without it, every call to eToro fails, and the status line and the Alert window say the address is not allowed.
4. Make your eToro keys
On eToro, open Settings, Trading, API Key Management, and make a key with the Write permission. eToro gives you a public API key and a user key for each account, demo and real. The user key is 260 characters long, far more than a MetaTrader text box takes, so the copier reads keys from a file instead of a box.
eToro's own developer pages explain the same steps under Authentication, How to get the keys.
Make a key just for the copier. If you stop using it, or think the computer is compromised, delete that key on eToro and nothing else breaks.
5. Import the keys
Open Settings (the gear at the right end of the toolbar), Account tab, and press Import keys. The first press makes the file etoro-keys.txt and the dialog shows its full path. It is in the terminal's Files directory: File, Open Data Folder, then MQL5, Files (MQL4, Files on MT4).
Open the file in Notepad, put each key on its own line after its name and save it:
api=your public API key demo=your demo user key real=your real user key
Leave out any line you do not have yet. Then press Import keys again. The keys go into the copier's encrypted settings file, etoro-keys.txt is overwritten and deleted, and the connection is tested. The dialog says what it imported and whether eToro answered.
The Account tab now shows "API key: saved, ends ...a3f9" and the same for the user key. The settings file is encrypted with a key made from this terminal's data path, so the keys are hidden from anyone who only looks at the file. Someone who can run programs in this terminal, or read your files and work out the path, could get them back. That is why the key should be one you can delete.
Once connected, the cards show your eToro equity and cash, and the status line moves on to "Step 2: add a copy with + Copy."
6. Your first copy
Press + Copy at the top of the copy list. The editor opens on the Symbols tab.
- Under From MetaTrader, type "BTCUSD" in Find and press the magnifier. Your broker's matching symbols appear ("BTCUSD BitCoin vs US Dollar"); click yours.
- Under To eToro, type "bitcoin" and press the magnifier. eToro's instruments appear; click BTC.
- Open the Rule tab. Leave When MetaTrader closes on Close the copy, Copy on Both, Size on In proportion and Size factor on 1. Check the line under the fields: it says what a 1 lot BTCUSD position would open on eToro.
- Press Save.
The row "BTCUSD > BTC x1" appears in the copy list. You can add as many rows as you like, and a long list goes on pages with Prev and Next under it.
7. Switch copying on
The switch in the toolbar reads "Copying is off" until you switch it on. Click it: the copier asks first, naming the account the copies will go to. Once on, it reads "Copying to eToro" and the status line says "Copying with 1 copy rule to your eToro demo account."
Now open a small BTCUSD position on MetaTrader. Within one check (5 seconds by default) the copy list shows "1 filling", then "1 open on eToro", and the position appears in the eToro table on the right with "BTCUSD buy 0.02" under Copy of.
Close part of the MetaTrader position and the copy shrinks by the same share. Close the rest and the copy closes on the next check; while eToro closes it, the row says "1 closing".
Switching off stops everything: nothing is opened or closed on eToro while it is off. A MetaTrader position that closes while copying is off has its copy closed when you switch it on again.
8. The window
- Toolbar: the account (DEMO or REAL), the copying switch, and Settings.
- Cards: your eToro Equity, Cash, Invested (the money in open positions) and Profit, read from eToro on every check, also while copying is off.
- Copy list (left): + Copy, then one row per copy rule ("US500 > SPY x0.5", with "lev 20", "buys", "sells" or "keep" when the rule says so). Under each row: how many copies are open, how many are filling, or why a position was not copied. Each row has its own switch, Edit and a remove button that asks first. A row switched off copies nothing new and says "Off. Open copies still close."
- eToro positions (right): every open position on your eToro account, with side (buy or sell), leverage (Lev), units, open and current rate, SL, TP, amount and profit. Copy of names the MetaTrader position each copy belongs to with its ticket ("BTCUSD buy 0.01 #600069563013"), says "kept, no longer managed" for a kept copy whose trade closed, and "not a copy" for anything you opened on eToro yourself.
- Status line: what the copier is doing, when it last reached eToro, and the last problem in red.
9. How big a copy is
In proportion (the default) keeps the same share of your account on both sides. The copy's exposure is the MetaTrader position's value in US dollars, times your eToro balance (cash plus invested) over your MetaTrader balance, times the size factor.
An example: your MetaTrader account holds 10,000 USD, your eToro account 2,000 USD. You buy 0.1 lot of BTCUSD at 60,000, a position worth 6,000 USD, 60% of your MetaTrader balance. The copy opens 6,000 × 2,000 / 10,000 = 1,200 USD of BTC, 60% of your eToro balance. With a size factor of 0.5 it opens 600 USD.
The position's value comes from the symbol's own tick value, in your account's currency, so an index priced in yen on a euro account works. Euro amounts are turned into dollars with the terminal's EURUSD rate. If that rate is missing, the position is not copied and the row says the size is unknown.
Same USD size (Options tab) leaves the balances out: the copy opens the position's dollar value times the factor.
Fixed USD (per rule) opens the same amount every time, whatever the lot size. A rule with 25 USD opens 25 USD of exposure on each copy.
Sizing looks at money only. When the eToro instrument moves more or less than the MetaTrader symbol, the copy has the same dollars but a different daily swing, and a stop at the same percent distance sits nearer or further in market terms. Pick the size factor for the risk you want on eToro.
10. Leverage, stops and eToro's minimums
Leverage. The money a copy takes from your eToro cash is its exposure divided by its leverage. The copier uses the lowest leverage eToro allows for that instrument and side that fits your cash, and never more than the rule's Max leverage. With x1, a copy that does not fit your cash is not copied, and the row says how much it needs and which size factor would fit.
Stops. Stop loss and take profit are copied at the same percent distance from the price. A stop 2% under the MetaTrader open price lands 2% under the eToro open price. Open at market and set the stops afterwards, or move them later: the copy's stops follow on the next check. eToro needs a stop on every sell and every leveraged position, and limits how far it may be. A position without a stop gets eToro's furthest allowed stop. A position whose stop is further than eToro allows at that leverage is not copied, and the row says why. If eToro closes a copy on its own stop while the MetaTrader position stays open, the copier marks it closed and does not open it again.
Minimums. eToro sets a minimum per instrument: on a demo account, 10 USD for most stocks, funds and crypto, and 1,000 USD of exposure for gold, indices and forex. A copy under the minimum is raised to it when that stays within the Round up share of your eToro balance (10% by default). Otherwise it is not copied and the row says which balance it would need.
11. Keeping copies on eToro
Set When MetaTrader closes to Keep it, and the copy stays on eToro after the trade closes. The copier never shrinks it, never moves its stops and never closes it. eToro puts a stop on every sell and every leveraged position, which would close a kept copy sooner or later, so a kept rule copies buys only, at x1. On many stocks and funds eToro buys the asset itself for an x1 buy; on some it opens a contract for difference instead. eToro decides that per instrument.
An example for slow buying: a MetaTrader expert buys US500 whenever RSI drops under 30 and sells a few days later. A rule US500 to SPY5.L, Keep it, Fixed USD, 10, buys 10 USD of the fund on every one of those buys and keeps them, while the expert's trades come and go.
Once the MetaTrader trade closes, the eToro table shows the copy as "kept, no longer managed". It is yours to close on eToro when you want.
12. Several copies of one symbol
A symbol can have as many copy rules as you like, and every MetaTrader position opens one copy per rule. Two rules for US500, one to SPX500 with Close the copy and one to SPY5.L with Keep it and Fixed USD 10, give you SPX500 that follows the trade and 10 USD of the fund that stays, on every US500 buy.
Each copy keeps the rule it opened under. Editing, switching off or removing a rule changes only positions that open afterwards.
13. Demo and real
Settings, Account tab, eToro account picks where new copies go. Switching turns copying off and, for Real, asks first. Each copy remembers the account it opened on, so copies made on demo keep closing on demo with the demo key after you switch to real. Import the real user key before you switch.
14. Restarts and what is remembered
Every copy is kept in the copier's saved state the moment its order goes out. After a restart of the terminal or the expert, closes still reach eToro and an order is never sent twice. If the terminal stopped right after sending an order, the copier finds the order or the new eToro position on its next start instead of sending another.
New positions are copied only while they are younger than Copy positions up to (2 minutes by default). Positions that opened while the copier was not running are not copied after a restart unless Also copy older positions is on.
eToro allows 20 trading calls a minute. The copier stays under that and waits when eToro asks it to.
15. The Strategy Tester
The Strategy Tester cannot reach any web address, so the copier cannot copy there. It starts, shows its window and says so in the status line, and sends nothing.
16. MT4 differences
On MetaTrader 4 the copier copies trades the same way. MetaTrader 4 has no netting accounts, so every trade is its own copy. The Files directory is under MQL4 instead of MQL5.
On a MetaTrader 5 netting account, volume added to an open position keeps the same position, and that added volume is not copied yet. Pending orders are not copied on either platform.
17. Troubleshooting
| What you see | What to do |
|---|---|
| The address is not allowed | Add in Tools, Options, Expert Advisors (section 3). |
| eToro answered HTTP 401 | A key is wrong, deleted, or for the other account. Make sure the user key matches the account picked in Settings, and import the keys again. |
| Step 1: import your eToro keys in Settings. | No keys are saved yet (section 5). |
| The key file could not be read | Save etoro-keys.txt as plain UTF-8 text in Notepad, then press Import keys again. |
| A row says "it was open longer than the copy window" | The position was older than Copy positions up to when the copier saw it. Raise it, or turn on Also copy older positions. |
| A row says the copy rule does not copy this side | The rule copies only buys or only sells. |
| A row says a copy needs more cash | Lower the size factor to the one the row suggests, raise Max leverage, or add cash on eToro. |
| A row says the copy closed on eToro by itself | eToro's stop closed it while the MetaTrader position stayed open. It is not opened again. |
| Nothing happens | Check that the switch reads "Copying to eToro", the row's own switch is on, and the position is on a symbol in the list. |
For questions or problems, write in the product's Comments tab or send me a private message on MQL5.

































