23 November 2026 · New coverage since the 16 November edition

A MetaTrader expert advisor can load successfully, use the wrong indicator settings and never place a trade. This week, a developer traced exactly that failure. The same 4,577 hourly bars produced 32 signals with the intended parameters and zero with the parameters his code actually passed. A second experiment caught a different silent mistake by asking the terminal and Python to score the same model inputs.

TL;DR

MT5 for iPhone and iPad received a maintenance update. The public desktop release histories show no new MT4 or MT5 build. On the development side, a changed model file altered 241 predicted labels despite keeping the same interface, and a tester date-field report gives developers a reason to save the dates used for each run. Six original MQL5 studies cover model and indicator verification, stop-out distance, volume data, regime labels and EA monitoring.

ℹ️
AI-generated educational briefing — not investment advice.
This report was prepared with AI from the linked public sources. Verify the original material and test implementations independently. It is not a recommendation to buy, sell or trade any investment.

Get MetaTrader updates in your inbox

MetaTrader and MQL research, testing notes and platform changes, alongside TradingView in the shared Trading Development newsletter.

Select Trading Development in the free signup flow. Already a member? Sign in and update your email preferences. Unsubscribe anytime.

Choose Trading Development

At a glance

SubjectWhy it matters
MT5 for iPhone and iPad5.0.6300 appeared on 19 November. MetaQuotes described maintenance and performance work and supplied no feature-level changelog.
MT4 and MT5 desktopThe official release histories still led with MT4 build 1490 and MT5 build 6230. Neither logged a new compiler, language or tester-engine release this week.
Strategy Tester date entryA build 6323 user and a moderator observed delayed year-field feedback. Save the settings and compare the requested dates with the start recorded in the tester journal.
ONNX deployment parityA file hash and reference probabilities reveal failures an unchanged model signature can miss.
Indicator argument mappingA missing group-heading slot silently turned a period of 50 into 2 and removed every signal in one tester example.
Stop-out threshold versus crossing tickA modelled margin crossing and the broker’s eventual deal can have different prices. Three symbols gave very different evidence.
Tick-volume profilesDirect indexing accelerated binning. The feed still determines whether bars measure traded size or quote frequency.
Offline change pointsIncreasing the penalty moved every estimated breakpoint in a 500-return EURUSD sample.
EA heartbeat and fault injectionTwo induced demo faults tripped the alert in 35–38 seconds. The test did not cover loss of the VPS.
MQL4 and MQL5 portingCompare completed-bar readings directly. MT4 returns the indicator value in the call, while MT5 returns a handle from which the EA reads buffers.

MetaTrader 5 for iPhone and iPad reaches 5.0.6300

MetaQuotes shipped version 5.0.6300 of its MetaTrader 5 Apple app at 01:29 UTC on 19 November, following 5.0.6290 on 2 November. The U.S. App Store describes maintenance and performance work without identifying a specific defect, order type or chart change. Someone investigating a mobile order-entry or chart issue can now record the exact app version alongside the device and broker server. The release notes give no basis for attributing a particular execution change to this update. MetaQuotes’ App Store version history and Apple’s version record.

The other storefronts have different dates. Google Play lists 10 November for the latest MT5 Android update and 27 October for MT4 Android. The U.S. App Store lists 28 August for MT4 version 4.0.1478. All three predate this reporting window. MT5 Android, MT4 Android and MT4 for iPhone and iPad.

Desktop release check for MT5, MT4 and MQL

As of the 23 November check, the newest entry in the public MT5 desktop release history was still build 6230, announced on 24 September for rollout on 25 September. The MT4 history still led with build 1490, dated 2 October. We found no newly announced desktop build, MQL4 or MQL5 language change, or Strategy Tester engine release in either official history during this edition’s window. For a reproducible EA result, record the terminal and compiler builds used by the person who ran it. An iOS version number and a desktop build mentioned in a support thread identify different environments. MT5 release history, MetaQuotes’ 6230 rollout announcement and MT4 release history.

Strategy Tester dates deserve two checks

On 18 November, a developer using MT5 desktop build 6323 reported that the tester’s year field continued to display the old year through the first three keystrokes. Entering the fourth digit changed the displayed year. Moderator Alain Verleyen confirmed the observation and said he would report it. Later in the thread he demonstrated copying the complete tester settings, including the symbol, timeframe, date range and EA inputs. The original reporter confirmed that the suggestion worked. The thread documents a specific interface behaviour. It provides no finding that the engine used the wrong year and no vendor fix announcement. Original report, moderator response and settings example.

For an experiment that compares two EA revisions, save each run’s settings and inspect the recorded start and end dates after editing. Then check the tester journal for the start date actually used. MetaQuotes documents a separate reason a run may begin later than requested. The tester needs history before the start to initialise calculations, and when the broker’s available data is too short it shifts the start forward and logs that adjustment. A change in sample period can change both trade count and drawdown even when the EA is identical. MetaQuotes’ guide to historical data and adjusted start dates.

Checking ONNX probabilities row by row in the Strategy Tester

On 22 November, Ali Akbar showed how an EA could report a successful model test after processing no predictions. His original wrapper supplied one output buffer to a classifier that returned two. Its test counted neither a match nor a mismatch when inference failed. He added three checks before relying on a prediction. They identify the file by its SHA-256 hash and verify the input and output layout. A numerical check then feeds known rows to the terminal and compares each class probability with Python’s ONNX Runtime.

On MT5 build 6230, Akbar reports agreement within 0.000000149 on 2,033 reference rows from EURUSD hourly data. Retraining with a different seed preserved the input and output layout but changed 241 predicted labels. A deployment test should therefore count failed calls and verify the expected row count as well as the numerical tolerance. The original model’s 34.7% accuracy on those rows fell below the 37.2% frequency of the largest class. Reproducing a model’s output can faithfully reproduce a poor forecast. Read the ONNX contract and reference-output study.

A valid indicator handle can hide a different strategy

Ali Akbar’s 18 November study traced a silent difference between the inputs visible in a custom indicator’s dialog and the arguments an EA passes to iCustom(). In his examples each group heading occupied a parameter slot. When the caller omitted those slots, the terminal accepted a shifted set of numeric values. In a bands example, a requested period of 50 became 2. Over the same 4,577 EURUSD hourly bars, the intended settings produced 32 signals and the shifted call produced none.

The mapper reads the layout from an indicator running on a chart and checks the values on the resulting handle there. The Strategy Tester could load a previously saved layout, but it could not read the handle’s settings back on the two tested builds, 6204 and 6230. Refresh the saved layout when an indicator changes, and retain an expected signal count for a fixed data window. That second check can catch a swap between same-type inputs that type checking accepts. Read the indicator parameter-mapping study.

Build on this week’s MetaTrader research

Follow the next practical development report, with source links, implementation limits and ideas to test. MetaTrader and TradingView share the Trading Development newsletter.

Select Trading Development in the free signup flow. Already a member? Sign in and update your email preferences. Unsubscribe anytime.

Follow Trading Development

Why a projected stop-out price can differ from the exit deal

On 19 November, Ali Akbar tested how closely a single-symbol stress calculation could locate the tick at which a broker’s margin threshold was crossed. His model repriced open positions on one symbol while holding spread, swaps and other prices fixed. It exposed two complications. The account-currency value of a point changes with USDJPY, and this tester setup held an open position’s margin at its fill value even where a fresh margin calculation changed with price.

Across 44 MetaQuotes-Demo Strategy Tester runs, the median distance from the last projected threshold to the crossing tick was two points for USDJPY (15 crossings) and 14 points for gold (16). Only two EURUSD crossings were available. Log the projected price, observed tick and eventual liquidation fill separately when comparing results. A price gap can skip a threshold. The study used a USD hedging account, omitted entry commissions on proposed trades and did not validate liquidation on a live broker. The distance check still needs the terminal’s separate order preflight. Read the threshold study and tester comparisons.

Three prices to record in a stop-out test
  1. 1. Estimated thresholdThe bid in the model’s last snapshot that would bring margin to the broker’s limit under the assumptions captured in the snapshot.
  2. 2. Crossing tickThe first observed tick on which the tester records margin at or below the limit. Prices can jump between ticks.
  3. 3. Exit dealThe price at which the position was actually closed. The deal history supplies the execution record.

Compare the first two to evaluate the estimate. Use the third to study execution. Akbar’s Strategy Tester experiment.

What a tick-volume profile actually counts

Ushana Kevin Iorkumbul’s 20 November aggregator maps each tick directly to a price bin aligned with the instrument’s tick size. On the author’s benchmark, binning took 1.4–3 milliseconds per pass, compared with 27–59 milliseconds for searching the bins in a loop. Those timings cover just the aggregation step. Loading a day’s ticks and rendering the chart still take time.

More important for research is what the histogram measures. When traded volume is unavailable, the fallback gives each tick a weight of one. A tall bar can then mark a price with frequent quote updates. Comparing it with an exchange contract’s traded volume would mix two different quantities. Record the feed, volume mode and server-day boundaries alongside a chart. Also check the log before using the point of control or value area. The example can draw a partial history and put the warning only in the log. The study did not test whether those levels predict returns. Read the tick aggregation benchmarks and data limits.

How stable are the change points in a backtest?

Kayode Michael Oyetunde’s 20 November MQL5 study used the PELT algorithm to divide historical log returns into segments with different estimated means or variances. A penalty discourages extra boundaries. In 500 closed EURUSD daily returns, the default settings produced five change points. Doubling the penalty produced one, on a date absent from the original five. The variance shifts were more convincing than the apparent changes of direction.

The author also generated 150 series for each of three models without an imposed regime break. With the default settings, at least one break appeared in 14% of Gaussian samples and 97% of heavy-tailed Student-t samples. A useful tester exercise is to freeze a calibration window, record the boundaries visible at that moment, then extend the history and see which move. The minimum segment length delays detection near the right edge. Assigning a historical boundary to a live strategy on its eventual chart date would give the strategy information it did not yet have. Read the change-point study and simulations.

How often did the detector flag a break when none was imposed?
  • 14% · Gaussian returns
  • 97% · Heavy-tailed Student-t returns
  • 93% · Volatility-clustered GARCH returns

Share of 150 simulated series per model with at least one detected breakpoint. Each series had 500 returns. The same detector settings were used throughout. Oyetunde’s simulation and assumptions.

Does an alert still work when the trading loop stops?

On 20 November, Olamide Daniel Adebayo described a host EA that sends a timed health report to a separate process. That process timestamps receipt, and a guardian EA monitors the reports. The data include tick age and trading permissions, so a process can keep reporting while also showing that it has lost the ability to trade. Suppressing reports on a demo account triggered detection after 35.1 seconds. Blocking the host’s timer triggered it after 38.0 seconds with a different confirmation setting.

These were forward demo observations. The Strategy Tester cannot exercise the network request, although recorded input can be replayed to test the guardian’s decisions. Both EAs and the relay shared a machine. The trials ran during a closed session on an account with no open positions. They establish alert timing for the two faults. Closing a real position, recovering from a VPS outage and detecting frozen quotes during an open session each need separate evidence. Read the heartbeat experiments and their limits.

Moving the indicator check between MQL4 and MQL5

In MT4, iCustom() returns the selected buffer’s numerical value at a specified shift. In MT5 the same name creates an indicator handle. CopyBuffer() then requests the buffer and bar positions. Starting position zero refers to the still-forming bar. For an EA intended to act on the previous completed bar, a type-correct port can still compare different observations if it changes the shift or the buffer number. MQL4 custom-indicator reference, MQL5 custom-indicator reference and CopyBuffer reference.

Pick a short list of closed-bar timestamps and export a reading from both implementations for every timestamp. Keep the broker, symbol, timeframe, input values, buffer and rounding rules in the comparison. Treat a missing value or short copy as a separate result. Two runs can agree on their trade count while disagreeing on exactly which bars triggered a signal.

A small regression test to take into the next run

Choose one EA whose decisions depend on a custom indicator. Save the terminal and compiler builds, indicator version, parameter layout, broker data source and tester dates. Capture three expected outcomes on fixed closed bars. Include a bar with a signal, one without a signal and one for which the input is unavailable. Run the same window after a parameter or binary change and compare the first bar that differs. This makes a discrepancy inspectable before trading outcomes complicate the diagnosis.

If the EA also uses a trained classifier, save a few reference inputs with their expected probability vectors and make an empty or partial run fail explicitly. Record the model hash with the result. A matching file, matching indicator readings and matching predictions answer three separate questions. Those records make the next performance comparison interpretable.

Coverage and sources

Sources were checked from the previous edition’s cutoff on 16 November at 08:12 SAST through 23 November at 08:11 SAST. Platform versions come from MetaQuotes’ published histories and official app listings. The tester date issue comes from the original report and moderator response. The six MQL5 studies are independent community contributions. Measurements are the authors’ reported results on their stated builds, feeds and datasets. Their downloadable code was not independently executed for this edition. The MQL4 and MQL5 API references supply implementation context.

Forwarded this MetaTrader edition?

Get your own copy through Trading Development, our shared newsletter for MetaTrader, MQL and TradingView.

Select Trading Development in the free signup flow. Already a member? Sign in and update your email preferences. Unsubscribe anytime.

Join Trading Development
Share this post
The link has been copied!