Everything you need to go from idea to shipped bot
Chat or code, QuantLab builds the bot. Your own machine compiles and backtests MetaTrader 5 in full, and you can generate code for any platform you name.
Describe a strategy in plain English
Type the logic the way you'd explain it to another trader, entries, filters, risk, exits. QuantLab turns it into clean, compilable code and iterates with you, build after build, until the equity curve looks right.
- Plain-English to compiled code
- Conversational refinement
- Catches ambiguous logic before it ships
Trend-follow GBPUSD on H1. Trade only London/NY overlap, 1.5% risk, ATR trailing stop.
Generated a session-filtered trend EA with ATR(14) trailing. Compiling on your agent…
Trade like a hedge-fund quant, not on vibes
Switch on a quantitative method and QuantLab applies it on top of whatever you describe. The Markov hedge-fund method quantifies the market into Bull / Bear / Sideways regimes from a rolling-return rule, builds a transition matrix, and gates your entries by regime, plus mean-reversion, momentum and pairs/stat-arb methods. Grounded in a built-in quant-research library so the logic is real, not hand-wavy.
- Markov regime · mean-reversion · momentum · pairs
- Regime gating + volatility-scaled risk
- Backed by a quant-research knowledge base
current = BULL · P(stay)=0.78 → take longs only, size ×conviction. Sideways → stand down.
A full Monaco editor, in the browser
Prefer to write it yourself? The same VS Code editor you already know, IntelliSense, inline errors, multi-file projects, runs in the browser with one-click compile against your local agent. No toolchain to install.
- Monaco / VS Code engine
- MQL5, NinjaScript & Pine syntax
- One-click compile to your machine
if (!InSession()) return;
double atr = iATR(_Symbol,_Period,14);
TrailStop(atr * 1.5);
}
Runs on YOUR MetaTrader: your compute, your privacy
The lightweight QuantLab agent installs on your PC and drives your own MetaTrader 5 to compile and backtest. No MT5? It installs one and opens a free demo account for you. Your strategies never touch a shared cloud, and there are no metered compute bills.
- Auto-installs MT5 + free demo account
- MT5 DeepTest, the genuine Strategy Tester, on your hardware
- Strategies stay private, never a shared cloud
Instant preview, then MT5 DeepTest truth
Iterate fast with an instant in-browser preview backtest, then run MT5 DeepTest, the genuine MetaTrader Strategy Tester, for tick accurate, full fidelity results you can actually trust before risking capital.
- Instant preview for fast iteration
- Tick-accurate MT5 DeepTest
- Equity curve, trade list & metrics
MetaTrader 5 in depth, plus any platform you name
MetaTrader 5 is the deepest integration: your machine compiles the .mq5 to .ex5 and runs MT5 DeepTest, the genuine Strategy Tester, plus the optimizer. For NinjaTrader 8, QuantLab generates NinjaScript and packages it as an importable add-on that compiles inside your NinjaTrader. For TradingView, you get ready-to-paste Pine v5. Need something else (cTrader, Python, TradeStation, and more)? Pick Other and QuantLab writes the code, delivered as source to download.
- MetaTrader 5, full compile, Strategy Tester & optimization on your PC
- NinjaTrader 8, generated NinjaScript add-on, compiles in your NinjaTrader
- TradingView Pine, generated Pine v5 to paste into TradingView
- Any other platform, generated source you can download
Bring your own AI key, uncapped
Plug in your own Anthropic or OpenAI key and builds generated with it stop counting against your plan cap. You pay the model provider directly, effectively unlimited build volume, available from the Entry tier up.
- Connect Claude or OpenAI
- Builds with your key are uncapped
- You control model cost directly
ANTHROPIC_API_KEY = sk-ant-•••••
OPENAI_API_KEY = (optional)
Every build, saved and diffable
Each iteration is snapshotted automatically. Roll back to any earlier version, compare what changed, and never lose a strategy that worked because the next tweak didn't.
- Automatic version snapshots
- One-click rollback
- See exactly what changed