Backtest strategy code in your browser. No install, no MT4 needed.
Free for B28 Signals members.
Instant access for now — automatic membership verification is coming.
Members’ perk #1 — more coming.
Write strategy code, pick a symbol and dates, hit run. This is the web-based strategy lab — it backtests simple rule-based ideas on daily bars. It is not MT4 and it doesn’t do everything MT4 does.
The champion won our 2026-09-22 bake-off: 27 strategies tested on 5 years of daily XAUUSD/EURUSD/GBPUSD. 10-day breakout, 2×ATR stop, 6×ATR target. Profitable on all three symbols; beat the grid-martingale archetype on every one. Past data is not a promise.
onBar runs once per bar, after the close.buy/sell while a position is open are ignored.onBar(bar, i, ctx) — bar = {date, open, high, low, close}, i = bar index.ctx.buy(price, sl, tp) / ctx.sell(price, sl, tp) — price optional (defaults to close).ctx.closeAll() — exits at this bar’s close. ctx.position — null or {type, entry, sl, tp}.ctx.ema(p, off), ctx.sma(p, off), ctx.rsi(p, off), ctx.atr(p, off), ctx.macd(f, s, sig, off) β {macd, signal, hist}, ctx.stoch(k, d, off) β {k, d}, ctx.highestHigh(p, off), ctx.lowestLow(p, off).Paste EA or strategy code (MQL4 or JavaScript). The AI will fix bugs, add risk management, and guard against overfitting.
Stuck? Generate a strategy concept, then load a matching starter template straight into the backtester.
More lab tools are being built. Members get them first, free.
Position size from your stop distance and risk % — before you enter, not after.
Turn a B28 signal into starter EA code you can paste into MetaTrader.
See when your symbol actually moves — London, New York, Asia.
Live signals with entry, take-profit and stop-loss, the second they fire.
Go Pro β