Knowledge Base
Frequently Asked Questions
Practical answers about AI strategy conversion, API key privacy, and code exports[cite: 4].
How can I convert my trading strategy to MQL5 for free without coding?
You can describe your indicators, entry rules, stop loss, and take profit conditions in natural language on BacktestLab Pro. The client-side AI translates your trading instructions into standard MetaTrader 5 (MQL5 .mq5) Expert Advisor code that you can compile directly in MetaEditor.
Can I build an MT5 Expert Advisor using ChatGPT or Claude prompts?
Yes. BacktestLab Pro provides a specialized algorithmic prompt framework. You connect your own Gemini, OpenAI, or Anthropic API key to generate compile-ready MQL5 code complete with CTrade classes, OnTick handlers, and spread filters.
Is my trading strategy private when generating MQL5 code?
Yes. Your API key and trading rules are stored strictly in your local browser session storage[cite: 4]. Requests travel directly over encrypted HTTPS to your selected AI provider[cite: 4]. BacktestLab Pro does not record, log, or store your proprietary trading strategies[cite: 4].
Does the generated MQL5 code compile directly in MetaEditor?
Yes. The generated source code is structured using standard MQL5 conventions, including external inputs for the MT5 Strategy Tester, CTrade execution logic, and spread-filter circuit breakers.
Can I test the strategy rules before deploying the EA live?
Yes. You can test your strategy logic against historical multi-timeframe candle data inside our free Session Builder before compiling and launching the EA on a live broker terminal.