How to Create an MT5 EA Without Coding: Write It in Plain English

How to Create an MT5 EA Without Coding: Write It in Plain English

30 November 2026, 16:00
Diego Arribas Lopez
0
7

You have a method. You can explain it to a friend in two minutes: what you trade, when, what a good setup looks like, when you stay out. What you can't do is write it in MQL5.

So the usual options are a freelancer, a drag-and-drop builder, or asking ChatGPT for the code. All three end the same way: your method turned into fixed rules, in code you can't read, and every change is another round. There is now a fourth way. You write the strategy as text, an AI applies it to the live chart on every check, and the EA does the parts that have to be exact.

Want to run a strategy written in plain English on MT5? In Alpha Pulse AI the strategy is a text prompt: the AI applies it to the live chart and the EA handles size, stops and orders. Try it free for 7 days on a demo account →

Why the Usual No-Code Routes Fall Short

  • A freelancer builds what your spec says, not what you meant. Each change is a new message, a new wait and often a new invoice.
  • A drag-and-drop builder is fine for clean rules like a moving average cross or an RSI level. It has no block for "skip it if the move already looks stretched".
  • ChatGPT writing MQL5 gives you code that compiles. You can't check it line by line, and it is still fixed rules.

The part of your method that makes it yours is usually the judgment: the setups you skip, the sessions you trust, the news you respect. That is exactly the part fixed rules lose.

What Changes When the Strategy Is Text

In Alpha Pulse AI the strategy is a prompt. On every check the EA sends the AI your text plus the live chart: candles from several timeframes, the time of day, the economic events coming up and any open trade. The AI applies your words to that chart and answers with a decision. For example:

Your strategy, in your words:

  • Trade gold in London and New York only.
  • Buy pullbacks when H4 is trending up.
  • Stay out 30 minutes before big news.

What the AI does with it (an illustration of the format): BUY XAUUSD, stop below the pullback, target at 2R, confidence 90 (STRONG). Reason: "H4 uptrend, pullback to London support. CPI is 5 hours away."

"Looks stretched" and "respect the news" are things a model can weigh. In code, each one is a new rule someone has to write and test.

What Stays in Code

Some things should never be left to a reading of your words. In Alpha Pulse AI they live in the EA, whatever the text says:

  • Position size. It comes from your risk per trade and the stop the AI gives.
  • The stop at the broker. It goes with the order, so it holds even if your PC is off.
  • Trade direction. Set Long Only or Short Only and the AI is told the other side doesn't exist, and the EA also discards any entry on that side.
  • The AI bill. A daily cost cap. When it is reached, the EA stops asking.
  • Prop firm limits. With Prop Firm Mode on, the daily and overall loss limits sit on top of your strategy.

How to Write a Strategy the AI Can Follow

  1. Say where and when. The symbol, the sessions, the timeframes you read.
  2. Describe a valid setup. What you need to see before you take it, in the words you would use.
  3. Describe what kills it. What makes you skip a setup that looks right, and where the idea is wrong.
  4. Say where the stop goes. In terms of structure: below the pullback, above the range.
  5. Say when to stay out. News, thin hours, a market that is already stretched.
  6. Leave the risk number to the inputs. The EA applies your risk per trade whatever the text says.

If you want the long version of this, How to Write the Perfect System Prompt for Your Trading Style goes through it step by step.

How Your Own Text Runs

Save the strategy as a text file in the Files folder of your terminal (MQL5\Files, or MQL4\Files on MT4). In the EA inputs, turn on "Use Custom Prompt File" and type the file name. When you change the text, restart the EA on the chart and it trades the new version. Nothing to compile.

The own-prompt file is part of the full version. The 7-day trial runs our built-in strategies, so you watch how the AI reads a chart and explains each decision before you hand it your method.

Your Strategy in Plain English, on MT5 (Free for 7 Days)

No MQL5 and no freelancer. The AI reads the chart the way the strategy says, and the EA keeps the risk side: position size, the stop at the broker and a daily AI cost cap. The trial runs our built-in strategies so you see how the AI reads a chart first; your own prompt comes with the full version.

  • 7 days free on your demo account, MT5 or MT4.
  • No paid AI needed to start: Google gives you a Gemini API key for free.
  • Every call on the panel, with its reasoning, stop loss and take profit.

→ See how the AI reads a chart (free, 7 days)

Frequently Asked Questions

Can I create an MT5 EA without coding?

Yes, in two ways. A builder or a freelancer turns your rules into code. Or you keep the strategy as text and let an AI apply it on the live chart, inside an EA that handles the orders and the risk. The second way keeps the judgment part of your method.

Can I write my own strategy in the trial?

No. The trial runs our built-in strategies, so you see how the AI reads a chart first. Your own strategy comes with the full version.

Will it follow my rules exactly?

Like a sharp assistant, not like code. It can judge context a fixed rule can't, and you read its reasons on the panel. The rules that must be exact, like size, stop and direction, stay in the EA.

Can I use a strategy I wrote with ChatGPT or Claude?

Yes. Any plain text works. Draft it in a chat if that helps, then tighten it after you read the EA's first decisions.

Which AI reads my strategy?

The one you choose: ChatGPT, Claude, Gemini, Grok and more, each with that provider's API key. You switch the model with one setting and the text stays the same.

Strategy prompts that work, model tests and our live results go to the DoItTrading newsletter first.

Trading involves substantial risk of loss. Past performance does not guarantee future results.