Step-by-step guide

How to create an MT5 EA, step by step

The full path from “I have a strategy” to a working Expert Advisor.

  1. 01

    Write down your rules

    Entries, exits, stop-loss, take-profit, risk per trade, trading hours, instrument, timeframe. The more specific, the better the result.

  2. 02

    Describe it in plain language

    Type it the way you'd explain it to another trader — no technical spec needed.

  3. 03

    Check the read-back

    StratoBot shows what it understood. Fix anything it misread before moving on.

  4. 04

    Adjust with the block editor

    Every rule is a visible, editable block — reorder, tweak parameters, or add ones the description missed.

  5. 05

    Run the free logic check

    Confirms your rules fire the way you described, on a synthetic price path. Not a backtest, not proof of profit.

  6. 06

    Unlock and download

    Download the real .mq5 file. Your first EA is free; after that, each one is KES 1,000 per EA.

  7. 07

    Compile and run it

    Copy it into MetaTrader 5's Experts folder, compile in MetaEditor (F7), then attach it to a chart with Algo Trading on.

Always run the compiled EA on a demo account before trading it live. The logic check confirms your rules fire correctly — it is not proof they'll be profitable.

Prefer building visually? Start with the block editor · Installing it in MT5 · Backtesting it · Compared with fxDreema

Watch: create an MT5 EA in 1 minute

How to Turn a Trading Strategy Into an MT5 Expert Advisor (No Coding). Open on YouTube

Have a strategy ready?

Skip the guide and jump straight into describing it.

Build My EA

Your first EA is free.