Part 2 of the Position Lifecycle Manager shifts order submission into the manager and removes chart-symbol coupling. Position discovery becomes position-centric, enabling adoption and management across multiple instruments from a single chart attachment.
Two modes define adoption rules. EA Mode uses a magic number and routes trade intents into manager-owned execution. Manual Mode adopts all open account positions, regardless of origin, and applies the same lifecycle rules, including potential SL/TP changes.
After adoption, the position symbol becomes authoritative for pricing, broker constraints, tick grid, volume rules, StopsLevel/FreezeLevel, and execution settings. Protection is staged: SL and TP are applied sequentially with retries and failure surfacing. Break-even is handled as a state transition with throttled reattempts. Telemetry exposes r...
๐ Read | Calendar | @mql5dev
Two modes define adoption rules. EA Mode uses a magic number and routes trade intents into manager-owned execution. Manual Mode adopts all open account positions, regardless of origin, and applies the same lifecycle rules, including potential SL/TP changes.
After adoption, the position symbol becomes authoritative for pricing, broker constraints, tick grid, volume rules, StopsLevel/FreezeLevel, and execution settings. Protection is staged: SL and TP are applied sequentially with retries and failure surfacing. Break-even is handled as a state transition with throttled reattempts. Telemetry exposes r...
๐ Read | Calendar | @mql5dev
๐17โค12๐ฅ9๐คฉ4๐1
Most trend-following indicators trade responsiveness for smoothness, typically via a fixed moving-average length. A scalar Kalman Filter makes the trade-off explicit by tracking uncertainty and computing the Kalman gain from two user-set variances: process noise Q and measurement noise R. The gain converges to a steady-state level driven by Q/R.
Applied to price, the local-level model treats each close as a noisy observation of an underlying true price. Each bar runs a predict step (state carried forward, variance grows by Q) and an update step (state corrected using gain and R). Correct recursion and initialization matter; wrong startup often looks plausible but is incorrect.
A practical signal uses two independent filters with different Q values and shared R. Example: Q=1.000,R=0.200 yields gain ~0.854; Q=0.005,R=0.200 yields ~0.146. In MT5/MQL5, ...
๐ Read | Signals | @mql5dev
Applied to price, the local-level model treats each close as a noisy observation of an underlying true price. Each bar runs a predict step (state carried forward, variance grows by Q) and an update step (state corrected using gain and R). Correct recursion and initialization matter; wrong startup often looks plausible but is incorrect.
A practical signal uses two independent filters with different Q values and shared R. Example: Q=1.000,R=0.200 yields gain ~0.854; Q=0.005,R=0.200 yields ~0.146. In MT5/MQL5, ...
๐ Read | Signals | @mql5dev
โค17๐10๐ฅ9๐คฉ5๐1
Gaussian Process forecasting is sensitive to feature design. A rolling-window bar index input keeps the kernel geometry nearly constant, producing near-constant predictive variance and turning the horizon step into extrapolation rather than a market forecast.
The described MQL5 engine uses previous-bar log return as x and horizon-ahead log return as y, with input/target standardization to keep length-scale and likelihood scoring stable across regimes.
Implementation details include a symmetric kernel matrix, adaptive-jitter Cholesky, and explicit separation of latent variance from observed variance by adding noise only for realized forecasts. Hyperparameters are searched in log-space with a pure log marginal likelihood routine that avoids mutating fitted state mid-search.
Validation is framed as a calibration check: log forecasts and verify 1-sigma and 2-sig...
๐ Read | Quotes | @mql5dev
The described MQL5 engine uses previous-bar log return as x and horizon-ahead log return as y, with input/target standardization to keep length-scale and likelihood scoring stable across regimes.
Implementation details include a symmetric kernel matrix, adaptive-jitter Cholesky, and explicit separation of latent variance from observed variance by adding noise only for realized forecasts. Hyperparameters are searched in log-space with a pure log marginal likelihood routine that avoids mutating fitted state mid-search.
Validation is framed as a calibration check: log forecasts and verify 1-sigma and 2-sig...
๐ Read | Quotes | @mql5dev
โค16๐9๐ฅ6๐คฉ6๐2
STE-FlowNet reframes sequence modeling as adaptive perception: each new event updates internal representations instead of averaging history like typical LSTM/GRU, improving responsiveness to regime shifts, volatility bursts, and rare patterns.
The pipeline treats data as event streams. Events are split into equal-count chunks and reweighted by temporal concentration using a Gaussian fit, so dense bursts get amplified rather than diluted by aggregation. This preserves short-lived, high-impact microstructure signals.
Architecturally, it uses an encoderโdecoder with skips, residual blocks, multi-scale intermediate outputs, and ConvGRU at multiple resolutions to retain local detail while building global context. A correlation step aligns features to prior estimates, then iterative residual refinement updates predictions with shared weights for stability.
Trai...
๐ Read | CodeBase | @mql5dev
The pipeline treats data as event streams. Events are split into equal-count chunks and reweighted by temporal concentration using a Gaussian fit, so dense bursts get amplified rather than diluted by aggregation. This preserves short-lived, high-impact microstructure signals.
Architecturally, it uses an encoderโdecoder with skips, residual blocks, multi-scale intermediate outputs, and ConvGRU at multiple resolutions to retain local detail while building global context. A correlation step aligns features to prior estimates, then iterative residual refinement updates predictions with shared weights for stability.
Trai...
๐ Read | CodeBase | @mql5dev
โค12๐11๐ฅ4๐คฉ3๐2
Comparing two forecasters with equity curves is unreliable when losses are heteroskedastic and serially correlated. A formal alternative is the DieboldโMariano test on the loss-differential series, with HAC long-run variance and the HarveyโLeybourneโNewbold small-sample adjustment.
An MQL5 implementation runs natively with NeweyโWest variance correction and an internal Student-t CDF/quantile to avoid library dependencies. Verdicts include significant A/B outperformance, no significant difference, and explicit rejects for insufficient sample, invalid horizon, or invalid variance.
The EA and a subwindow indicator compute rolling DM statistics live. Two fixed forecasters run side by side (ONNX vs EMA slope), validated feature vectors prevent NaN/Inf contamination, and a manifest controls horizon, window, alpha, and loss type without recompilation.
๐ Read | Quotes | @mql5dev
An MQL5 implementation runs natively with NeweyโWest variance correction and an internal Student-t CDF/quantile to avoid library dependencies. Verdicts include significant A/B outperformance, no significant difference, and explicit rejects for insufficient sample, invalid horizon, or invalid variance.
The EA and a subwindow indicator compute rolling DM statistics live. Two fixed forecasters run side by side (ONNX vs EMA slope), validated feature vectors prevent NaN/Inf contamination, and a manifest controls horizon, window, alpha, and loss type without recompilation.
๐ Read | Quotes | @mql5dev
โค7๐7๐ฅ4๐คฉ3๐2
This article builds a Hyperdimensional Computing library for MetaTrader 5 that replaces heavy retraining with fast online learning. Models are binary hypervectors; learning becomes integer accumulation, enabling per-bar updates in ~337 ยตs while reproducing full refits bit-for-bit when corrections are disabled.
Core algebra is minimal and testable: bind via XOR (distance-preserving), bundle via per-bit majority with a deterministic tie-breaker, and permute via bit-rotation to encode order. Dimension controls collision risk and provides a closed-form noise floor, so similarity thresholds are derived analytically rather than via expensive resampling.
Feature values are encoded with an exact โlevel ladderโ where distances between quantized levels are guaranteed by construction. Bars are encoded by binding feature roles to quantized levels then bundling; seq...
๐ Read | AppStore | @mql5dev
Core algebra is minimal and testable: bind via XOR (distance-preserving), bundle via per-bit majority with a deterministic tie-breaker, and permute via bit-rotation to encode order. Dimension controls collision risk and provides a closed-form noise floor, so similarity thresholds are derived analytically rather than via expensive resampling.
Feature values are encoded with an exact โlevel ladderโ where distances between quantized levels are guaranteed by construction. Bars are encoded by binding feature roles to quantized levels then bundling; seq...
๐ Read | AppStore | @mql5dev
โค10๐8๐ฅ2๐คฉ2๐2
Benchmark wins can be misleading when an optimizerโs step geometry accidentally matches a test functionโs geometry. The article shows three failure modes: SDO scoring high because its pairwise coordinate coupling matches duplicated 2D benchmarks; DOAm showing sharp Forest/Hilly asymmetry; and HHO exploiting a โdiagonal effectโ caused by using one scalar factor to scale all coordinates, producing correlated straight-line trajectories.
To make benchmarks fair, extrema should avoid privileged structures: not on domain boundaries (benefits clipping/overshoot), not at the center (benefits averaging/center drift), and not near main diagonals. A practical diagonal test is |x_norm โ y_norm| > 0.3 for the global maximum.
The piece provides actionable tooling: an MQL5 verifier (VerifyExtremes.mq5) to validate extrema positions and a workflow for adjusting fu...
๐ Read | NeuroBook | @mql5dev
To make benchmarks fair, extrema should avoid privileged structures: not on domain boundaries (benefits clipping/overshoot), not at the center (benefits averaging/center drift), and not near main diagonals. A practical diagonal test is |x_norm โ y_norm| > 0.3 for the global maximum.
The piece provides actionable tooling: an MQL5 verifier (VerifyExtremes.mq5) to validate extrema positions and a workflow for adjusting fu...
๐ Read | NeuroBook | @mql5dev
โค11๐5๐ฅ3๐คฉ2๐2
A request surfaced around โAlign Meanโ and identifying an optimum setup that improves overall profit visibility across all charts.
This typically means standardizing how mean/average reference lines are calculated and displayed so results can be compared between symbols and timeframes without changing parameters per chart.
Key points to validate include: consistent lookback windows, identical price sources (close vs typical), timeframe normalization, and whether the mean is fixed, rolling, or session-based. Any โoptimumโ setting should be tested with identical inputs across charts, using the same risk model and transaction cost assumptions.
๐ Read | CodeBase | @mql5dev
This typically means standardizing how mean/average reference lines are calculated and displayed so results can be compared between symbols and timeframes without changing parameters per chart.
Key points to validate include: consistent lookback windows, identical price sources (close vs typical), timeframe normalization, and whether the mean is fixed, rolling, or session-based. Any โoptimumโ setting should be tested with identical inputs across charts, using the same risk model and transaction cost assumptions.
๐ Read | CodeBase | @mql5dev
โค14๐12๐คฉ2๐2
Quant Ultimate Momentum Pro v5.4 is a momentum indicator aimed at reducing moving-average lag by projecting short-term momentum from price-derived velocity (MACD) and acceleration (OSMA). The model applies statistical filtering to manage noisy conditions and focuses on closed-bar confirmation for reversal signaling.
Core functions include adaptive volatility control using OSMA standard-deviation bands to scale thresholds as conditions change, plus fractal dimension checks (FDI) to suppress random-walk behavior and low-quality momentum swings.
Visual output is rendered directly on the main chart via candle coloring to highlight trend state and transitions. An alert layer supports push and audio notifications on confirmed reversals.
Typical deployment targets M5, M15, and H1 across indices, FX, and crypto, with EMA defaults aligned to 12/26/9 and adju...
๐ Read | Freelance | @mql5dev
Core functions include adaptive volatility control using OSMA standard-deviation bands to scale thresholds as conditions change, plus fractal dimension checks (FDI) to suppress random-walk behavior and low-quality momentum swings.
Visual output is rendered directly on the main chart via candle coloring to highlight trend state and transitions. An alert layer supports push and audio notifications on confirmed reversals.
Typical deployment targets M5, M15, and H1 across indices, FX, and crypto, with EMA defaults aligned to 12/26/9 and adju...
๐ Read | Freelance | @mql5dev
โค19๐10๐คฉ5๐ฅ4๐2๐1
Gemini AI has released Quant 2nd Model, targeting quantitative workflows that combine data preparation, model building, and evaluation. The update focuses on improved handling of time-series inputs, more consistent numerical reasoning, and better instruction adherence during multi-step tasks.
The model is positioned for analysis pipelines that require structured outputs suitable for downstream code generation and integration. Reported changes also include stronger context retention across longer prompts and fewer formatting deviations in generated results.
For engineering teams, the practical impact is expected in faster prototyping, reduced post-processing of responses, and more predictable behavior when automating research and reporting tasks.
๐ Read | CodeBase | @mql5dev
The model is positioned for analysis pipelines that require structured outputs suitable for downstream code generation and integration. Reported changes also include stronger context retention across longer prompts and fewer formatting deviations in generated results.
For engineering teams, the practical impact is expected in faster prototyping, reduced post-processing of responses, and more predictable behavior when automating research and reporting tasks.
๐ Read | CodeBase | @mql5dev
โค23๐11๐คฉ6๐ฅ5๐จโ๐ป3๐2โ1
MetaTrader 4 can run indicators written in MQL4, while MQL5 indicators target MetaTrader 5 and use a different event model, data access layer, and trade API. There is no drop-in compatibility between MT4 and MT5 indicator binaries, and most non-trivial source code requires refactoring.
Porting typically involves replacing indicator buffers and OnCalculate logic differences, adapting time series access (CopyBuffer/CopyRates patterns versus direct indexing assumptions), handling symbol/period specifics, and reworking any order or position-related code. Build processes, libraries, and strict compilation settings also differ, so identical behavior requires validation on historical and live ticks.
๐ Read | VPS | @mql5dev
Porting typically involves replacing indicator buffers and OnCalculate logic differences, adapting time series access (CopyBuffer/CopyRates patterns versus direct indexing assumptions), handling symbol/period specifics, and reworking any order or position-related code. Build processes, libraries, and strict compilation settings also differ, so identical behavior requires validation on historical and live ticks.
๐ Read | VPS | @mql5dev
โค14๐11๐ฅ6๐คฉ6๐2
Point & Figure configuration supports fixed box size (points) or ATR-based sizing to adapt per symbol and timeframe. Reversal count is configurable (default 3 boxes). Price source can be Close or High/Low, with pattern names rendered directly on the chart.
Built-in pattern detection covers double/triple top breakouts, double/triple bottom breakdowns, bullish/bearish catapults, and triangles. Breakout BUY/SELL signals can be filtered by higher low / lower high rules, EMA trend, ADX minimum, trading session, and optional triggering only on direction change.
An on-chart info panel (Full/Compact/Minimal) reports signal, entry, SL, TP, risk/reward, lot sizing from risk %, spread, ATR, P&F structure, plus warnings for oversized SL, late entries, or wide spreads. R1/R2/S1/S2 support/resistance lines are derived from P&F columns. Alerts include popup, sound,...
๐ Read | Freelance | @mql5dev
Built-in pattern detection covers double/triple top breakouts, double/triple bottom breakdowns, bullish/bearish catapults, and triangles. Breakout BUY/SELL signals can be filtered by higher low / lower high rules, EMA trend, ADX minimum, trading session, and optional triggering only on direction change.
An on-chart info panel (Full/Compact/Minimal) reports signal, entry, SL, TP, risk/reward, lot sizing from risk %, spread, ATR, P&F structure, plus warnings for oversized SL, late entries, or wide spreads. R1/R2/S1/S2 support/resistance lines are derived from P&F columns. Alerts include popup, sound,...
๐ Read | Freelance | @mql5dev
โค24๐7๐ฅ5๐คฉ4๐2๐2
A breakout indicator built on confirmed swing highs and swing lows. Nearby highs are grouped into resistance zones and nearby lows into support zones, with a minimum touch count required before a zone is treated as valid.
Signals trigger only on candle close. A bullish close above qualified resistance prints a blue zone rectangle and bullish arrow. A bearish close below qualified support prints a red zone rectangle and bearish arrow. Rectangles use transparent gradient fills to keep candles readable.
Directional confirmation is selectable: session VWAP (default), SMA (period configurable, default 20), SMMA, or None. A separate panel shows only the latest accepted breakout direction, not trade status.
Primary testing focus is XAUUSD on M5, with M15/M30 as cleaner but less frequent alternatives. Suggested execution is next-candle entry after confirmat...
๐ Read | Freelance | @mql5dev
Signals trigger only on candle close. A bullish close above qualified resistance prints a blue zone rectangle and bullish arrow. A bearish close below qualified support prints a red zone rectangle and bearish arrow. Rectangles use transparent gradient fills to keep candles readable.
Directional confirmation is selectable: session VWAP (default), SMA (period configurable, default 20), SMMA, or None. A separate panel shows only the latest accepted breakout direction, not trade status.
Primary testing focus is XAUUSD on M5, with M15/M30 as cleaner but less frequent alternatives. Suggested execution is next-candle entry after confirmat...
๐ Read | Freelance | @mql5dev
๐19โค18๐ฅ10๐คฉ10๐4๐4
GER40 Evening Coil is a free, open-source EA for the German 40 index on H1. It is long-only, takes one position at a time, requires four entry conditions, places a stop loss on every trade, and forces a flat book by 23:00 server time. Entries are limited to the evening session after the Frankfurt cash close.
Backtest (GER40 H1, 2022-01-01 to 2026-10-13) used a $10k start and fixed lot 5 with no compounding. Net profit: +$37,647 (+376.5%). Max equity drawdown: 10.5%. Profit factor: 2.07. Win rate: 62.6% (291/465), about 97 trades/year. Avg win/loss: $250.81 / $203.10. Longest losing streak: 5.
Signal logic: no volatility spike (10-bar vs 100-bar returns), tick volume not below its 50-bar average, a low-volume regime over 252 bars, and a recent NR7 within the last 13 bars. Execution buys next bar open, SL 3.5 ATR, TP 4.5 ATR, with time-based exits.
Robustness w...
๐ Read | AppStore | @mql5dev
Backtest (GER40 H1, 2022-01-01 to 2026-10-13) used a $10k start and fixed lot 5 with no compounding. Net profit: +$37,647 (+376.5%). Max equity drawdown: 10.5%. Profit factor: 2.07. Win rate: 62.6% (291/465), about 97 trades/year. Avg win/loss: $250.81 / $203.10. Longest losing streak: 5.
Signal logic: no volatility spike (10-bar vs 100-bar returns), tick volume not below its 50-bar average, a low-volume regime over 252 bars, and a recent NR7 within the last 13 bars. Execution buys next bar open, SL 3.5 ATR, TP 4.5 ATR, with time-based exits.
Robustness w...
๐ Read | AppStore | @mql5dev
โค18๐ฅ12๐11๐คฉ8๐1
USDX Trader v1.33 is a maintenance update focused on bug fixes for an MT5 EA that builds a synthetic US Dollar Index from major USD pairs already present in Market Watch.
The EA publishes the index as a custom chart symbol, so standard timeframes, indicators, and drawing tools can be used. Trading is executed as a weighted basket across the underlying pairs, with virtual take-profit and stop-loss evaluated on the index level rather than per-leg prices.
It supports multiple presets (ICE-style 6-leg USDX, broad-dollar baskets, equal-weight majors, and custom 1โ12 legs), automatic symbol-name detection, and a plan table showing leg sizing and rounding. Recent bars can be rebuilt from real ticks for more accurate highs/lows. Strategy Tester is supported via a virtual index with an optional EMA-crossover auto mode intended for demonstration, not optimisation.
Key c...
๐ Read | NeuroBook | @mql5dev
The EA publishes the index as a custom chart symbol, so standard timeframes, indicators, and drawing tools can be used. Trading is executed as a weighted basket across the underlying pairs, with virtual take-profit and stop-loss evaluated on the index level rather than per-leg prices.
It supports multiple presets (ICE-style 6-leg USDX, broad-dollar baskets, equal-weight majors, and custom 1โ12 legs), automatic symbol-name detection, and a plan table showing leg sizing and rounding. Recent bars can be rebuilt from real ticks for more accurate highs/lows. Strategy Tester is supported via a virtual index with an optional EMA-crossover auto mode intended for demonstration, not optimisation.
Key c...
๐ Read | NeuroBook | @mql5dev
๐18๐คฉ13โค12๐ฅ11๐คฏ2๐2๐1
Modern market feeds increasingly behave like event streams where tick timing, impulse size, and inter-event gaps carry signal that OHLC bars often discard.
An event-driven pipeline aligned with STE-FlowNet is being adapted from optical event-flow to financial microstructure, targeting real-time direction inference from unfolding activity rather than post-close features.
Implementation work is moving from theory to modules: a GPU/OpenCL state stack that shifts in-kernel to support effectively infinite sequences, with gradients routed only to the current top element via de-concatenation.
Next is a correlation module: dot-product similarity between the current unit-sequence descriptor and all stacked states, preserving comparable correlations without a fixed reference frame.
๐ Read | CodeBase | @mql5dev
An event-driven pipeline aligned with STE-FlowNet is being adapted from optical event-flow to financial microstructure, targeting real-time direction inference from unfolding activity rather than post-close features.
Implementation work is moving from theory to modules: a GPU/OpenCL state stack that shifts in-kernel to support effectively infinite sequences, with gradients routed only to the current top element via de-concatenation.
Next is a correlation module: dot-product similarity between the current unit-sequence descriptor and all stacked states, preserving comparable correlations without a fixed reference frame.
๐ Read | CodeBase | @mql5dev
โค7๐6๐คฉ6๐ฅ4๐2
Traders periodically need an objective volatility estimate that is less sensitive to outliers than standard range-based measures.
One method applies a Winsorisation-like workflow to the price series. Price samples are sorted, then the successive rate-of-change between adjacent sorted values is computed and aggregated. Larger outputs indicate a wider dispersion of values, which typically aligns with higher volatility regimes.
A key limitation is direction blindness: sorting removes the path information, so trend and mean-reversion can produce similar readings. A practical adjustment is to include a time component in the value representation so that temporal ordering influences the computed differences.
๐ Read | Signals | @mql5dev
One method applies a Winsorisation-like workflow to the price series. Price samples are sorted, then the successive rate-of-change between adjacent sorted values is computed and aggregated. Larger outputs indicate a wider dispersion of values, which typically aligns with higher volatility regimes.
A key limitation is direction blindness: sorting removes the path information, so trend and mean-reversion can produce similar readings. A practical adjustment is to include a time component in the value representation so that temporal ordering influences the computed differences.
๐ Read | Signals | @mql5dev
โค7๐6๐ฅ4๐คฉ4๐2
Breaking news can invalidate technical signals mid-trade, so this approach adds real-time news sentiment as a dynamic filter inside an MT5 Expert Advisor.
A REST API provides bullish/bearish/neutral labels plus a confidence score. The EA uses this to confirm entries (skip buys during strong bearish sentiment) and to trigger early exits when sentiment reverses against an open position, while ignoring low-confidence or neutral readings to avoid noise.
Implementation is straightforward in MQL5: WebRequest on an OnTimer schedule, JSON parsing into a small sentiment structure with short history, and helper functions for โmeaningfulโ sentiment and reversal checks.
Key caveats: WebRequest wonโt run in Strategy Tester, so record/play back sentiment for testing; tune confidence thresholds and update frequency; verify Yahoo Finance instrument symbols; protect API k...
๐ Read | Forum | @mql5dev
A REST API provides bullish/bearish/neutral labels plus a confidence score. The EA uses this to confirm entries (skip buys during strong bearish sentiment) and to trigger early exits when sentiment reverses against an open position, while ignoring low-confidence or neutral readings to avoid noise.
Implementation is straightforward in MQL5: WebRequest on an OnTimer schedule, JSON parsing into a small sentiment structure with short history, and helper functions for โmeaningfulโ sentiment and reversal checks.
Key caveats: WebRequest wonโt run in Strategy Tester, so record/play back sentiment for testing; tune confidence thresholds and update frequency; verify Yahoo Finance instrument symbols; protect API k...
๐ Read | Forum | @mql5dev
โค13๐คฉ8๐ฅ7๐4๐2
A terminal script scans all instruments currently visible in Market Watch and applies two filters to identify trend candidates on H1.
First, a linear regression is calculated over a configurable window (50 bars by default). Trend smoothness is validated via the Rยฒ coefficient; symbols with Rยฒ below 0.70 are rejected as excessively noisy.
Second, ADX values are checked to confirm trend strength. Symbols with ADX below 25.0 are excluded.
For instruments passing both filters, the output includes direction (UP/DOWN), regression fit precision, and the ADX reading. Results are printed to the Experts tab.
Usage is straightforward: attach the script to any H1 chart to trigger an immediate scan and report.
๐ Read | Signals | @mql5dev
First, a linear regression is calculated over a configurable window (50 bars by default). Trend smoothness is validated via the Rยฒ coefficient; symbols with Rยฒ below 0.70 are rejected as excessively noisy.
Second, ADX values are checked to confirm trend strength. Symbols with ADX below 25.0 are excluded.
For instruments passing both filters, the output includes direction (UP/DOWN), regression fit precision, and the ADX reading. Results are printed to the Experts tab.
Usage is straightforward: attach the script to any H1 chart to trigger an immediate scan and report.
๐ Read | Signals | @mql5dev
๐7โค5๐คฉ5๐ฅ2๐2๐1
Part 9 adds a Trade Activity Auditor for MetaTrader 5 that captures account-level trade changes, not just actions taken by one cooperating EA. It uses OnTradeTransaction() to log distinct stagesโrequests, order updates, deals, position changes, and history transitionsโwithout collapsing them into a single โtradeโ record, preserving evidence when callbacks arrive out of order or within the same second.
When the terminal was offline, it recovers missing context by scanning a configurable history window and appending ORDERS/DEALS not already journaled, marking rows as LIVE vs RECOVERED. The design separates responsibilities into modules: typed records, CSV journal with strict validation and export, transaction/history translation, and a chart panel for period summaries.
Practical benefits: reproducible trails for debugging multi-EA accounts, clearer attribution o...
๐ Read | Signals | @mql5dev
When the terminal was offline, it recovers missing context by scanning a configurable history window and appending ORDERS/DEALS not already journaled, marking rows as LIVE vs RECOVERED. The design separates responsibilities into modules: typed records, CSV journal with strict validation and export, transaction/history translation, and a chart panel for period summaries.
Practical benefits: reproducible trails for debugging multi-EA accounts, clearer attribution o...
๐ Read | Signals | @mql5dev
โค15๐10๐ฅ7๐คฉ5๐3๐จโ๐ป2๐1
STE-FlowNet treats price action as an event stream rather than aggregated candles, preserving where/when order imbalance appears. This reduces response latency, avoids information loss from averaging, and captures spikes and underlying trend in one representation.
The article continues the implementation by adding an SEW-style residual block built for stability in spiking networks. The block is encapsulated as an OpenCL-backed class with a clean forward pass that chains submodules and merges the result with the original input for reliable gradient flow.
It then builds a full Flow Decoder as a separate component with two parallel paths (main features and flow), using transposed convolutions, skip connections, and encoder latent states (via ConvGRU) to reconstruct detailed spatiotemporal flow maps. Practical outcome: real-time micro-movement tracking that can feed ...
๐ Read | NeuroBook | @mql5dev
The article continues the implementation by adding an SEW-style residual block built for stability in spiking networks. The block is encapsulated as an OpenCL-backed class with a clean forward pass that chains submodules and merges the result with the original input for reliable gradient flow.
It then builds a full Flow Decoder as a separate component with two parallel paths (main features and flow), using transposed convolutions, skip connections, and encoder latent states (via ConvGRU) to reconstruct detailed spatiotemporal flow maps. Practical outcome: real-time micro-movement tracking that can feed ...
๐ Read | NeuroBook | @mql5dev
๐8โค7๐ฅ5๐คฉ3๐3