DeBrakke · Algorithmic Trading · Setup Guide

MT5 Connector
Setup Guide

Six steps to connect MetaTrader 5 to the DeBrakke strategy engine — takes about 10 minutes.

1
Install
MT5
2
Whitelist
URL
3
Install
EA file
4
Attach
to chart
5
Enter
API key
6
Enable
AutoTrade
1
Starting point
Download & Install MetaTrader 5

MetaTrader 5 is the free trading platform required to run the connector EA. It's provided by your broker, or directly from MetaQuotes.

  • Go to trading.debrakke.com and download MetaTrader 5 for Windows.
  • Run the installer — default options are fine.
  • Launch MT5 and log in with your broker account or open a free demo.
ℹ  If your broker provides their own MT5 download, use that version — it connects to their servers automatically. Don't have a broker yet? See the recommendation at the bottom of this page.
2
Critical — don't skip
Whitelist the DeBrakke Server URL

MT5 blocks all outgoing HTTP calls by default. You must whitelist the DeBrakke server so the EA can send market data and receive trade signals.

  • 1In MT5, click Tools → Options in the top menu bar.
  • 2Click the Expert Advisors tab.
  • 3Tick the checkbox: "Allow WebRequest for listed URL".
  • 4Click the [ + ] button and type the URL below — then press Enter.
https://dt.debrakke.com
  • 5Click OK to save and close Options.
M
Options
General
Charts
Expert Advisors
Events
Community
Allow automated trading
Allow DLL imports
Allow WebRequest for listed URL:
https://dt.debrakke.com
Click [+] to add the URL above if it's not there yet

MT5 → Tools → Options → Expert Advisors · Add https://dt.debrakke.com then click OK

⚠  The URL must be exact — including https://. Without this step the EA shows error 4060 and will not trade.
3
Copy the file
Install the Connector EA

The DT_SAAS_CONNECTOR.ex5 file is the Expert Advisor from the registration page. Don't have it or need the latest version? Request a new download link →

⚡ Quickest method: Simply double-click the downloaded .ex5 file — MT5 will install it automatically and it will appear in the Navigator panel straight away.

― or, if double-click didn't work, do it manually ―

  • 1In MT5, click File → Open Data Folder.
  • 2Open the MQL5 folder, then the Experts folder.
  • 3Copy (paste) DT_SAAS_CONNECTOR.ex5 into that folder.
…\AppData\Roaming\MetaQuotes\Terminal\…\MQL5\Experts\
  • 4Back in MT5: right-click Expert Advisors in the Navigator panel → Refresh.
  • 5The DT_SAAS_CONNECTOR will appear in the list with a green diamond icon.
ℹ  Only the .ex5 compiled file is needed — no source code required.
4
One double-click
Attach the EA to a Chart

The EA must run on an EURUSD M1 (1-minute) chart. You'll find it in the Navigator panel on the left side of MT5.

  • 1Open a new chart: File → New Chart → EURUSD.
  • 2Set the timeframe to M1 using the toolbar.
  • 3In the Navigator panel, expand Expert Advisors.
  • 4 Double-click DT_SAAS_CONNECTOR to attach it to your chart.
    Double-click to install
  • 5The EA properties dialog opens — continue to Step 5.
ℹ  You can also drag the EA from Navigator onto the chart if you prefer.
Navigator
Accounts
Expert Advisors
Today
DT_SAAS_CONNECTOR
Indicators
Scripts

Double-click DT_SAAS_CONNECTOR in the Navigator

5
Your personal key
Configure Your API Key

The EA properties dialog has opened. Click the Inputs tab and fill in the following values:

  • ServerUrl — enter exactly:
    https://dt.debrakke.com
  • ApiKey — paste the key from your registration email or the website:
    dt_Kx9mN2pQrW7tY3vZ8cLs...
  • StrategyVersion — select your trading preset from the dropdown:
    === Strategy ===
    Backend strategy preset
    v14 Default
    v14 Default Standard settings. Recommended for most accounts — moderate position sizes, steady entries.
    v14 Optimised Tuned for higher performance over 2024–2026. Larger lot scaling, tighter entry filters, longer cooldowns. Requires more margin.
    ℹ  The magic number is set automatically based on your selected version — no separate input needed.
  • All other inputs can stay at their default values.
  • 6Switch to the Common tab — tick "Allow automated trading".
  • 7Click OK to attach the EA.
⚠  Your API key is personal — do not share it. Anyone with your key can use your strategy slot on the server.
6
Final switch
Enable AutoTrading — You're Live

The EA won't place trades until AutoTrading is globally enabled in MT5.

  • Click the AutoTrading button in the MT5 toolbar — it turns green when active.
  • The EA icon in the top-right corner of your chart shows a green smiley face — this means it's connected and running.
  • Check the Journal tab at the bottom of MT5 to see the EA's activity log.
ℹ  On first connection the EA automatically sends 3 500 historical M1 bars to the server, seeding the price history buffer instantly. The strategy can evaluate entries from the very next new bar — typically within a minute.
Recommended Broker

Open Your Trading Account

Need a broker? We recommend a low-spread ECN broker compatible with the DeBrakke strategy. Trade EURUSD with tight spreads and fast execution.

Open Account — Recommended by DeBrakke

Troubleshooting
Something not working? Check these first.
  • ? Error 4060 in Journal — The server URL is not whitelisted. Repeat Step 2 and make sure you typed https://dt.debrakke.com exactly.
  • ? Red smiley face on chart — AutoTrading is disabled or the EA has an error. Click the AutoTrading button and check the Journal tab.
  • ? 401 Unauthorized in Journal — Your API key is wrong. Copy it fresh from the registration page at daytrading.debrakke.com and re-enter it in the EA Inputs.
  • ? No trades after the first bar — Price history is seeded on the first tick, so entries can fire quickly. If the market hasn't reached an entry zone yet, the EA simply waits — this is normal. Check the Debug line on the chart comment for the reason (e.g. cooldown, no extreme zone).
  • ? Lost your API key — Visit daytrading.debrakke.com, enter your email and click Rotate Key. The old key is immediately invalidated — update the EA inputs right away.