ATR Risk Planner standardizes pre-trade planning around ATR-based volatility. Stop distance is calculated as ATR multiplied by a configurable factor, with targets shown as R multiples (1R, 2R, 3R). Position sizing uses broker tick size and tick value for loss, enabling consistent sizing across FX, metals, energy, and indices without manual pip-value calculations.
The panel reports ATR in price and points on the current or selected timeframe, spread in points and as a percentage of the stop with a warning threshold, and risk as percent of balance, percent of equity, or a fixed currency amount. Lot size is rounded down to the broker volume step and the resulting SL loss is displayed; if minimum volume exceeds allowed risk, it is flagged.
Buy and sell plans are computed separately (ask vs bid) and optional chart lines mark entry, stop, and up to three target...
👉 Read | Calendar | @mql5dev
The panel reports ATR in price and points on the current or selected timeframe, spread in points and as a percentage of the stop with a warning threshold, and risk as percent of balance, percent of equity, or a fixed currency amount. Lot size is rounded down to the broker volume step and the resulting SL loss is displayed; if minimum volume exceeds allowed risk, it is flagged.
Buy and sell plans are computed separately (ask vs bid) and optional chart lines mark entry, stop, and up to three target...
👉 Read | Calendar | @mql5dev
❤22👍13🤩11🔥9
Spread and Swap Monitor surfaces symbol trading costs directly on the chart, targeting spread spikes on XAUUSD, oil, and major FX pairs around news, rollover, and low-liquidity sessions, plus overnight swap impact.
A separate window plots per-bar spread as a histogram in points with a configurable moving average (50 bars default). Wide-spread bars are flagged when exceeding a multiple of the average (2x default) or an optional fixed-point threshold.
Spread sourcing supports Auto, bar-history only, or tick-history only. Auto uses broker per-bar spread when available, otherwise rebuilds the widest bid/ask spread per bar from tick data (last 500 bars default). The current bar tracks the widest live spread seen so far.
An on-chart panel shows live spread in points and price, average spread, today’s tightest/widest live spread since load, swap long/short w...
👉 Read | Calendar | @mql5dev
A separate window plots per-bar spread as a histogram in points with a configurable moving average (50 bars default). Wide-spread bars are flagged when exceeding a multiple of the average (2x default) or an optional fixed-point threshold.
Spread sourcing supports Auto, bar-history only, or tick-history only. Auto uses broker per-bar spread when available, otherwise rebuilds the widest bid/ask spread per bar from tick data (last 500 bars default). The current bar tracks the widest live spread seen so far.
An on-chart panel shows live spread in points and price, average spread, today’s tightest/widest live spread since load, swap long/short w...
👉 Read | Calendar | @mql5dev
👍16❤14🔥13🤩11👀1
A compact chart-corner text block provides three live lines: bar close countdown, current spread in points (ask minus bid), and time remaining to server 00:00 rollover. The bar countdown shifts color during the final 10% of the candle. The rollover line appends “(x3)” on triple-swap days for the symbol.
Updates run on a 1-second timer, so values keep moving between ticks and on low-liquidity instruments. If no tick arrives for over 5 minutes, the bar line switches to showing the last tick timestamp instead of a countdown.
Timing notes: MT5 relies on the terminal’s server clock estimate. MT4 derives server time from the last tick and advances it using the local clock, so values may be off until the first fresh tick after loading. Rollover is typically at server midnight, but broker schedules vary.
The indicator draws text labels only and cleans them up...
👉 Read | NeuroBook | @mql5dev
Updates run on a 1-second timer, so values keep moving between ticks and on low-liquidity instruments. If no tick arrives for over 5 minutes, the bar line switches to showing the last tick timestamp instead of a countdown.
Timing notes: MT5 relies on the terminal’s server clock estimate. MT4 derives server time from the last tick and advances it using the local clock, so values may be off until the first fresh tick after loading. Rollover is typically at server midnight, but broker schedules vary.
The indicator draws text labels only and cleans them up...
👉 Read | NeuroBook | @mql5dev
👍22🤩11🔥9❤7👀2
Trading sessions are rendered as rectangles from the configured start to end time, spanning the highest high and lowest low printed within that window. Labels are optional and can show the session name, with the high above the box and the low below it. New York labels are placed inside the box due to overlap with London.
Hours are defined in broker server time, not local time or GMT. Defaults target a GMT+2/GMT+3 server with US daylight saving: Tokyo 02–11, London 10–19, New York 15–24. For other brokers, read Market Watch server time and offset accordingly. Sessions can cross midnight by setting an end hour lower than the start hour.
Boxes are drawn only on M1–H1. H4 and higher are skipped due to bar alignment issues. Weekends and holidays are ignored in the “Days to show” count. Past boxes never repaint, and all objects are removed when the indicat...
👉 Read | AppStore | @mql5dev
Hours are defined in broker server time, not local time or GMT. Defaults target a GMT+2/GMT+3 server with US daylight saving: Tokyo 02–11, London 10–19, New York 15–24. For other brokers, read Market Watch server time and offset accordingly. Sessions can cross midnight by setting an end hour lower than the start hour.
Boxes are drawn only on M1–H1. H4 and higher are skipped due to bar alignment issues. Weekends and holidays are ignored in the “Days to show” count. Past boxes never repaint, and all objects are removed when the indicat...
👉 Read | AppStore | @mql5dev
❤18🔥18🤩13👍9👀1
Reference levels remain a common tool for breakout and rejection logic, especially around the prior day, prior week, and the current session open. A lightweight indicator can standardize these levels across any chart timeframe using fixed daily and weekly data.
The plot set includes PDH/PDL (previous day high/low), PWH/PWL (previous week high/low), and today’s open. Each level is drawn as a line with a compact label showing the name and exact price, positioned just to the right of the latest candle.
Levels are sourced from the symbol’s D1 and W1 bars, meaning the “day” follows the broker server session. Values refresh only when a new D1 bar starts and rely on completed days and weeks, preventing intra-day repainting. If D1/W1 history is not yet available, rendering is deferred until data arrives, and all objects are cleared on removal.
Key inputs co...
👉 Read | AppStore | @mql5dev
The plot set includes PDH/PDL (previous day high/low), PWH/PWL (previous week high/low), and today’s open. Each level is drawn as a line with a compact label showing the name and exact price, positioned just to the right of the latest candle.
Levels are sourced from the symbol’s D1 and W1 bars, meaning the “day” follows the broker server session. Values refresh only when a new D1 bar starts and rely on completed days and weeks, preventing intra-day repainting. If D1/W1 history is not yet available, rendering is deferred until data arrives, and all objects are cleared on removal.
Key inputs co...
👉 Read | AppStore | @mql5dev
🔥14👍13🤩9❤8👨💻2👀1
A Wolfe Wave indicator can be used to flag potential trend reversals and is typically applied on H4 or daily charts. Signal frequency depends on pattern sizing controls, including the candle-count threshold used to qualify bars as swings. Higher values produce larger formations and fewer detections.
Wave filtering can be tightened with a minimum ATR wave size. A value of 0 disables filtering, while 1 requires each leg to be at least 1 ATR. ATR period defines the lookback for the ATR calculation and is only relevant when the minimum ATR filter is enabled. Historical depth is controlled via the “candles from history to analyze” setting.
Rule toggles commonly include bullish-only, bearish-only, or both. Clean Pattern (Bulkowski) rejects formations with intermediate peaks/troughs outside the structure. Time symmetry requires similar wave durations, with...
👉 Read | Signals | @mql5dev
Wave filtering can be tightened with a minimum ATR wave size. A value of 0 disables filtering, while 1 requires each leg to be at least 1 ATR. ATR period defines the lookback for the ATR calculation and is only relevant when the minimum ATR filter is enabled. Historical depth is controlled via the “candles from history to analyze” setting.
Rule toggles commonly include bullish-only, bearish-only, or both. Clean Pattern (Bulkowski) rejects formations with intermediate peaks/troughs outside the structure. Time symmetry requires similar wave durations, with...
👉 Read | Signals | @mql5dev
👍14❤10🔥9🤩2👀2👾2
Проблема стандартных ZigZag и фракталов на M5 заключается в шуме и жестких порогах: либо появляется избыток волн, либо пропускаются развороты из-за фильтра по размеру.
Индикатор формирует структуру по логике ручной разметки. Разворот фиксируется по старшему таймфрейму: используется H1‑фрактал из трех свечей, а точка ставится на ту M5‑свечу внутри часа, где был фактический максимум или минимум. Волна не может пройти мимо экстремума: если между точками цена ушла дальше, конец волны переносится на новый экстремум. Последняя точка сопровождает цену до подтверждения встречным фракталом. Если H1‑фрактала нет, но откат не меньше 0,5 ATR(H1), добавляется недостающая пара точек. Порогов в пунктах нет, подход одинаков для валют, металлов и индексов.
Сплошные линии показывают подтвержденные волны без перерисовки. HH/HL означают рост, LH/LL — снижение. Справа ри...
👉 Read | NeuroBook | @mql5dev
Индикатор формирует структуру по логике ручной разметки. Разворот фиксируется по старшему таймфрейму: используется H1‑фрактал из трех свечей, а точка ставится на ту M5‑свечу внутри часа, где был фактический максимум или минимум. Волна не может пройти мимо экстремума: если между точками цена ушла дальше, конец волны переносится на новый экстремум. Последняя точка сопровождает цену до подтверждения встречным фракталом. Если H1‑фрактала нет, но откат не меньше 0,5 ATR(H1), добавляется недостающая пара точек. Порогов в пунктах нет, подход одинаков для валют, металлов и индексов.
Сплошные линии показывают подтвержденные волны без перерисовки. HH/HL означают рост, LH/LL — снижение. Справа ри...
👉 Read | NeuroBook | @mql5dev
❤10👍9🔥6🤩3
Perceptron training can fail on raw-value datasets when feature magnitude shifts outside expected ranges. With gradient-based updates and small random initialization, large scales can inflate early error and prevent convergence, even when distribution shape is unchanged.
Rescaling to a bounded interval (for example, 0..1) keeps gradients numerically stable and can reduce training bias caused by disproportionate feature ranges. This becomes critical as input dimensionality grows.
Two scale types are typically applied: arithmetic (linear mapping) and logarithmic (nonlinear, nonnegative domains). A practical implementation is to scan min/max in the training array, compute a scale factor, and transform values before training, without changing model code.
👉 Read | NeuroBook | @mql5dev
Rescaling to a bounded interval (for example, 0..1) keeps gradients numerically stable and can reduce training bias caused by disproportionate feature ranges. This becomes critical as input dimensionality grows.
Two scale types are typically applied: arithmetic (linear mapping) and logarithmic (nonlinear, nonnegative domains). A practical implementation is to scan min/max in the training array, compute a scale factor, and transform values before training, without changing model code.
👉 Read | NeuroBook | @mql5dev
👍16🤩7❤6🔥6👀1
Fair Value Gap (FVG) logic for XAUUSD and other symbols is based on confirmed data: a gap is defined only after the third candle closes. Bullish FVG requires candle 3 low above candle 1 high; bearish FVG requires candle 3 high below candle 1 low. An ATR-based minimum size filter removes minor gaps.
After creation, each gap is tracked. On retrace, the zone can shrink to the remaining unfilled area, keeping focus on what is still open. Mitigation can be configured as first touch, 50% midline hit, or full fill; mitigated gaps are dimmed or removed. Processing uses closed bars only, avoiding repainting.
Key settings include ATR period, minimum gap fraction, scan depth, per-side limits, display toggles, and alerts for new gaps or first touch. The module is chart-only (rectangles/lines), with detection and update functions designed for reuse in automation as...
👉 Read | AppStore | @mql5dev
After creation, each gap is tracked. On retrace, the zone can shrink to the remaining unfilled area, keeping focus on what is still open. Mitigation can be configured as first touch, 50% midline hit, or full fill; mitigated gaps are dimmed or removed. Processing uses closed bars only, avoiding repainting.
Key settings include ATR period, minimum gap fraction, scan depth, per-side limits, display toggles, and alerts for new gaps or first touch. The module is chart-only (rectangles/lines), with detection and update functions designed for reuse in automation as...
👉 Read | AppStore | @mql5dev
❤19🔥9🤩5👍4
E-STMFlow is adapted to trading by treating each tick as an event, updating model state on every price/volume/spread change instead of batching data into fixed candles. This preserves microstructure detail, reacts immediately to bursts in activity, and naturally idles during quiet periods.
The core is a compact Spatio-Temporal State Space Module reinterpreting “space” as a feature vector and “time” as irregular tick timing. State-space updates provide lower latency and lighter compute than heavy attention or deep recurrent stacks, with tunable state dimensionality.
Implementation consolidates modules into a top-level MT5 encoder class (CNeuronESTMEncoder) built as a sequential cFlow pipeline, accelerated via OpenCL. Initialization validates layer configs, assembles STSSM blocks plus shape-matching transpose/conv stages, and uses residual links so b...
👉 Read | Quotes | @mql5dev
The core is a compact Spatio-Temporal State Space Module reinterpreting “space” as a feature vector and “time” as irregular tick timing. State-space updates provide lower latency and lighter compute than heavy attention or deep recurrent stacks, with tunable state dimensionality.
Implementation consolidates modules into a top-level MT5 encoder class (CNeuronESTMEncoder) built as a sequential cFlow pipeline, accelerated via OpenCL. Initialization validates layer configs, assembles STSSM blocks plus shape-matching transpose/conv stages, and uses residual links so b...
👉 Read | Quotes | @mql5dev
❤19🔥12👍8🤩4🏆2
Equal highs and equal lows can be tracked as liquidity lines: two or more confirmed swing points that finish within an ATR-based tolerance, with no intervening candle taking the level first. Each additional matching swing adds another touch to the same line. Swings are confirmed on closed bars, so the objects appear with a delay and do not repaint.
When price trades beyond the line and closes back inside, the level is classified as swept, indicating buy-side or sell-side liquidity was taken and price returned. When the candle closes beyond the line, the level is marked as taken to separate breakouts from sweeps. A sweep is descriptive only and does not predict direction.
Key settings include swing length (default 3), tolerance (default 0.10 ATR), ATR period (14), max bars between swings (100), and scan depth (1500). Options cover active/swept/taken lim...
👉 Read | Forum | @mql5dev
When price trades beyond the line and closes back inside, the level is classified as swept, indicating buy-side or sell-side liquidity was taken and price returned. When the candle closes beyond the line, the level is marked as taken to separate breakouts from sweeps. A sweep is descriptive only and does not predict direction.
Key settings include swing length (default 3), tolerance (default 0.10 ATR), ATR period (14), max bars between swings (100), and scan depth (1500). Options cover active/swept/taken lim...
👉 Read | Forum | @mql5dev
❤13👍8🔥7🤩5
Trading-terminal optimization typically depends on gradients. Hand-coded derivatives are fast but brittle. Finite differences require step-size selection and trade truncation against cancellation. Automatic differentiation removes that parameter and yields derivatives accurate to floating-point rounding.
Forward mode propagates value and derivative together using dual numbers and per-function chain rules. It requires one pass per input, with a small set of elementary functions.
Reverse mode records a tape of parent slots and local partials during evaluation, then sweeps backward once to accumulate adjoints. The implementation uses flat arrays, amortized growth, and skips zero adjoints to avoid unnecessary NaNs.
Bench results: reverse mode is a poor fit for least-squares Jacobians, finite differences can be faster under ~5 parameters, and exact Jac...
👉 Read | Calendar | @mql5dev
Forward mode propagates value and derivative together using dual numbers and per-function chain rules. It requires one pass per input, with a small set of elementary functions.
Reverse mode records a tape of parent slots and local partials during evaluation, then sweeps backward once to accumulate adjoints. The implementation uses flat arrays, amortized growth, and skips zero adjoints to avoid unnecessary NaNs.
Bench results: reverse mode is a poor fit for least-squares Jacobians, finite differences can be faster under ~5 parameters, and exact Jac...
👉 Read | Calendar | @mql5dev
❤14👍14🔥4🤩4
A risk-based lot sizing panel calculates volume from two inputs: risk amount (percent of balance, percent of equity, or fixed money) and stop loss in points. Loss per 1.00 lot at the selected stop is obtained via OrderCalcProfit, keeping results consistent across XAUUSD, indices, cross pairs, and crypto, not only major FX.
Trade buttons send market orders with stop loss and optional take profit already attached, after free margin validation and broker minimum stop-distance checks. Volume is rounded down to the broker step, capped by broker limits and an optional user maximum, with both target and real risk displayed. If calculated volume is below broker minimum, the trade is rejected unless “use minimum lot” is enabled, in which case the minimum is used and real risk is shown.
Supports hedging and netting accounts. Executes only on manual BUY/SELL input and...
👉 Read | AppStore | @mql5dev
Trade buttons send market orders with stop loss and optional take profit already attached, after free margin validation and broker minimum stop-distance checks. Volume is rounded down to the broker step, capped by broker limits and an optional user maximum, with both target and real risk displayed. If calculated volume is below broker minimum, the trade is rejected unless “use minimum lot” is enabled, in which case the minimum is used and real risk is shown.
Supports hedging and netting accounts. Executes only on manual BUY/SELL input and...
👉 Read | AppStore | @mql5dev
❤12👍7🤩4✍2🏆1
Part 4 of Prop Firm Guard solves a common prop-firm rule: restricting trade actions around economic news, but only for news that matches the account’s actual risk exposure.
Instead of using the chart symbol, the EA scans all open positions, derives a unique set of exposed currencies, and uses that set to filter the MT5 Economic Calendar. Duplicate currencies are removed, and special handling is shown for an explicit XAU/USD model where USD exposure is inferred from broker base/profit currency properties.
A key implementation detail is fault-aware state modeling. The news subsystem distinguishes no supported exposure, a valid “no event” result, and genuinely unavailable data. Exposure collection can be partial (some positions unreadable), which correctly forces an “unavailable” outcome rather than a false-safe state.
The calendar search uses validated serve...
👉 Read | Forum | @mql5dev
Instead of using the chart symbol, the EA scans all open positions, derives a unique set of exposed currencies, and uses that set to filter the MT5 Economic Calendar. Duplicate currencies are removed, and special handling is shown for an explicit XAU/USD model where USD exposure is inferred from broker base/profit currency properties.
A key implementation detail is fault-aware state modeling. The news subsystem distinguishes no supported exposure, a valid “no event” result, and genuinely unavailable data. Exposure collection can be partial (some positions unreadable), which correctly forces an “unavailable” outcome rather than a false-safe state.
The calendar search uses validated serve...
👉 Read | Forum | @mql5dev
❤13👍9🤩4😱2🔥1👌1
ReliableOutbox addresses a common failure mode in messaging integrations: a missing HTTP response does not prove the service did not accept the request. Automatic retries can therefore create duplicates. The queue persists state transitions so “unknown outcome” is explicit rather than hidden.
Each send is committed as IN_FLIGHT before the transport call. A verified Telegram JSON response results in SENT. Any unprovable outcome becomes UNCERTAIN and is never resent automatically, while other eligible items can continue. This is not guaranteed delivery or exactly-once; manual retry can duplicate, and discarding can leave an undelivered message unsent.
The package includes include files plus two example Expert Advisors. Core components cover state definitions, a checksummed two-slot store, queue transitions, simulation transport, JSON validation, and a Telegra...
👉 Read | AppStore | @mql5dev
Each send is committed as IN_FLIGHT before the transport call. A verified Telegram JSON response results in SENT. Any unprovable outcome becomes UNCERTAIN and is never resent automatically, while other eligible items can continue. This is not guaranteed delivery or exactly-once; manual retry can duplicate, and discarding can leave an undelivered message unsent.
The package includes include files plus two example Expert Advisors. Core components cover state definitions, a checksummed two-slot store, queue transitions, simulation transport, JSON validation, and a Telegra...
👉 Read | AppStore | @mql5dev
❤12🔥9👍6🤩5🏆1
Part 2 turns the Part 1 time-based chart sync prototype into an interactive MQL5 indicator with visible reference objects.
V toggles a vertical line at the chart’s middle visible time. H toggles a horizontal line at the middle visible price. Presence of the object on the current chart acts as state; no separate enable flags are kept.
OnChartEvent() becomes the control path for CHARTEVENT_KEYDOWN and object-drag events. A chart must run the indicator to emit key and drag handling, but one instance can still create, update, or delete sync objects on other open charts of the same symbol.
Time sync propagates datetime, resolves bar positions per timeframe via iBarShift(false), then navigates to keep the time near chart center. Price sync propagates a price level without changing vertical scaling. Robust state/error handling is deferred to Part 3.
👉 Read | Forum | @mql5dev
V toggles a vertical line at the chart’s middle visible time. H toggles a horizontal line at the middle visible price. Presence of the object on the current chart acts as state; no separate enable flags are kept.
OnChartEvent() becomes the control path for CHARTEVENT_KEYDOWN and object-drag events. A chart must run the indicator to emit key and drag handling, but one instance can still create, update, or delete sync objects on other open charts of the same symbol.
Time sync propagates datetime, resolves bar positions per timeframe via iBarShift(false), then navigates to keep the time near chart center. Price sync propagates a price level without changing vertical scaling. Robust state/error handling is deferred to Part 3.
👉 Read | Forum | @mql5dev
❤19🔥13🤩8👍7✍5🏆1
Market microstructure can be treated as an event stream: sparse in price levels, dense in time. This makes bidirectional adaptive temporal correlation (BAT) a practical fit for tick-level inference, producing a dense direction field from fragmented impulses.
BAT combines forward and backward temporal correlation to stabilize direction and persistence estimates. This reduces the usual trade-off between reactive models that lag and predictive models that drift from observed behavior.
Adaptive temporal sampling adjusts the window to regime changes, limiting noise in low-activity periods and preserving detail during fast moves. SATMA-style aggregation downweights contradictory micro-signals and emphasizes consistent layers.
Implementation starts by voxelizing consecutive event intervals into 3D tensors, splitting into N temporal groups, extracting shar...
👉 Read | Signals | @mql5dev
BAT combines forward and backward temporal correlation to stabilize direction and persistence estimates. This reduces the usual trade-off between reactive models that lag and predictive models that drift from observed behavior.
Adaptive temporal sampling adjusts the window to regime changes, limiting noise in low-activity periods and preserving detail during fast moves. SATMA-style aggregation downweights contradictory micro-signals and emphasizes consistent layers.
Implementation starts by voxelizing consecutive event intervals into 3D tensors, splitting into N temporal groups, extracting shar...
👉 Read | Signals | @mql5dev
❤19👍11🔥10🤩8
Live monitoring of Expert Advisors remains weak when limited to equity curves and simple averages. Degradation is often visible only after 10–15 losing trades, while earlier profits can mask a negative expectancy.
A proposed approach is an Edge Drift Detector for MT5 that tests whether the average live result per closing deal has fallen below a configurable fraction of the backtest edge. The core is a CUSUM shortfall statistic with an alarm threshold calibrated by bootstrap resampling of backtest deals, avoiding normality assumptions.
The tool estimates a likely change point, reports short and long rolling means, decomposes expectancy changes into win/loss rate and payoff components, and checks volatility and trade frequency separately. It also flags dependence via autocorrelation and can use block bootstrap. Analysis stops if the live symbol mix diverges, sin...
👉 Read | Signals | @mql5dev
A proposed approach is an Edge Drift Detector for MT5 that tests whether the average live result per closing deal has fallen below a configurable fraction of the backtest edge. The core is a CUSUM shortfall statistic with an alarm threshold calibrated by bootstrap resampling of backtest deals, avoiding normality assumptions.
The tool estimates a likely change point, reports short and long rolling means, decomposes expectancy changes into win/loss rate and payoff components, and checks volatility and trade frequency separately. It also flags dependence via autocorrelation and can use block bootstrap. Analysis stops if the live symbol mix diverges, sin...
👉 Read | Signals | @mql5dev
❤17👍12🔥8🤩8
Hjorth “Activity/Mobility/Complexity” from EEG is repurposed for trading by computing variances of returns and their first/second differences. Activity becomes volatility, Mobility implies lag-1 autocorrelation (used as an estimated ρ1), and Complexity measures path irregularity—three related signals from one consistent calculation.
The article implements this natively in MQL5 with an O(1) rolling variance engine (ring buffer + periodic recompute to limit float drift), shared formulas for batch/rolling paths, safety clamps for edge cases, and a regime dashboard exposing ρ1 plus percentile-ranked Activity/Complexity. A self-test suite validates math against known series and a Python mirror.
A Donchian-breakout EA uses the dashboard as a “Trend” gate (positive autocorrelation + volatility/complexity filters). Strategy Tester runs on real ticks show t...
👉 Read | AlgoBook | @mql5dev
The article implements this natively in MQL5 with an O(1) rolling variance engine (ring buffer + periodic recompute to limit float drift), shared formulas for batch/rolling paths, safety clamps for edge cases, and a regime dashboard exposing ρ1 plus percentile-ranked Activity/Complexity. A self-test suite validates math against known series and a Python mirror.
A Donchian-breakout EA uses the dashboard as a “Trend” gate (positive autocorrelation + volatility/complexity filters). Strategy Tester runs on real ticks show t...
👉 Read | AlgoBook | @mql5dev
❤15👍14🔥10🤩5
Gaussian Mixture Models bring probabilistic clustering to MetaTrader 5: each observation gets soft membership across multiple Gaussian components, capturing clusters with different shapes and correlations via full covariance matrices.
The article outlines an MQL5 CGMM class trained with EM using latent “responsibility” weights, supporting both MLE and MAP. MAP adds normal-inverse-Wishart regularization to keep covariance matrices well-conditioned, improving stability for small samples or higher dimensions.
The implementation mirrors common ML tooling: K-Means++ (Alglib) or random initialization, Predict/PredictProba, ScoreSamples, Sample, plus AIC/BIC to select K. A dedicated CMVN class accelerates multivariate normal pdf and sampling using OpenBLAS Cholesky and triangular solves, avoiding explicit matrix inversion.
👉 Read | CodeBase | @mql5dev
The article outlines an MQL5 CGMM class trained with EM using latent “responsibility” weights, supporting both MLE and MAP. MAP adds normal-inverse-Wishart regularization to keep covariance matrices well-conditioned, improving stability for small samples or higher dimensions.
The implementation mirrors common ML tooling: K-Means++ (Alglib) or random initialization, Predict/PredictProba, ScoreSamples, Sample, plus AIC/BIC to select K. A dedicated CMVN class accelerates multivariate normal pdf and sampling using OpenBLAS Cholesky and triangular solves, avoiding explicit matrix inversion.
👉 Read | CodeBase | @mql5dev
❤18👍15🔥11🤩10