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 PC…
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 desktop app
Prefer to write it yourself? Use the Monaco code editor inside the QuantLab desktop app. Edit your strategy and compile MQL5 code with your local MetaTrader installation, without leaving your QuantLab workspace.
- 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);
}
Your workspace, on your PC
Install QuantLab for Windows and open your projects, code editor, and results in the desktop app. Your MetaTrader 5 handles compilation and DeepTests on your PC. QuantLab can help install MT5 and open its account setup. Sign-in and AI features use online services.
- Guided MT5 installation and demo setup
- MT5 DeepTest, the genuine Strategy Tester, on your hardware
- Projects, code, and results in the desktop workspace
Instant preview, then MT5 DeepTest truth
Iterate fast with an quick preview backtest in the app, 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