anas1412

Backtest Studio — AI skill for Claude Code

AI community

Write, backtest and run MT5 strategies with AI (Claude Code, opencode, Gemini, Codex or any API key).

How to install Backtest Studio

This entry records only its repository, not the path inside it, so there is no exact command to give. Open anas1412/backtest-studio and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Backtest Studio does

Write, backtest and run MT5 strategies with AI (Claude Code, opencode, Gemini, Codex or any API key).

Alternatives in AI

  • Claw Empire — Command Your AI Agent Empire from the CEO Desk — A local-first AI agent office simulator that orchestrates CLI 1.1k ★
  • AI Video Factory — AI video factory: from one topic to a finished, multilingual YouTube video 806 ★
  • Uncensored AI API — Uncensored AI API and models — one key for Claude, GPT, Gemini, Grok, DeepSeek, GLM and Kimi, with uncensored 222 ★

README

Backtest Studio

**[⬇ Download for Windows](https://github.com/anas1412/backtest-studio/releases/latest/download/BacktestStudio-Windows-Setup.exe)** · **[⬇ Download for Linux](https://github.com/anas1412/backtest-studio/releases/latest/download/BacktestStudio-Linux.AppImage)**

[Website & docs](https://anas1412.github.io/backtest-studio/) · [All versions](https://github.com/anas1412/backtest-studio/releases) · [Changelog](CHANGELOG.md)

![Backtest Studio: the chat on the left, a backtest's settings, stats, account-rules check and chart on the right](docs/public/screenshot.png)

Describe a trading strategy in plain words; an AI writes it as an MQL5 Expert Advisor, compiles it and backtests it in **your own MetaTrader 5**, and the results (chart, trades, stats, prop-firm rule check) appear next to the chat. When a strategy is ready you can run it live in MT5 from the app.

  • Any AI: Claude Code, opencode, Gemini CLI or Codex if installed, or an API key (Anthropic, OpenAI, Gemini, DeepSeek, OpenRouter, any OpenAI-compatible service, local Ollama).
  • Risk & rules shared by every strategy: risk % per trade, daily and max loss limits (static or trailing), profit target, with a pass/fail check on every backtest — any prop firm is just a set of these values.
  • Windows and Linux. MT5 runs natively on Windows and under Wine on Linux.

Install

Use the download links at the top (they always give the newest version):

  • Windows: run BacktestStudio-Windows-Setup.exe. Windows warns about an unknown publisher (the app isn't code-signed): More info → Run anyway.
  • Linux: make BacktestStudio-Linux.AppImage executable (chmod +x) and run it.

The app updates itself: when a new version is out it offers "Restart to update". Step by step, with troubleshooting: [Install guide](https://anas1412.github.io/backtest-studio/guide/install).

First start

  1. MetaTrader 5: install it from your broker (on Linux, in a Wine prefix such as ~/.wine* or Bot