Local Terminal (EA)
A local terminal is MetaTrader 5 running on your own PC or VPS, with the TradeHookX EA on one chart. Every signal you send is executed there - as long as that computer is on.
In simple words
The EA is a little robot you put inside MT5. You give it your license key (its "password"), and from then on it listens for your signals and places the trades. If your computer is switched off, the robot sleeps too - that is why many people use a cloud terminal instead.On Advanced or Professional?
You can use a Cloud Terminal instead: MT5 runs on our servers 24/7 with the EA already installed - nothing to install. See Cloud Terminals.Step by step
Create a local terminal
Open Terminals → Local Terminals and click Create Local Terminal. You get a license key - a code like TB-1A2B3C4D-... - and the setup instructions.
On Advanced / Professional a small window first asks you to confirm: this license slot is then used for your own MT5. To move it to the cloud later you must delete the local terminal first (its key is removed and the cloud terminal gets a new one).

Download the EA
Click Download EA v2.40 (MetaTrader 5). The file is TradeHookX_EA.ex5 - ready to use, nothing to compile. MetaTrader 4 is coming soon.
Put it into MetaTrader 5
In MT5 open File → Open Data Folder, go to MQL5 → Experts and copy the file there. Restart MT5, or right-click Expert Advisors in the Navigator and choose Refresh.
Allow the robot to trade
Tools → Options → Expert Advisors, tick both:
[x] Allow algorithmic trading
[x] Allow DLL importsDLL imports are needed because the EA uses a Windows connection library to talk to TradeHookX - you do not need to add any web address to MT5.
Attach it to ONE chart and enter your license key
Drag TradeHookX_EA onto any one chart - which symbol does not matter. In the Inputs tab paste your license key and click OK. Make sure Algo Trading in the MT5 toolbar is green.
LicenseKey = TB-XXXXXXXX-XXXXXXXX-XXXXXXXXOne chart trades every symbol
The EA on one chart trades ALL symbols. An alert "buy GBPUSD" opens GBPUSD even if the EA sits on a EURUSD chart.
Attach the EA to one chart only
Two charts with the EA on the same account would fight over the same signals. TradeHookX blocks a second chart automatically - remove the EA from the extra chart.Is it working?
- •MT5: the EA icon on the chart is active and the Experts tab shows "TradeHookX EA v2.40 Starting"
- •Terminals page: the card shows Connected (green) within a few seconds
- •Alert Builder → Test on one of your alerts → the signal shows Executed in the Signal Log
The local terminal card
| Part | What it does |
|---|---|
| Connected / Reconnecting / Offline | Connected = the EA spoke to us in the last 30 seconds. Reconnecting = a short gap. Offline = no contact for 2 minutes or more. |
| LIVE / DEMO, HEDGING / NETTING | What kind of account the EA reported. |
| Symbols | Translate TradingView symbol names to your broker's names - see Symbol Mapping. |
| EA Settings | Risk limits for this terminal - see Terminal Settings & Risk. |
| Trades | Live open positions and pending orders with profit / loss. |
| Missed | Signals that arrived while the terminal was offline. They were NOT executed - open them by hand if you still want them. |
| Kill | Block every signal on this terminal - see Kill Switch. |
| Rename (pencil) | Give the terminal your own name and a colour. |
| Delete license / Remove terminal | Removes it. If the terminal leads or follows a copy group, you are told which groups - reassign or leave them first, or force-delete. |
Updating the EA
When a new version is released, download the new TradeHookX_EA.ex5, replace the old file in MQL5/Experts and restart MT5. The chart keeps its settings and license key. Still running the old file called tradehookx_EA_v221? Remove it from the chart once, attach TradeHookX_EA and enter your license key again.
Trading by hand next to a cloud terminal
If your account already runs on a TradeHookX cloud terminal, do NOT also attach the EA on your own PC with the same license - it would steal the cloud terminal's signals, so TradeHookX refuses it ("This license runs on your TradeHookX cloud terminal"). You can still log into the same MT5 account on your PC or phone and trade by hand.