Skip to content
Agentmart
Submit a tool

analyze

Analyze market regime and session structure in this MQL5 workspace using reusable CSV exports from an MQL5 script.

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-analyze

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

Analyze market regime and session structure in this MQL5 workspace using reusable CSV exports from an MQL5 script. Use when Codex needs to classify a market as Tendencial or Lateral with moving average and ATR, export per-session data to Terminal Common Files for M15, H1, and D1, and then read those CSV files directly to summarize insights and recommendations by session without recreating scripts that already exist.

Use cases: spreadsheets, data, agent-building

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/analyze

What's inside

Skill name
analyze
Description
Analyze market regime and session structure in this MQL5 workspace using reusable CSV exports from an MQL5 script. Use when Codex needs to classify a market as Tendencial or Lateral with moving average and ATR, export per-session data to Terminal Common Files for M15, H1, and D1, and then read those CSV files directly to summarize insights and recommendations by session without recreating scripts that already exist.
License
MIT
Instructions
171 lines in SKILL.md · view on GitHub

Agent Skills spec issues

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

Files (2)

  • SKILL.md
  • openai.yaml · agents/

SKILL.md (first lines)

# Analyze

## Overview

Use this skill to analyze markets by session in this workspace.

Keep the workflow simple:
- export CSV data with the MQL5 script
- read the CSV directly
- answer the user from the exported data

Do not create HTML reports.
Do not rely on Python for this workflow.

## Reusable files

Use these files as the primary workflow:

- `Scripts\codex\SessionMarketExporter.mq5`
- `Presets\SessionMarketExporter-<SYMBOL>-lastyear.set`
- `config\session-market-exporter-<symbol>-lastyear.ini`

Do not recreate them on each request. Reuse them and only update them when the export logic is actually wrong.

## Goal

Produce session-level market analysis for `M15`, `H1`, and `D1` with:

- Session name
- Moving average context
- ATR context
- Market type: `Tendencial` or `Lateral`
- Trend direction
- Session volatility
- Session insights
- Session recommendations

## Export workflow

1. Compile `Scripts\codex\SessionMarketExporter.mq5`.
2. Create or update a script preset under `MQL5\Presets\` with plain script values.
3. Create or update a startup `.ini` under `MQL5\config\` using `[StartUp] Script=...`.
4. Close any running `terminal64.exe` before launching.
5. Launch MT5 with `/config:...`.
6. Export CSV files into `Terminal\Common\Files\`.
7. Read the generated CSV files directly and summarize them for the user.

## Script preset rule

For `ScriptParameters`, use a normal script preset with simple `key=value` lines.

Correct example:

```ini
InpSymbol=EURUSD
InpLookbackDays=365
InpMAPeriod=20
InpMAMethod=0
InpATRPeriod=14
InpTrendSlopeAtrRatio=0.15
InpTrendDistanceAtrRatio=0.20
InpOutputPrefix=session_market
```

Do not use the optimization format `value||start||step||stop||selected` in a script preset. That format is for optimization, not for scripts.

## Startup ini pattern

Use this structure:

```ini
[Common]
Login=4000030114

[Experts]
Enabled=1

[StartUp]
Symbol=EURUSD
Period=M15
Script=codex\SessionMarketExporter
ScriptParameters=SessionMarketExporter-EURUSD-lastyear.set
ShutdownTerminal=1
```

The `Script=` path is relative to `MQL5\Scripts\`.
The `ScriptParameters=` file is loaded from `MQL5\Presets\`.

## Exported CSV files

Expect one CSV per timeframe:

- `session_market_<SYMBOL>_M15.csv`
- `session_market_<SYMBOL>_H1.csv`
- `session_market_<SYMBOL>_D1.csv`

In this workspace they are currently exported directly under:

- `C:\Users\user-id\AppData\Roaming\MetaQuotes\Terminal\Common\Files\`

## CSV expectations

The exported CSV should include fields like:

- `session`
- `ma_value`
- `ma_slope_points`
- `atr_points`
- `distance_to_ma_points`
- `trend_direction`
- `market_type`
- `trend_score`

Treat these CSV files as the source of truth.

## Session model

Use these session buckets for intraday analysis:

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

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