Skip to content
Agentmart
Submit a tool

run-backtests

Use when running MetaTrader 5 Strategy Tester backtests from the terminal in this workspace.

Skill by kecoma1

IndexedMIT★ 18
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/kecoma1-run-backtests

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when running MetaTrader 5 Strategy Tester backtests from the terminal in this workspace. Ask the user for the test configuration field by field before launching the test, using the current project defaults unless the user changes them.

Use cases: testing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/run-backtests

What's inside

Skill name
run-backtests
Description
Use when running MetaTrader 5 Strategy Tester backtests from the terminal in this workspace. Ask the user for the test configuration field by field before launching the test, using the current project defaults unless the user changes them.
License
MIT
Instructions
268 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • body: contains an absolute path from the author's machine

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Run Backtests

Use this skill when the user wants to run a MetaTrader 5 backtest from the terminal.

## Command

Run the main MetaTrader 5 installation with a tester `.ini` file:

```powershell
Start-Process -FilePath 'C:\Program Files\MetaTrader 5\terminal64.exe' -ArgumentList '/config:C:\Users\<user>\AppData\Roaming\MetaQuotes\Terminal\<terminal-id>\config\codex-fvgtrader-gbpusd-lastmonth-v2.ini' -Wait
```

Use that command pattern for backtests in this workspace.

## Required Workflow

Before running the test, ask the user for the configuration field by field.
Do not assume the final setup without confirming each field first.
When asking for a field, use JSON Schema style notation like this:

```json
{
  "type": "object",
  "properties": {
    "risk_level": {
      "type": "string",
      "description": "Select your preferred risk level",
      "enum": ["low", "medium", "high"]
    }
  },
  "required": ["risk_level"]
}
```

Use the same notation for backtest questions. Add `enum` options whenever the field has a bounded set of valid choices.

Ask in this order:

1. Expert or strategy file.
2. Symbol.
3. Timeframe.
4. Date range.
5. Deposit.
6. Deposit currency.
7. Leverage.
8. Tick model.
9. Optimization on or off.
10. Visualization on or off.

Use these question shapes:

1. Expert or strategy file:

```json
{
  "type": "object",
  "properties": {
    "expert": {
      "type": "string",
      "description": "Select the Expert Advisor or strategy file to run",
      "enum": ["Experts\\\\codex\\\\FVGTrader.ex5"]
    }
  },
  "required": ["expert"]
}
```

2. Symbol:

```json
{
  "type": "object",
  "properties": {
    "symbol": {
      "type": "string",
      "description": "Select the symbol to backtest",
      "enum": ["GBPUSD"]
    }
  },
  "required": ["symbol"]
}
```

3. Timeframe:

```json
{
  "type": "object",
  "properties": {
    "timeframe": {
      "type": "string",
      "description": "Select the chart timeframe",
      "enum": ["M1", "M5", "M15", "M30", "H1", "H4", "D1"]
    }
  },
  "required": ["timeframe"]
}
```

4. Date range:

```json
{
  "type": "object",
  "properties": {
    "date_range": {
      "type": "string",
      "description": "Select the date range preset or provide a custom range",
      "enum": ["last_week", "last_month", "last_3_months", "custom"]
    }
  },
  "required": ["date_range"]
}
```

5. Deposit:

```json
{

From kecoma1/MQL5-SKILLS, MIT.

More from kecoma1/MQL5-SKILLS

Signals

Stars
18
Forks
9
Open issues
1
Last commit (this folder)
Apr 9, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from kecoma1

Cite this page

run-backtests skill. Agent Mart. https://agentmart.dev/skills/kecoma1-run-backtests (last updated 2026-10-24)