Docs
Install and test an exported MT5 Expert Advisor.
- 1. Download the .mq5 file from the Export page.
- 2. Open MetaEditor from MetaTrader 5.
- 3. Place the file in the MQL5/Experts folder.
- 4. Compile the file in MetaEditor and review any warnings.
- 5. Open MetaTrader 5 and attach the EA to a chart for the matching symbol/timeframe.
- 6. Enable Algo Trading only after you understand the settings.
- 7. Run the EA in Strategy Tester before considering any live account use.
The exported EA is starter source code. Treat Strategy Tester results as one piece of evidence, not a guarantee.
Before enabling Algo Trading
- Attach the EA to the same symbol and timeframe saved in the export.
- The EA waits for a real new candle after startup; it should not execute an older signal immediately when attached mid-candle.
- A market gap can fill beyond the requested stop or target price.
- If one OHLC candle touches both SL and TP, candle data alone cannot prove which happened first.
- Broker spread, slippage, commission, liquidity, tick history, and symbol specifications can change results.
Start with a demo account. Compilation and Strategy Tester results do not guarantee profit or identical live execution.