AFMLβs sequential bootstrap is often presented as the fix for bagging with overlapping triple-barrier labels, by supposedly decorrelating trees. This study isolates what actually reduces between-tree correlation: fewer sampled rows, not the sequential sampling rule itself.
A four-regime experiment holds the same DecisionTree base learner constant and varies only the row sampler: full vs uniqueness-throttled sample count, and standard vs sequential draw rule. The key metric is correlation of out-of-bag probability predictions, making the AFML variance term observable.
Results are consistent across tick, tick-imbalance, and a higher-density M5 replication: cutting max_samples to average uniqueness produces most of the decorrelation; switching to sequential sampling at the same count adds little and can even worsen correlation at full count. Out-of-bag...
π Read | NeuroBook | @mql5dev
A four-regime experiment holds the same DecisionTree base learner constant and varies only the row sampler: full vs uniqueness-throttled sample count, and standard vs sequential draw rule. The key metric is correlation of out-of-bag probability predictions, making the AFML variance term observable.
Results are consistent across tick, tick-imbalance, and a higher-density M5 replication: cutting max_samples to average uniqueness produces most of the decorrelation; switching to sequential sampling at the same count adds little and can even worsen correlation at full count. Out-of-bag...
π Read | NeuroBook | @mql5dev
β€18π3π2β‘1
This article digs into why random-access file code fails when the fileβs internal layout is misunderstood. The key takeaway: file position doesnβt advance by βone byteβ in a meaningful way unless reads and writes are defined by an explicit structure.
Using MQL5-style examples, it contrasts text parsing (tab-delimited strings) with binary layouts, showing how a small format change turns clean reads into garbage output. The fix is to design a self-describing record: write a length field, then the payload, and use FileSeek to backfill the length after writing.
For trading systems, this enables fast, reliable logging and replay of variable-length messages, with deterministic offsets and safer recovery during analysis or debugging.
π Read | NeuroBook | @mql5dev
Using MQL5-style examples, it contrasts text parsing (tab-delimited strings) with binary layouts, showing how a small format change turns clean reads into garbage output. The fix is to design a self-describing record: write a length field, then the payload, and use FileSeek to backfill the length after writing.
For trading systems, this enables fast, reliable logging and replay of variable-length messages, with deterministic offsets and safer recovery during analysis or debugging.
π Read | NeuroBook | @mql5dev
β€14π5π1
Part 8 adds the missing bar-by-bar trend readout on NQ M1: a continuous micro-trend strength score in [-1, +1] that measures how cleanly fast/medium/slow EMAs align and accelerate, instead of relying on lagging, binary crossovers.
GetMicroTrendStrength() combines four EMA-derived components: 5/8/13 EMA ordering, ATR-normalized price position with tanh bounding, 5-bar slope agreement, and a bounded volume multiplier. A contradiction penalty sharply reduces the score when EMA alignment disagrees with price vs the fast EMA, suppressing common false positives during reversals.
The signal plugs into the Part 7 regime layer via confidence-scaled thresholds: high-confidence Trending/Informed sessions loosen cutoffs, low-confidence Stressed/Noisy sessions tighten them. On 514 NY sessions (May 2024βMay 2026), Trending shows the most persistent directional ...
π Read | CodeBase | @mql5dev
GetMicroTrendStrength() combines four EMA-derived components: 5/8/13 EMA ordering, ATR-normalized price position with tanh bounding, 5-bar slope agreement, and a bounded volume multiplier. A contradiction penalty sharply reduces the score when EMA alignment disagrees with price vs the fast EMA, suppressing common false positives during reversals.
The signal plugs into the Part 7 regime layer via confidence-scaled thresholds: high-confidence Trending/Informed sessions loosen cutoffs, low-confidence Stressed/Noisy sessions tighten them. On 514 NY sessions (May 2024βMay 2026), Trending shows the most persistent directional ...
π Read | CodeBase | @mql5dev
β€20π5
Trading systems degrade when regimes shift, and fixed-window indicators react after the distribution has already changed. A sequential CUSUM detector updates bar by bar, accumulates evidence, and flags a breakpoint the moment a threshold is crossed.
The detector runs on standardized log-returns z_t built from a strictly historical rolling window. Two accumulators track upward and downward drift with a slack term k, then reset to zero after a hit. Threshold h sets the false-alarm versus detection-speed trade-off, often expressed via ARL0, with theory only approximate on real returns.
Implementation notes for MetaTrader 5 focus on execution constraints: handling full vs incremental recalculation in OnCalculate(), persisting S+ and Sβ via indicator buffers, and creating chart objects idempotently to avoid duplicates on live ticks.
π Read | AppStore | @mql5dev
The detector runs on standardized log-returns z_t built from a strictly historical rolling window. Two accumulators track upward and downward drift with a slack term k, then reset to zero after a hit. Threshold h sets the false-alarm versus detection-speed trade-off, often expressed via ARL0, with theory only approximate on real returns.
Implementation notes for MetaTrader 5 focus on execution constraints: handling full vs incremental recalculation in OnCalculate(), persisting S+ and Sβ via indicator buffers, and creating chart objects idempotently to avoid duplicates on live ticks.
π Read | AppStore | @mql5dev
β€25π10π1π1
Alpha-Beta Trend Filter is a predictive smoothing indicator based on steady-state estimation. Unlike SMA/EMA-style averaging, it maintains an internal price estimate and a trend velocity term, updating both each bar via a prediction step and a residual-based correction using alpha (price sensitivity) and beta (velocity sensitivity).
This MQL5 build extends the classic single-line output with a multi-symbol, multi-timeframe matrix dashboard. The chart plot uses DRAW_COLOR_LINE to switch state from bullish to bearish based on the velocity sign, while the dashboard renders Bull/Bear/Wait across selectable timeframes for a parsed symbol list.
Implementation details include ArraySetAsSeries() alignment, a helper that computes state from a minimal CopyClose() window without iCustom, and full UI cleanup on deinit. Typical tuning ranges: alpha 0.1β0.9, beta ...
π Read | AlgoBook | @mql5dev
This MQL5 build extends the classic single-line output with a multi-symbol, multi-timeframe matrix dashboard. The chart plot uses DRAW_COLOR_LINE to switch state from bullish to bearish based on the velocity sign, while the dashboard renders Bull/Bear/Wait across selectable timeframes for a parsed symbol list.
Implementation details include ArraySetAsSeries() alignment, a helper that computes state from a minimal CopyClose() window without iCustom, and full UI cleanup on deinit. Typical tuning ranges: alpha 0.1β0.9, beta ...
π Read | AlgoBook | @mql5dev
β€22π6β2π¨βπ»2π1π1
Adaptive trading framework for FX, crypto, and high-digit instruments using a velocity-driven baseline and ER-based bands.
Trend filter uses baseline color: LimeGreen signals positive acceleration, Crimson signals negative acceleration. Volatility state is defined by band width: compressed bands indicate low ER and pending expansion; expanded bands indicate high ER and potential trend efficiency or extension.
Momentum breakout: wait for a squeeze and flat baseline. Go long on a candle close above the upper band with baseline turning LimeGreen. Go short on a close below the lower band with baseline turning Crimson. Stop sits beyond the baseline or opposite band. Hold while baseline color persists; exit on a color flip.
Mean reversion: require a flat baseline with wide bands. Enter only after a probe outside a band fails to flip the baseline, then p...
π Read | VPS | @mql5dev
Trend filter uses baseline color: LimeGreen signals positive acceleration, Crimson signals negative acceleration. Volatility state is defined by band width: compressed bands indicate low ER and pending expansion; expanded bands indicate high ER and potential trend efficiency or extension.
Momentum breakout: wait for a squeeze and flat baseline. Go long on a candle close above the upper band with baseline turning LimeGreen. Go short on a close below the lower band with baseline turning Crimson. Stop sits beyond the baseline or opposite band. Hold while baseline color persists; exit on a color flip.
Mean reversion: require a flat baseline with wide bands. Enter only after a probe outside a band fails to flip the baseline, then p...
π Read | VPS | @mql5dev
β€21π5β‘2π₯1π1
Backtest output is bounded by history quality, yet MT5 data gaps often go unverified. A read-only Python audit can export M5 bars from multiple terminals, cache them as Parquet, and report missing bars per pair and per year instead of a single βHistory Qualityβ number.
The workflow validates terminal identity, avoids concurrent API sessions, and resolves broker-specific symbol suffixes. One broker required paging via copy_rates_from_pos, which exposed synthetic βfillβ bars detectable only by timestamp spacing.
On a shared 2025-02-07 to 2026-06-12 window, the same deterministic breakout strategy drifted by 2,300β4,400 net pips across three feeds. Spread differences dominated, but data/price differences and missing-bar trade mismatches remained material.
π Read | NeuroBook | @mql5dev
The workflow validates terminal identity, avoids concurrent API sessions, and resolves broker-specific symbol suffixes. One broker required paging via copy_rates_from_pos, which exposed synthetic βfillβ bars detectable only by timestamp spacing.
On a shared 2025-02-07 to 2026-06-12 window, the same deterministic breakout strategy drifted by 2,300β4,400 net pips across three feeds. Spread differences dominated, but data/price differences and missing-bar trade mismatches remained material.
π Read | NeuroBook | @mql5dev
β€23π7π1
Market structure analysis in MQL5 often ships as closed indicators that mix computation with rendering, expose limited buffers, and provide no stable query interface. Integration into EAs typically requires copying indicator logic or rebuilding it, increasing coupling, duplication, and maintenance cost.
A prototype modular framework addresses this by separating swing detection, level tracking, break detection, BOS/CHoCH classification, an event bus with deduplication, a market state machine, optional CSV persistence, and a unified public API. It runs as a standard custom indicator but behaves like a reusable service for EAs, dashboards, and research pipelines.
The codebase is split into 10 include modules plus one indicator entry point, supports internal and external timeframes, and avoids full recomputation via incremental bar processing. Trend a...
π Read | Calendar | @mql5dev
A prototype modular framework addresses this by separating swing detection, level tracking, break detection, BOS/CHoCH classification, an event bus with deduplication, a market state machine, optional CSV persistence, and a unified public API. It runs as a standard custom indicator but behaves like a reusable service for EAs, dashboards, and research pipelines.
The codebase is split into 10 include modules plus one indicator entry point, supports internal and external timeframes, and avoids full recomputation via incremental bar processing. Trend a...
π Read | Calendar | @mql5dev
β€31π5π2π1
Backtest headlines can hide fragility: the same net profit and win rate may come from a repeatable edge or from a few oversized trades. This article builds an MT5-native analyzer that shows where profits really come from by measuring profit concentration.
The script reads closed deals from a simple Date/Profit CSV and computes top-N contribution (vs net and gross profit), the Gini coefficient over winning trades, and a stress test that removes the best winners to see if profitability survives.
It also aggregates results by day to flag βone big dayβ risk against prop-firm consistency limits, then combines concentration, consistency, and survival into a weighted A+βF grade with actionable recommendations.
π Read | Calendar | @mql5dev
The script reads closed deals from a simple Date/Profit CSV and computes top-N contribution (vs net and gross profit), the Gini coefficient over winning trades, and a stress test that removes the best winners to see if profitability survives.
It also aggregates results by day to flag βone big dayβ risk against prop-firm consistency limits, then combines concentration, consistency, and survival into a weighted A+βF grade with actionable recommendations.
π Read | Calendar | @mql5dev
β€40π5β2π2
External Range Liquidity (ERL) is a custom MetaTrader 4 indicator aimed at Price Action and Smart Money Concepts workflows. It scans swings to map market structure and flags liquidity sweeps where price pierces a prior swing but closes back inside the range, leaving a wick.
Structure labeling is applied in real time using HH/HL for bullish conditions and LH/LL for bearish conditions. When a sweep condition is detected, the prior swing level is relabeled as βSweepβ, supporting analysis of stop hunts and failed breakouts.
Key options include swing validation (InpSwingCandles, default 5), history scan cap (InpMaxBarsToScan, default 200), projection line length (InpLineLengthBars, default 15), plus colors, line style/width, and text size/offset. Visual output uses projected horizontal levels to keep charts readable with low terminal overhead.
π Read | AlgoBook | @mql5dev
Structure labeling is applied in real time using HH/HL for bullish conditions and LH/LL for bearish conditions. When a sweep condition is detected, the prior swing level is relabeled as βSweepβ, supporting analysis of stop hunts and failed breakouts.
Key options include swing validation (InpSwingCandles, default 5), history scan cap (InpMaxBarsToScan, default 200), projection line length (InpLineLengthBars, default 15), plus colors, line style/width, and text size/offset. Visual output uses projected horizontal levels to keep charts readable with low terminal overhead.
π Read | AlgoBook | @mql5dev
β€33π10β3π2π¨βπ»2
Aegis Quantum Lite is a free educational Expert Advisor for MetaTrader 5, distributed as a single commented MQ5 file. It implements a completed-candle trend entry with a compact on-chart dashboard.
Buy logic requires Fast EMA above Slow EMA, RSI above the configured buy level, spread within the maximum, no existing position on the symbol, and a new completed candle. Sell logic mirrors this with Fast EMA below Slow EMA and RSI below the configured sell level.
Default inputs: FastEMA 9, SlowEMA 21, RSIPeriod 14, BuyRSILevel 48, SellRSILevel 52, FixedLot 0.01, MaximumSpreadPoints 50, StopLossPoints 500, TakeProfitPoints 500, OneEntryPerCandle true. The dashboard shows symbol, timeframe, EMA/RSI values, spread, signal, and trading status.
Execution safeguards include fixed lot only, no grid or martingale, position blocking per symbol, permission and margin che...
π Read | Calendar | @mql5dev
Buy logic requires Fast EMA above Slow EMA, RSI above the configured buy level, spread within the maximum, no existing position on the symbol, and a new completed candle. Sell logic mirrors this with Fast EMA below Slow EMA and RSI below the configured sell level.
Default inputs: FastEMA 9, SlowEMA 21, RSIPeriod 14, BuyRSILevel 48, SellRSILevel 52, FixedLot 0.01, MaximumSpreadPoints 50, StopLossPoints 500, TakeProfitPoints 500, OneEntryPerCandle true. The dashboard shows symbol, timeframe, EMA/RSI values, spread, signal, and trading status.
Execution safeguards include fixed lot only, no grid or martingale, position blocking per symbol, permission and margin che...
π Read | Calendar | @mql5dev
π15β€14π3π¨βπ»2
Markets switch regimes. A fixed 14-period moving average can track momentum in trends, then generate repeated whipsaws during consolidation. An auto-optimizer mitigates this by continuously testing a period range (for example 10β100) and selecting the parameter set that best matches current price behavior.
Direction alone is not an edge. The optimization layer scores candidates by mathematical expectancy, combining win rate and average payoff to avoid high-hit-rate/low-net systems and low-hit-rate/high-variance profiles.
Take-profit placement can be made objective. By measuring maximum favorable excursion and maintaining an average peak distance before reversal, exits can be based on observed distribution rather than arbitrary ratios.
Single-timeframe signals are filtered by higher-timeframe alignment. Multi-timeframe state checks reduce counter-t...
π Read | CodeBase | @mql5dev
Direction alone is not an edge. The optimization layer scores candidates by mathematical expectancy, combining win rate and average payoff to avoid high-hit-rate/low-net systems and low-hit-rate/high-variance profiles.
Take-profit placement can be made objective. By measuring maximum favorable excursion and maintaining an average peak distance before reversal, exits can be based on observed distribution rather than arbitrary ratios.
Single-timeframe signals are filtered by higher-timeframe alignment. Multi-timeframe state checks reduce counter-t...
π Read | CodeBase | @mql5dev
β€22π9π4π€£2
Simple moving averages lag trend changes because they only aggregate past prices. A velocity-adjusted average can reduce that lag by incorporating the average rate of price movement into the calculation.
This indicator offers three measurement modes. Central velocity produces a smoother output. Forward velocity is calculated relative to the current bar, increasing sensitivity to recent moves. Backward velocity is calculated relative to the initial bar, preserving more information about earlier movement within the window.
Any mode aims to reduce lag versus a standard SMA, making the result suitable as an SMA replacement where faster reaction is required.
Parameters: Type selects the velocity mode. iPeriod sets the calculation length.
π Read | Docs | @mql5dev
This indicator offers three measurement modes. Central velocity produces a smoother output. Forward velocity is calculated relative to the current bar, increasing sensitivity to recent moves. Backward velocity is calculated relative to the initial bar, preserving more information about earlier movement within the window.
Any mode aims to reduce lag versus a standard SMA, making the result suitable as an SMA replacement where faster reaction is required.
Parameters: Type selects the velocity mode. iPeriod sets the calculation length.
π Read | Docs | @mql5dev
β€20π7π3
Linear regression is commonly used to estimate market slope, but many MQL5 indicators recompute rolling OLS on every bar. On tick charts, large lookbacks, or multi-symbol scanners, that O(n) per-bar cost becomes a measurable bottleneck.
Recursive Least Squares (RLS) keeps a compact state and updates it with the latest observation using a ShermanβMorrison rank-1 update. The result is O(1) work per bar, independent of history length, with an adjustable forgetting factor (typical Ξ» range: 0.95β0.99).
A complete MQL5 implementation is outlined via a reusable CRLSRegression class plus two indicators: RLSForecast.mq5 plots a 1-bar-ahead forecast on the main chart, and RLSSlope.mq5 plots a signed slope histogram in a subwindow. Both run incrementally, reset cleanly on full recalculation, and gate output until a minimum warm-up observation count is reached.
π Read | Forum | @mql5dev
Recursive Least Squares (RLS) keeps a compact state and updates it with the latest observation using a ShermanβMorrison rank-1 update. The result is O(1) work per bar, independent of history length, with an adjustable forgetting factor (typical Ξ» range: 0.95β0.99).
A complete MQL5 implementation is outlined via a reusable CRLSRegression class plus two indicators: RLSForecast.mq5 plots a 1-bar-ahead forecast on the main chart, and RLSSlope.mq5 plots a signed slope histogram in a subwindow. Both run incrementally, reset cleanly on full recalculation, and gate output until a minimum warm-up observation count is reached.
π Read | Forum | @mql5dev
β€29π6π3
Dingo Optimization Algorithm (DOA) was proposed in 2021 by Peraza-VΓ‘zquez et al. in Mathematical Problems in Engineering (DOI: 10.1155/2021/9107547). It is a population-based metaheuristic with three update modes plus a survival rule.
Core behaviors: group attack (subset averaging, then update relative to the best solution with a signed Ξ²1 term), chase (update biased toward the best solution using a random neighbor distance scaled by exp(Ξ²2)), and scavenging (random neighbor reference with optional sign inversion to increase step variance).
Implementation notes: a C_AO_DOA_dingo class typically exposes popSize, P (hunt vs scavenging), and Q (group attack vs chase). Moving() initializes positions once, updates survival, selects a mode per agent via P/Q, applies bounds/step quantization, then triggers a survival procedure when survival < 0.3.
π Read | Quotes | @mql5dev
Core behaviors: group attack (subset averaging, then update relative to the best solution with a signed Ξ²1 term), chase (update biased toward the best solution using a random neighbor distance scaled by exp(Ξ²2)), and scavenging (random neighbor reference with optional sign inversion to increase step variance).
Implementation notes: a C_AO_DOA_dingo class typically exposes popSize, P (hunt vs scavenging), and Q (group attack vs chase). Moving() initializes positions once, updates survival, selects a mode per agent via P/Q, applies bounds/step quantization, then triggers a survival procedure when survival < 0.3.
π Read | Quotes | @mql5dev
β€20π4π3π2
Backtests produce an equity curve and a trade list, but neither reveals what price did around each entry, during the hold, or near the stop. Visual, trade-by-trade review answers whether signals came from real structure or noise, whether moves were clean or choppy, and whether stops were placed beyond normal volatility.
The article builds an MQL5 Trade Replay Engine that reconstructs closed positions from deal history, draws entry/exit/SL/TP as chart objects, and steps through trades with left/right arrows while auto-centering the chart. It handles partial closes by aggregating multiple OUT deals via shared position IDs, and retrieves missing SL/TP from the original order when brokers donβt populate deal fields.
Implementation is split into focused modules: a trade record struct with derived metrics (duration, pips, R-multiple), a loader that filters/so...
π Read | VPS | @mql5dev
The article builds an MQL5 Trade Replay Engine that reconstructs closed positions from deal history, draws entry/exit/SL/TP as chart objects, and steps through trades with left/right arrows while auto-centering the chart. It handles partial closes by aggregating multiple OUT deals via shared position IDs, and retrieves missing SL/TP from the original order when brokers donβt populate deal fields.
Implementation is split into focused modules: a trade record struct with derived metrics (duration, pips, R-multiple), a loader that filters/so...
π Read | VPS | @mql5dev
β€20π7π5π2π2β1
Index price behaviour into option expiry is largely mechanical. Dealer hedging flows can suppress moves under long gamma and amplify moves under short gamma.
A practical way to quantify this is Gamma Exposure (GEX): compute Black-Scholes gamma per contract, weight by open interest, apply a dealer sign convention, and aggregate by strike into a signed profile. Key outputs are the call wall, put wall, and the zero-gamma flip level separating mean-reverting vs trending regimes.
An MT5 implementation reads an option chain from either broker-native option symbols or a CSV fallback, derives implied volatility when needed, builds the per-strike exposure map, solves for the flip via a sweep plus interpolation, and renders the profile directly on-chart.
π Read | NeuroBook | @mql5dev
A practical way to quantify this is Gamma Exposure (GEX): compute Black-Scholes gamma per contract, weight by open interest, apply a dealer sign convention, and aggregate by strike into a signed profile. Key outputs are the call wall, put wall, and the zero-gamma flip level separating mean-reverting vs trending regimes.
An MT5 implementation reads an option chain from either broker-native option symbols or a CSV fallback, derives implied volatility when needed, builds the per-strike exposure map, solves for the flip via a sweep plus interpolation, and renders the profile directly on-chart.
π Read | NeuroBook | @mql5dev
β€20π7π2π2
Multi-asset trading logic increasingly depends on rolling covariance matrices, cointegration vectors, and continuously updated hedge ratios. Standard MQL5 indicators largely stop at scalar correlation over a fixed window and do not scale to NΓN portfolio matrices or regime-driven recalculation on each tick.
Regression and optimisation are the other gaps. There is no built-in OLS/least-squares routine, so implementations fall back to manual loops, weak diagnostics, and poor numerical stability, especially under rank deficiency or non-linear constraints.
The ALGLIB port for MQL5, centered on ap.mqh and companion modules, adds linear algebra (EVD/SVD/LU/QR/Cholesky), least-squares fitting, and constrained/unconstrained optimisation. This keeps computation inside the terminal without WebRequest latency, and enables dynamic hedging, risk-parity, and Markowi...
π Read | AppStore | @mql5dev
Regression and optimisation are the other gaps. There is no built-in OLS/least-squares routine, so implementations fall back to manual loops, weak diagnostics, and poor numerical stability, especially under rank deficiency or non-linear constraints.
The ALGLIB port for MQL5, centered on ap.mqh and companion modules, adds linear algebra (EVD/SVD/LU/QR/Cholesky), least-squares fitting, and constrained/unconstrained optimisation. This keeps computation inside the terminal without WebRequest latency, and enables dynamic hedging, risk-parity, and Markowi...
π Read | AppStore | @mql5dev
β€22π18π2
An MT5 indicator is available that matches the TradingView MACD display, including its color rules and initialization behavior.
The histogram uses a four-color scheme: dark green when rising above zero, light green when falling above zero, light coral when rising toward zero, and red when falling below zero.
The signal line is seeded with an SMA to mirror Pine Script ta.ema() initialization, targeting bar-for-bar agreement with TradingView.
Inputs are configurable for fast EMA, slow EMA, signal length, and price source. The build requires no DLLs and no external dependencies. An MT4 version is also available: https://www.mql5.com/en/code/74169
π Read | CodeBase | @mql5dev
The histogram uses a four-color scheme: dark green when rising above zero, light green when falling above zero, light coral when rising toward zero, and red when falling below zero.
The signal line is seeded with an SMA to mirror Pine Script ta.ema() initialization, targeting bar-for-bar agreement with TradingView.
Inputs are configurable for fast EMA, slow EMA, signal length, and price source. The build requires no DLLs and no external dependencies. An MT4 version is also available: https://www.mql5.com/en/code/74169
π Read | CodeBase | @mql5dev
β€20π11π3π¨βπ»2π1
MQL5 EAs often fail after a broker move with no logic changes. Typical logs show 10030 (invalid filling type), invalid stops, or invalid volume, while Strategy Tester stays quiet because it uses the current brokerβs specs.
Key broker constraints to audit per symbol: SYMBOL_FILLING_MODE (FOK/IOC/RETURN bitmask), SYMBOL_TRADE_STOPS_LEVEL (fixed or floating even when zero), SYMBOL_TRADE_FREEZE_LEVEL, SYMBOL_TRADE_MODE, SYMBOL_VOLUME_MIN and SYMBOL_VOLUME_STEP, plus swap and the triple-swap weekday.
A small diagnostic EA can read SymbolInfoInteger/SymbolInfoDouble, grade each item as OK/warning/breaker, and print it to a panel, log, and CSV across Market Watch. This surfaces portability issues before OrderSend starts failing.
π Read | Signals | @mql5dev
Key broker constraints to audit per symbol: SYMBOL_FILLING_MODE (FOK/IOC/RETURN bitmask), SYMBOL_TRADE_STOPS_LEVEL (fixed or floating even when zero), SYMBOL_TRADE_FREEZE_LEVEL, SYMBOL_TRADE_MODE, SYMBOL_VOLUME_MIN and SYMBOL_VOLUME_STEP, plus swap and the triple-swap weekday.
A small diagnostic EA can read SymbolInfoInteger/SymbolInfoDouble, grade each item as OK/warning/breaker, and print it to a panel, log, and CSV across Market Watch. This surfaces portability issues before OrderSend starts failing.
π Read | Signals | @mql5dev
β€19π11π2
The key new feature of MetaTrader 5 Build 6060 is built-in support for the Model Context Protocol (MCP) and agentic AI.
The terminal and MetaEditor now include an integrated AI Assistant that can help analyze markets and trading activity, develop MQL5 applications, explain code, identify errors, and automate complex tasks.
Another important addition is Passkey support β a modern technology for securing trading accounts. Passkeys provide an additional authentication factor during sign-in, protecting users against phishing attacks and unauthorized access.
For developers, we've significantly enhanced MetaEditor. The editor now includes the long-awaited code folding and 'highlight all occurrences' features, making it much easier to work with large projects.
Learn more...
The terminal and MetaEditor now include an integrated AI Assistant that can help analyze markets and trading activity, develop MQL5 applications, explain code, identify errors, and automate complex tasks.
Another important addition is Passkey support β a modern technology for securing trading accounts. Passkeys provide an additional authentication factor during sign-in, protecting users against phishing attacks and unauthorized access.
For developers, we've significantly enhanced MetaEditor. The editor now includes the long-awaited code folding and 'highlight all occurrences' features, making it much easier to work with large projects.
Learn more...
π17β€10π2