Works with the AI Agents you already use

    Forensic trade analysis and market reconstruction tool for MT5/MQL5 developers and XAUUSD traders.

    $8.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Selam

    Selam

    Example session with this skill installed

    selam. Read the chart screenshot I just pasted. Why did my XAUUSD EA enter a sell here when price was clearly rallying? Check the logs for the context at entry.

    • Read your context and instructions
    • Compiled the selam

    I have analyzed the XAUUSD M15 chart and the provided MT5 logs for the trade at 14:30.

    Trade Autopsy: XAUUSD Sell #402

    MetricValue
    FactsEntry: 2045.30
    HTF ContextH4 is Trending Bullish; M15 showed a minor CHoCH to the downside.
    LocationEntry was at the very bottom of a 15-pip supply zone (Position 5%).
    ReactionTrigger candle was a small doji (Body 12%) rather than a displacement bar.
    Primary CauseCategory B (Wrong Location): Chasing the entry at the edge of the zone.

    The logs show [Ctx] zone_pos=5%, vol_rel=0.8, atr=1.2. The EA triggered on a wick touch rather than waiting for a candle close confirmation. While the supply zone was valid, the entry geometry offered poor R:R because price had already moved significantly away from the rejection edge before the order was sent.

    Next steps

    1. Add a zone_position filter to the EA to prevent entries below the 25% mark of a supply zone.
    2. Update the trigger logic to require a closed candle with Body% > 50% to confirm rejection.
    3. Run a backtest on the last 30 days to see if this filter reduces the number of "chase" losses.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Trading algorithms often fail because developers look at backtest summaries instead of raw market behavior. Selam solves this by providing a deep-dive forensic analysis of MT5 logs and raw price action. It bridges the gap between MQL5 code logic and the "trader's eye" needed to understand why a strategy actually wins or loses.

    What it does

    • Trade Autopsy identifies the primary cause of losses using a 10-point evidence-based template.
    • Market Reconstruction builds a narrative from OHLC data to identify high-timeframe structure, zones, and liquidity sweeps.
    • Engine Troubleshooting audits MQL5 logs and EA code to find state-loss bugs, handle leaks, and execution errors.
    • Disciplined Tuning conducts controlled experiments to optimize parameters like ATR-based stops and entry cooldowns without overfitting.
    • Missed Trade Analysis scans logs to determine why specific setups were skipped by filters or session rules.

    How it works

    1. Log Ingestion parses MT5 terminal, tester, and agent logs to build a complete Trade Register with MAE/MFE metrics.
    2. Chart Annotation calculates candle anatomy including Body%, Wick%, and Relative Volume to find displacement clusters.
    3. Hypothesis Testing runs one-change-at-a-time experiments, comparing results against a baseline to verify improvements.
    4. Validation applies overfitting protection through out-of-sample testing and plateau analysis of parameter neighbors.

    Frameworks & tools

    Specifically designed for MetaTrader 5 (MT5) and MQL5. Uses PowerShell for log filtering and Python for raw bar analysis via the market_story.py script.

    Why this beats prompting it yourself

    Generic prompts often hallucinate price levels or miss technical MQL5 state bugs. This skill enforces a "Facts First" protocol that separates observation from interpretation, ensuring every conclusion is cited with log evidence or candle coordinates.

    Use cases

    • Debugging why an EA entered a trade that a human trader would have skipped.
    • Analyzing MT5 logs to find hidden execution issues like slippage or requotes.
    • Stress-testing a strategy's sensitivity to spread widening and news events.
    • Creating a weekly trading journal that segments performance by session and regime.

    Known limitations

    Requires raw OHLC data or specific [Ctx] log tags for full accuracy. Visual chart reading is approximate without a visible scale.

    How to use

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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 6 days ago

    Software
    PythonGit

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed6 days ago
    Updated5 days ago

    What's inside

    Frequently Asked Questions

    Selam is specifically optimized for MetaTrader 5 (MT5) and MQL5 development, with a specialized focus on XAUUSD (Gold) market dynamics and liquidity patterns.

    The skill includes the core analysis engine, the market_story.py script for raw bar analysis, and a PowerShell utility for automated MT5 log filtering and ingestion.

    Unlike generic AI prompts, Selam uses a 'Facts First' protocol that cross-references MQL5 code logic with raw OHLC data to ensure every trade autopsy is cited with specific log evidence rather than hallucinations.

    To get the most accurate results, you should ensure your EA uses specific [Ctx] log tags and provide raw OHLC data in CSV format for the 'Market Reconstruction' features.

    Yes, the 'Disciplined Tuning' module uses one-change-at-a-time experiments and plateau analysis of parameter neighbors to ensure your optimizations are robust and not just chasing historical noise.

    New in Trading & Investing

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Trading & Investing.