A trading algorithm is a set of rules written so that a computer executes them without you. Not a prediction, not artificial intelligence, not "a neural network sees the market". Rules. Everything else is the story of how rules beat intuition, and what follows from that for a person with $2,000 on an account.
What a trading algorithm is
Any trading system answers four questions: when to enter, when to exit, with what size and when not to trade at all. A person answers them anew every time — depending on mood and how much they have already lost today. An algorithm answers the same way at three in the morning and in the middle of a news release.
The program that does this is called an expert advisor in MetaTrader — EA. It reads prices, sizes the trade from the instrument specification and sends the order to the broker. It works best on CFDs: the market is open around the clock, all instruments are in one terminal. What a CFD is and why it suits algorithms — the basics are there.
History in five dates
Thomas Peterffy, an options market maker, builds the first handheld computers for the exchange floor. The exchange bans computers; his staff run printouts from the office1.
His firm Timber Hill, the future Interactive Brokers, connects computers directly to NASDAQ. Machines trade on their own, with no human between calculation and order. Interactive Brokers calls it the first fully automated trading system1.
Mathematician Jim Simons launches the Medallion fund — more on it below.
The SEC, the US regulator, writes: the equity market has moved from people on the floor to trading run by computers. The average trade is about 300 shares2.
Flash crash. According to the SEC and CFTC report, one automated sell program of $4.1 billion in a nervous market drops the Dow by almost a thousand points in half an hour3. The program did exactly what it was told: sell by volume, ignoring price and time. It had no "when not to trade" rule.
MetaQuotes releases MetaTrader 5, the MQL5.com site for robot developers and the MQL5 Wizard, which assembles an advisor without code4. What Peterffy built from scratch in 1987 becomes a tool available to any retail trader.
Jim Simons: what his track record showed
Simons is a mathematician who left science at 40 and launched the Medallion fund in 1988. The fund traded only on mathematical models, with no discretionary decisions. By WSJ journalist Gregory Zuckerman's reconstruction, over 30 years from 1988 to 2018 Medallion averaged 66% a year before fees and 39% after — with "5 and 44" fees, two to three times the market norm. Total trading profit — over $100 billion5. Simons died in May 20246.
Three things from this story matter for a retail trader, and none of them is about returns.
The fund is closed. Medallion has not accepted outside money since 1993 — only employees trade it. The most successful system in history is available to nobody outside.
The fund does not grow. Medallion could not get much bigger than $10 billion — strategies stop working when there is more money in them than the market can absorb. This is called a capacity limit, and every algorithm has one, including ours.
The fund is the exception, not the rule. Simons gathered dozens of scientists, thirty years of data and infrastructure no broker has. His track record proves that rules work better than intuition over a long distance. It is not a benchmark for a bot on MT5, and I would not trust anyone who compares their robot to Medallion.
How a retail bot differs from a fund's
| Fund (HFT, quant) | Retail bot on MT5 | |
|---|---|---|
| Competes on | Speed: microseconds, servers next to the exchange | Discipline: not doing the extra thing |
| Latency | Critical | 50 ms does not matter |
| What decides the result | Infrastructure and data | Whether "what to do at spread 3 instead of 1" is written down |
| Capacity | Billions, with a ceiling | Hundreds of thousands to millions, with a ceiling |
Funds compete on speed: servers next to the exchange, a race in microseconds. A retail trader has no business there even with the best VPS. A retail algorithm competes not on speed but on discipline. Its advantage over a human is not seeing faster but not doing the extra thing: not doubling after a loss, not entering without a signal, not overholding. What the research says about how much people lose by hand and why — in "Algorithmic trading vs manual trading: what the numbers say".
One thing I am not sure about: what share of currency-market volume algorithms do today. Estimates vary so widely that I will not quote a number. The direction is not in doubt — the share has grown since 2010.
Four signs of a real algorithm
There are many robots for sale, and most are not an algorithm but an automated bet. Four questions before buying:
- Is risk per trade fixed? If size grows after a loss, that is martingale, and one streak will take the account.
- Is there a "do not trade" rule? A filter by spread, time, news. If the bot always trades, it was not around in May 2010.
- Does the live account resemble the backtest in character? Not in returns — in trade frequency and drawdown length. A backtest is a hypothetical result, but the live account should look like it. Checked on a demo account and on Myfxbook.
- Is the drawdown named in advance? Whoever knows their algorithm knows how much it can lose in a bad year and says so before being asked. How much to sit through and when to switch off — a separate article.
I would not run a bot on a live account without an answer to the second question. The other three are checked in a month on demo.
What next
For forty years algorithmic trading was a tool for those who could afford it. Since 2010 it costs the same as the MT5 terminal — nothing. What stayed paid is the time to check: a month on demo with the trade log open.
Risks
An algorithm executes the rules built into it, including wrong ones — on 6 May 2010 the whole market showed that. Trading through an advisor does not remove market risk, drawdown risk or technical risk: a lost connection, a stopped VPS, a settings error. Any backtest is a hypothetical result on historical data. Medallion Fund results are the historical data of a closed fund; they do not relate to A Labs products and are not a benchmark.
Trading involves risk of capital loss. Past performance is not indicative of future results. A Labs is a software developer, not a broker and not a financial adviser.
Sources — checked 09.10.2026
- Interactive Brokers — History: 1983 handheld computers, 1987 Timber Hill — first fully automated trading system
- SEC — Concept Release on Equity Market Structure, January 2010 (34-61358)
- SEC & CFTC — Findings Regarding the Market Events of May 6, 2010
- MetaQuotes — company history: MetaTrader 5, MQL5.community, MQL5 Wizard (2010)
- Gregory Zuckerman, "The Man Who Solved the Market" (2019); summary — Renaissance Technologies, Wikipedia
- The New York Times — Jim Simons, obituary, May 10, 2024
Tell us about your idea
The request takes 2 minutes. We reply within one business day and suggest the next step.

