Strategy testing and trading software · Germanycontact@stratcorealpha.com · DE
All public work

Public MQL5 CodeBase acceptance proof

MT5 EA Acceptance Harness

A non-trading MetaTrader 5 script that executes eight synthetic entry-state fixtures before timing, duplicate, cooldown and daily-lock rules are connected to broker behavior.

The engineering problem

Why this tool exists

An EA brief can name indicators and entry rules while leaving state transitions untestable. The harness turns completed-bar timing, duplicate suppression, cooldown, daily lock and new-day reset into explicit expected decisions.

Published capabilities

  • Valid completed-bar entry fixture
  • Same-bar duplicate suppression
  • Intrabar signal rejection
  • Three-bar cooldown boundary
  • Daily-lock rejection and new-day reset
  • Optional privacy-safe text report

Engineering evidence

  • Original MQL5 source and ZIP published in MQL5 CodeBase item #76039
  • MetaEditor 5 x64 compile completed with 0 errors and 0 warnings on 2026-08-12
  • An isolated MT5 portable-terminal run captured 8 of 8 synthetic decisions passing
  • No quote, account, position, history or credential data is read

What this case study does not claim

  • Runtime evidence proves only script startup, fixture evaluation and report output.
  • A synthetic PASS proves only the written state contract, not broker execution or strategy quality.
  • The script never sends, changes or closes an order and makes no performance claim.

Need related custom work?

EA Specification Audit — Written decision after contact

Review scope and boundaries

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.