- Home
- Skills
- Code Quality & Review
- MQL5 Market Product Preflight
More screenshots
Works with the AI Agents you already use
MQL5 Market Product Preflight
Your Expert Advisor compiles, then the Market test, a terminal restart or a small deposit trips it up. Your agent scans, compiles and tests it against real failures before customers see them.
$15
MQL5 Market Product Preflight
Example session with this skill installed
Scan my EA source in /MQL5/Experts/TrendBot for Market submission. I've attached the latest MetaEditor compile log and a tester journal from a EURUSD H1 run.
- Read your context and instructions
- Compiled the mql5 market product
I have analyzed the source code, compile logs, and tester journals for TrendBot v1.2.
MQL5 preflight: TrendBot v1.2
Builds checked: TrendBot.mq5 (Paid), TrendBot_Demo.mq5 (Free)
Compile: 0 errors, 2 warnings (TrendBot.mq5)
Verdict: Ready with fixes
Findings
-
[Blocker, Confirmed] Unchecked OrderSend return value
Evidence:warning 109: return value of 'OrderSend' should be checked
Catalog match: ERR_CHECK_RETCODE
Fix: Wrap OrderSend in a boolean check and log the_LastErrorif the result is false.
Verify: Re-compile TrendBot.mq5. -
[High, Confirmed] Zero-divide risk in indicator calculation
Evidence:Scanner rule: DIV_BY_ZERO_POTENTIAL at line 142
Catalog match: RUNTIME_CRASH_VALIDATOR
Fix: Addif(range == 0) continue;before the division on line 142.
Verify: Run tester matrix on symbols with low volatility. -
[Medium, Probable] Hardcoded Point usage
Evidence:Scanner rule: ADJ_DIGITS_MISSING
Catalog match: FIVE_DIGIT_BROKER_SYNC
Fix: Use a normalizedPointcalculation that accounts for 3/5 digit brokers.
Verify: Run tester on a JPY pair vs EURUSD.
Tester matrix: 2 runs done. EURUSD H1: Clean. USDJPY H1: 1 journal error (Invalid Volume).
Not checked: Market form items (form data not provided).
Learning log: Added entry for OrderSend retcode handling and zero-divide protection.
Next steps
- Apply the retcode check to all
OrderSendcalls in the expert source. - Update the division logic on line 142 to prevent terminal crashes during low liquidity.
- Re-run the USDJPY test to confirm the volume normalization fix.
Connects securely to your tools. The creator never sees your data.
About this skill
Submitting a product to the MQL5 Market often ends in rejection due to hidden compiler warnings, validator failures, or edge-case execution errors. This skill audits your MetaTrader 5 Expert Advisors and indicators against known Market validation rules and common runtime defects before you upload.
What it does
- Source scanning identifies patterns that trigger Market validator rejections or live execution failures.
- Code auditing reviews order management logic against safe trading standards including margin, volume, and freeze level checks.
- Compile analysis parses MetaEditor logs to reach a zero-error, zero-warning target.
- Tester matrix verifies journals across different account types and symbols to catch symbol-specific bugs.
- Market form check validates product listing metadata and requirements before submission.
How it works
- Context synchronization reads the local learning log to understand previous fixes and build history.
- Static analysis runs the MQL5 scanner on your source files to flag known failure patterns.
- Execution audit evaluates tester journals and compiler output against a comprehensive failure catalog.
- Final reporting generates a ranked preflight report with severity labels and specific fix instructions.
Frameworks & tools
Built for MQL5 development environments. Utilizes MetaEditor logs, MetaTrader 5 Strategy Tester journals, and custom Python scanning scripts for static analysis.
Why this beats prompting it yourself
Generic LLMs lack the specific catalog of MQL5 Market validator "retcodes" and terminal-specific behaviors. This skill maintains a persistent learning log of your specific project's history, ensuring that once a bug is fixed, it stays fixed across versions.
Use cases
- Audit an EA before submitting it to the MQL5 Market to avoid the "Automatic Validation" failed status.
- Debug "Trade is disabled" or "Invalid volume" errors that only appear in the MetaTrader tester.
- Verify that a utility or indicator meets the technical requirements for both Free and Paid versions.
- Clean up legacy MQL5 code to meet modern compilation standards (0 warnings).
Known limitations
Does not provide strategy optimization or financial advice. Requires the user to provide logs from MetaEditor and the Strategy Tester as it cannot launch the MetaTrader 5 GUI directly.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Code Quality & Review.
Requires manual input of MetaEditor logs and Strategy Tester journals. Cannot execute trades or access live accounts. Does not evaluate strategy profitability.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 4 days ago
- Accounts
Mql5
- Software
- MetaTrader 5 and MetaEditor
- Optional
- Terminal access
Permissions
Allowed Hosts
File Scopes
Reads MQL5 source, MetaEditor logs and tester journals to review them. Terminal runs the included scanner and MetaEditor's compile. Write access is used only when you ask the agent to apply a fix, and for the project learning log.