Skip to content

AI MQL5 Expert Advisor Generator for MetaTrader 5

Turn your chart examples or written trading rules into an MQL5 Expert Advisor or custom indicator you can compile and test in desktop MetaTrader 5.

Choose what to export

Both export types use the rules you approve. Choose a strategy to test performance or an indicator to inspect the setup on a chart.

Expert Advisor (.mq5)

MQL5 source

Compile in MetaEditor and run the EA in Strategy Tester with your broker’s symbol, dates, and available history.

Custom indicator (.mq5)

MQL5 source

Plot approved BUY and SELL setups and their levels on the chart for visual review.

How to generate code for MetaTrader 5

  1. Add your evidence. In Training studio, upload annotated screenshots or replay clips, or describe your setup in plain language. Include a trade you would skip and explain why.
  2. Review the proposed rules. Check the entry trigger, stop, target, and risk. Confirm a rulebook version before opening Code & test.
  3. Generate and run the export. Save the EA under MQL5/Experts, compile it in MetaEditor, then select it in Strategy Tester. Pairing is optional for testing. Set the broker’s UTC offset for the test dates and inspect the Journal if trades are missing.

What if the result misses a setup?

Start with the exact version, symbol, timeframe, and date in your example. Compare the signal candle with the simulated order. If no setup appears, check the approved rule and input settings before editing it. If a matching condition appears without a fill, investigate the platform’s cost, order, and risk settings.

Report review works with the version you tested. Save your baseline before approving a revision so you can compare the new result.