mt5-log-reader

Parse MT5 runtime and compilation logs for errors and test results.

Updated Nov 7, 2025
One-click install
npx skills add https://github.com/phoenicisf/forex-analyzer --skill mt5-log-reader-phoenicisf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mt5-log-reader
Source: https://github.com/phoenicisf/forex-analyzer/tree/main/.agents/skills/mt5-log-reader
Command: npx skills add https://github.com/phoenicisf/forex-analyzer --skill mt5-log-reader-phoenicisf

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

MT5 log validation: Read MetaTrader 5 log files to verify indicator execution, unit tests, and compilation status, ensuring correct prints and error detection across runtime and compilation logs.

Core Features & Use Cases

  • Parse runtime MT5 Logs to verify Print() outputs from indicators, scripts, and EAs.
  • Inspect per-file compilation logs to confirm successful builds and error counts.
  • Cross-check "Experts pane" activity and known test results to confirm did it work.
  • Use in debugging sessions to quickly surface recent errors and phase transitions.
  • Generate structured summaries for audits and reproducible investigations.

Quick Start

Run the skill to parse the latest MT5 logs and report any errors or failed indicators.

Frequently Asked Questions about mt5-log-reader

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate MT5 indicator execution from runtime logs?

Validate MT5 indicator execution by parsing runtime logs to locate Print() outputs and verify Phase status transitions in the Experts pane. This extracts structured summaries confirming successful execution and surfacing any runtime errors.

What is the best way to check MT5 compilation errors and build status?

Checking MT5 compilation status involves inspecting per-file compilation logs to confirm successful builds and extract error counts. Parsing these logs verifies compilation outcomes and surfaces specific errors for debugging MQL code.

How do I extract unit test results from MetaTrader 5 logs?

Extract unit test results from MT5 logs by parsing known test result patterns and cross-checking Experts pane activity. This recognizes success and failure patterns within runtime logs to confirm test outcomes.

Does MT5 log parsing handle UTF-16LE encoding?

MT5 log parsing handles UTF-16LE encoding natively. The process reads MetaTrader 5 log files using UTF-16LE encoding handling to accurately extract validation results, errors, and Print() outputs without character corruption.

Why are my MT5 indicator logs not showing expected Print() outputs?

MT5 indicator logs may not show Print() outputs if the log path parsing fails or the Experts pane activity is filtered. Parsing runtime logs verifies actual Print() execution and surfaces recent errors or phase transitions for debugging.

Can I generate structured summaries from MT5 logs for debugging sessions?

You can generate structured summaries from MT5 logs by extracting validation results, error counts, and Phase status. These summaries surface recent errors and phase transitions for reproducible investigations and debugging audits.