Strategy testing and trading software · Germanycontact@stratcorealpha.com · DE
Services and resources

Free diagnosis guide

MQL5 Expert Advisor Bug Report Checklist

A reproducible MQL4 or MQL5 bug report format that helps separate source-code logic, broker constraints and terminal configuration.

The checklist

  1. 1

    Editable source

    Include the MQ4 or MQ5 files and every non-standard include or custom indicator required to compile.

  2. 2

    One primary issue

    Describe the single highest-priority fault before adding unrelated improvements.

  3. 3

    Expected behaviour

    State exactly what the EA, indicator or script should do in the reproducible case.

  4. 4

    Actual behaviour

    State what happened instead, including visible values and the time of the event.

  5. 5

    Reproduction steps

    List symbol, timeframe, date range, input set and the shortest sequence that triggers the issue.

  6. 6

    Logs

    Include the relevant Experts and Journal lines around the failure, preserving return codes and timestamps.

  7. 7

    Broker environment

    Provide account mode, digits, filling mode, volume step, stop level and terminal build when execution is involved.

  8. 8

    Screenshots or tester evidence

    Mark the expected event and actual event without relying on the image as the only specification.

  9. 9

    Recent changes

    Identify the last known working version and what changed before the issue appeared.

  10. 10

    Acceptance test

    Define the exact check that will prove the agreed repair is complete.

Common questions

Can an EX4 or EX5 file be repaired without source code?

Not as a normal source-code repair. Protected or compiled files should not be decompiled. A clean reimplementation requires a separate behavioural specification and authorization.

Why are broker details relevant to an EA bug?

Order filling, symbol digits, minimum volume, stop levels and account mode can change whether an otherwise valid trade request is accepted.

Is optimization included in a bug fix?

Not automatically. A bounded bug fix proves corrected behaviour for the agreed case. Strategy optimization and new features should be scoped separately.

Free diagnostic resource

Run the MQL repair triage locally

Mark Compile, Load, Initialize and Runtime in order, then copy a source-safe evidence brief without uploading code or credentials.

Open the free tool

Ready for a feasibility check?

48-Hour MT4/MT5 Bot Fix & Proof Sprint — 49 USD

Review the service

Trading risk disclosure

Futures and forex trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing one's financial security or lifestyle. Only risk capital should be used for trading, and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results.

Hypothetical performance disclosure

Hypothetical performance results have many inherent limitations. No representation is being made that any account will or is likely to achieve profits or losses similar to those shown. There are frequently sharp differences between hypothetical performance results and the actual results subsequently achieved by any particular trading program. Hypothetical results are generally prepared with the benefit of hindsight, do not involve financial risk, and cannot completely account for the impact of financial risk in actual trading. Market conditions, the ability to withstand losses, and adherence to a trading program can all materially affect actual results.

NinjaTrader trademark disclosure

NinjaTrader® is a registered trademark of NinjaTrader Group, LLC. No NinjaTrader company has any affiliation with the owner, developer, or provider of the products or services described herein, or any interest, ownership or otherwise, in any such product or service, or endorses, recommends or approves any such product or service.

Testimonials, when shown, may not represent the experience of other clients and are not a guarantee of future performance or success. Virtual-currency trading carries additional risks. See the CFTC customer advisories. Read the full financial risk disclaimer.