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

Free read-only MQL5 utility

MT5 Order Preflight

Check a hypothetical market, limit or stop order against the rules currently advertised for the chart symbol. The script produces diagnostic evidence without placing a trade.

Version 1.1.0, MIT licensed, source-only download. View release notes. A passing report cannot guarantee server acceptance or trading results.

What it checks

  • Current Bid and Ask availability
  • Symbol trade mode and direction restrictions
  • Market, limit and stop-order support
  • Minimum, maximum and step-aligned volume
  • Tick-size normalization for pending prices
  • Pending-order and protective-stop distances
  • Advertised FOK, IOC and BOC filling flags

Safety and privacy

  • Never sends, modifies or cancels a trade
  • Excludes login, owner and broker-server identity
  • Excludes balance, equity, positions and history
  • Excludes files, keys, passwords and credentials
  • Produces a reviewable PASS, WARN and FAIL report

Run it in four steps

  1. 1

    Download the MQ5 source and copy it to MQL5/Scripts/StratCoreAlpha/.

  2. 2

    Compile it in MetaEditor and run it on the affected chart symbol.

  3. 3

    Select the hypothetical order type, volume and distances you want to test.

  4. 4

    Review the report and add the real retcode and nearby log lines to your bug brief.

Open the full installation and safe-sharing guide

A preflight result is diagnostic evidence

Market state and broker rules can change between the diagnostic run and a later request. Use the report to make a failing order reproducible; do not treat it as execution, strategy or profitability advice.

One request still rejected?

Turn the report, retcode and one timestamp into a bounded written fit decision.

Review the diagnostic

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.