Export MT4 / MT5 bots
From a strategy detail or portfolio page you can export a MetaTrader Expert Advisor (EA).Individual strategy
- Open the strategy in the Databank.
- Export bot → choose
MT4orMT5. - Review the block coverage report.
- Download the
.mq4/.mq5.
inputs (sizing, ATR SL/TP/trail, magic, session, GMT offset, etc.) so you can calibrate in the terminal without rewriting logic.
Portfolio
Broker aliases (Settings → Instruments) map canonical symbols to broker names on portfolio export.
Block coverage
- Supported blocks: exportable with expected parity.
- Blocking unsupported blocks: UI/API prevents generating an incomplete EA by default.
- Some blocks may export with an approximate warning — read the reason before live trading.
Inputs you should know
Realistic expectations
- MT4 pending lists can show more states than the app (the app lists executed fills).
- Excel reports use raw UTC; HTML uses
display_tz. - Parity depends on aligned history, GMT offset, and costs (spread/commission).
Pre-live checklist
- Same history/TZ mental model as the backtest (or calibrated offset).
- Coverage without surprises.
- Correct broker aliases (portfolio).
- Test in Strategy Tester with the same
InpBrokerGmtOffsetyou will use live (or document the difference).