How to build an MT4 and MT5 EA with AI.
Describe your strategy in plain words. FXC writes the EA for MT4 and MT5, compiles it in your own MetaEditor, tests it in the Strategy Tester and tells you plainly whether it has an edge. Here's how to get a good result.
- You need
- The FXC AI Assistant, and MT4 or MT5 on Windows
- Time
- A few minutes for each idea
- Platforms
- MT4 and MT5, both from one description
Say the strategy the way you'd tell a friend.
Pick an idea to see what a good description holds. The more of these you give, the less FXC has to guess.
FXC writes it, compiles it and runs the Strategy Tester.
It writes the EA and compiles it in your own MetaEditor until there are no errors. The EA lands in its own FXC AI folder with a version number, so nothing of yours is touched. The test runs in a copy of your terminal, so your charts keep working.
- SayThe market, the timeframe and the dates: "Test it on EURUSD H1 since December 2023".
- CostsSpread, commission and swap are in every result.
- WatchEach step shows in the chat while it runs.
Read the verdict: edge, no edge, or too few trades.
Every test ends with one of these, worked out in code from the trades, not written by the AI. FXC repeats it as it is.
- EdgePositive after costs, its whole 95% range above zero, and it held on the untouched years.
"Measured on this data: [R a trade] after costs, [its 95% range], over [trades]. Past results on one market are not a promise."
- No edgeThe average is zero or below, or its range includes zero. Better to know that before risking money on it.
"No edge: on average +0.03R a trade after costs, and the 95% range (-0.08R to +0.13R) includes zero."
- No edge on the untouched yearsIt worked on the years the settings were chosen on, but not on the last 30% it never saw. Treat it as no edge.
- Too few tradesUnder 30 trades can't tell an edge from luck. Test a longer period or more markets.
Change one thing at a time.
After a result, FXC offers the next tests worth running. Change one thing, test again, compare. Each change is a new version in the FXC AI folder, so you can always go back.
- Timeframe"Same idea on H4."
- Hours"Only London hours, 07:00 to 11:00."
- Markets"Try it on GBPUSD H1 too." A result that holds on more than one market says more.
- Target"Try a 1R target instead."
The other FXC AI Assistant guides.
FXC is in a private beta.
Join the waitlist and we'll invite you as places open.
Build an EA with AI: questions.
Do I need to know MQL4 or MQL5?
No. You describe the strategy; FXC writes the code and compiles it. The source is yours to read and change in MetaEditor, and FXC keeps your edits.
Can it turn my indicator into an EA?
Yes, when the indicator gives its signals in values an EA can read, as the ones FXC builds do: "Now turn it into an EA: buy or sell at the breakout close, stop at the other side of the range."
What does "no edge" mean?
The test lost on average after costs, or the result is too close to zero to tell from luck. FXC measures every test the same way and says it plainly, before you risk money on it.



