EA World · free · no sign-up
Build your own trading robot.Understand every line.
Learn how Expert Advisors for MetaTrader 5 really work, assemble your own rules visually, read the MQL5 they become, and test them honestly on ten years of real prices — with the costs, the drawdowns and the overfitting left in.
Your rules, our teaching. MarketPanda supplies no strategy and no signals.
1 · your written rule
“On the daily chart, when the 20-day average closes above the 50-day, go long at the next open. Stop at 2× ATR. Risk 1%.”
2 · the MQL5 it becomes
if(fast2 <= slow2 && fast1 > slow1) return(+1); // closed above lots = LotsForRisk(stopDistance);
3 · the honest test
In-sample
tuned here
Out-of-sample
judged here, once
Costs on. Drawdown first. Not a forecast.
The only safe order
Idea to live in seven steps. Skipping one only moves the lesson to where it costs money.
- 01IdeaA reason you think something should matter.
- 02Written rulesEntry, stop, exit, size, no-trade times.
- 03CodeMQL5 that reads like the rules.Try it here
- 04BacktestPast prices, real costs, untouched out-of-sample.Try it here
- 05Forward testDemo account, unchanged, for months.
- 06Small liveMinimum size, real fills, written switch-off rules.
- 07ReviewCompare live with tested. Repeat honestly.
Curriculum
Fourteen short lessons. One question each.
From what OnTick does to why martingale accounts end at zero. Your progress stays in this browser.
0 of 14 lessons complete
How an EA works
What a trading robot is, the three functions every EA has, and the plumbing around it: ticks, bars, orders, brokers.
Idea to live, in order
The only safe path: written rules, code, an honest backtest, a forward test on demo, then small live size.
Risk engineering
Position size from the stop, daily loss stops, caps on open trades — and the arithmetic of why martingale and grid accounts end at zero.
Robustness and the real world
Overfitting and how to catch it, and the rules a prop-firm evaluation will hold your EA to.
EA Builder
Pick an entry (moving-average cross, RSI, N-bar breakout), a stop, filters and a risk engine. Watch commented MQL5 write itself, with a plain-English note beside every block and guard rails that explain risky choices. Copy it or download the .mq5 file.
Build your rulesBacktest Lab
Run your builder rules on ten years of real daily prices for gold, EURUSD, USDJPY and the Nasdaq 100, with spread and commission. See the equity curve, the drawdown and every trade — then the in-sample vs out-of-sample split and a sensitivity heatmap that show when you have fitted the past.
Test honestlyWhat EA World will never do
- Supply a strategy, a preset or settings that "work"
- Send buy or sell signals, entries or targets
- Sell EAs, copy-trading or broker affiliate links
- Show a backtest without its drawdown and costs
Your rules, our teaching. MarketPanda provides no strategy, no settings that “work” and no signals. Everything here is education; nothing is a recommendation to trade.
Retail leveraged trading carries a high risk of loss: EU regulators report that 74–89% of retail CFD accounts lose money. See our risk disclosure.
Questions people ask first
- Do I need to know how to code?
- No. The builder writes the code for you and explains each block in plain English. The curriculum teaches enough MQL5 to read and change it with confidence.
- Will the code run in MetaTrader 4?
- No. It is MQL5 for MetaTrader 5, using the standard CTrade library. MQL4 handles orders differently, so MT5 code does not compile in MT4.
- Is the generated EA ready for a live account?
- It is a readable template of your rules. Compile it in MetaEditor, test it in the Strategy Tester and on a demo account for months before any live use. Your broker's symbol settings and server time matter.
- Where does the Lab's price history come from?
- Ten years of real end-of-day prices fetched once from Yahoo Finance and bundled with the site, with the source and date range shown next to every result. It is delayed, unofficial data suitable for learning, not for trading decisions.
- Is EA World free?
- Yes — the curriculum, the builder and the lab are free and need no account. Progress is saved in your own browser.
Content source: Bundled MarketPanda content.