EURUSD1.0842
Features

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.

AI chat-to-bot

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
QUANTLAB
CHAT · BUILD #128
YOU

Trend-follow GBPUSD on H1. Trade only London/NY overlap, 1.5% risk, ATR trailing stop.

QUANTLAB

Generated a session-filtered trend EA with ATR(14) trailing. Compiling on your PC…

COMPILED CLEAN · 0 ERRORS · 0 WARNINGS
Quant section

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
QUANTLAB
QUANT · MARKOV REGIME
BULL
ret ≥ +5%
SIDEWAYS
−5%…+5%
BEAR
ret ≤ −5%
REGIME GATE

current = BULL · P(stay)=0.78 → take longs only, size ×conviction. Sideways → stand down.

Code editor

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
QUANTLAB
EA_TrendOverlap.mq5Monaco · MQL5
void OnTick() {
  if (!InSession()) return;
  double atr = iATR(_Symbol,_Period,14);
  TrailStop(atr * 1.5);
}
IntelliSense
Inline errors
One-click compile
The desktop app

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
QUANTLAB
QUANTLAB DESKTOP · THIS PC
OK Detected MetaTrader 5
OK Connected MetaTrader account
-> Compiling EA_TrendOverlap.mq5
-> Running Strategy Tester · 2019-2024
OK Results ready in QuantLab
Hybrid backtesting

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
QUANTLAB
NET
+$3,142
PF
1.92
DD
-7.8%
PREVIEW · INSTANT DEEPTEST VERIFIED
Platforms

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
QUANTLAB
MetaTrader 5
.mq5 → .ex5, full tester
NinjaTrader 8
.cs add-on, import to compile
TradingView
Pine v5, paste to chart
BYO-AI integration

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
QUANTLAB
# settings → integrations
ANTHROPIC_API_KEY = sk-ant-•••••
OPENAI_API_KEY = (optional)
Builds with your key are uncapped
Version history

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
QUANTLAB
v6Added session filter[ CURRENT ]
v5ATR trailing stop
v4Risk model → 1.5%
v3Base trend logic
// GET STARTED

See it build a bot for you.