Installer LORENTZIAN sur MT4
This walkthrough covers a complete install from a fresh download. It takes about ten minutes.
Prefer to click through it instead? The interactive Setup Wizard walks through every step below one at a time, and generates your license.txt file for you.
1. Install the AI Brain Engine
- Create a permanent folder for the system, for example
C:LorentzianBot. Don’t use a temp or downloads folder — this needs to stay in place. - Copy
brain.exeandReset-Brain-Memory.batfrom your download into that folder. - Note the full path — you’ll enter it into the EA in a later step (
AI_WORKING_DIR).
2. Install the Expert Advisor
- In MT4, go to File → Open Data Folder.
- Open
MQL4 → Expertsand copyLorentzianBot-Scalp-Live.ex4into it. Optionally copy the Backtest build too, if you want to run it in the Strategy Tester. - Open
MQL4 → Libraries(create the folder if it doesn’t exist) and copy bothlibzmq.dllandlibsodium.dllfrom theMQL4-Librariesfolder in your download into it. The EA cannot open its connection tobrain.exewithout these two files. - Fully close and reopen MT4 if it was already running. MT4 only scans the Libraries folder for DLLs at startup — it won’t pick up files you just copied in until it’s restarted.
- Right-click Expert Advisors in the Navigator panel and choose Refresh. Both EA files should now appear in the list.
3. Activate your license
brain.exe checks your license every time it starts and will not run without this step.
- Find your license key under My Account → License keys on the LORENTZIAN site.
- Find your MT4 account number (shown in MT4’s title bar, or under the Navigator panel’s account list).
- In your install folder (the same folder as
brain.exe), renamelicense.txt.exampletolicense.txtand edit it to contain:
LICENSE_KEY=your-license-keyACCOUNT_NUMBER=your-mt4-account-number - Save the file.
brain.exereads it on every startup.
Each license can be active on a limited number of MT4 accounts at once (shown on your My Account → License keys page). Restarting MT4 on the same account never uses up a slot. If you try to activate on a new account after all slots are used, brain.exe refuses to start and prints exactly how many slots you’ve used. Free one up anytime with the Deactivate button next to an old account on that same page.
4. Allow DLL imports
This EA launches brain.exe automatically using Windows’ shell32.dll, so MT4 must be allowed to use DLLs at two levels:
- Go to Tools → Options → Expert Advisors and check Allow DLL imports.
- When you drag the EA onto a chart, on the Common tab of the EA properties window, also check Allow DLL imports.
Without this, the EA cannot start the AI engine and will show a DLL error in the Experts log.
5. Attach the EA and configure it
- Drag LorentzianBot-Scalp-Live onto the chart of the symbol/timeframe you want to trade.
- On the Inputs tab, set
AI_WORKING_DIRto the folder from step 1, for exampleC:LorentzianBot. - Leave
AI_EXECUTABLEasbrain.exeandAUTO_START_AIastrue— the EA launches the AI engine for you. - Make sure AutoTrading is enabled (the toolbar button should be green).
6. Confirm it's running
- Check the Experts tab in MT4’s Terminal window (Ctrl+T) for a connection message from the EA.
- A console window for
brain.exeshould appear (it may minimize automatically) — this is the AI engine running and listening locally. - If you see a DLL-related error, see Troubleshooting.
- If you see a license-related message, revisit Step 3 above — the exact problem is printed to the console.