Trade Reporter Lite sends MetaTrader 5 trade events to a Telegram chat in real time. It only reports activity and does not open, close, or modify orders. Monitoring covers all positions on the account, including manual trades and any EA. Restarts do not re-announce positions already open.
Open messages include side, symbol, entry, stop, target, pip distances, and lot size. Close messages include pips, R-multiple based on the first stop, P/L in account currency, entry-to-exit, and time held. Failed deliveries retry with back-off at 5 s, 15 s, 45 s, and 135 s. An on-chart status box shows sent, queued, and failed counts plus a readable error.
Setup requires a Telegram bot token from @BotFather and a chat ID (channel @name or numeric ID). WebRequest must allow https://api.telegram.org. In Strategy Tester, messages are written to the journal as TRL[tester].
π Read | Quotes | @mql5dev
Open messages include side, symbol, entry, stop, target, pip distances, and lot size. Close messages include pips, R-multiple based on the first stop, P/L in account currency, entry-to-exit, and time held. Failed deliveries retry with back-off at 5 s, 15 s, 45 s, and 135 s. An on-chart status box shows sent, queued, and failed counts plus a readable error.
Setup requires a Telegram bot token from @BotFather and a chat ID (channel @name or numeric ID). WebRequest must allow https://api.telegram.org. In Strategy Tester, messages are written to the journal as TRL[tester].
π Read | Quotes | @mql5dev
β€27π9π₯4π€©2π2
CME Gap Tracker for gold and Bitcoin measures weekend gaps using CME Friday close and Sunday open, mapped into broker server time with Chicago DST handling. It plots each gap as a box, keeps unfilled gaps extended until price trades back to the Friday close, then marks the fill and records hours-to-fill. Gaps below a configurable minimum percent are ignored.
A panel summarizes recent history: counts by direction, fill rates within 24 hours and 7 days, median and slow-tail fill times, and βheat before fillβ in gap-multiples. A built-in fade test enters at the CME open toward the fill, uses a stop sized by gap multiple, times out after N days, charges entry-bar spread, and treats stop/target conflicts conservatively.
Gold backtests on broker spot data showed high fill rates (roughly 83%β97%), but negative results for a fixed fade strategy due to freque...
π Read | AppStore | @mql5dev
A panel summarizes recent history: counts by direction, fill rates within 24 hours and 7 days, median and slow-tail fill times, and βheat before fillβ in gap-multiples. A built-in fade test enters at the CME open toward the fill, uses a stop sized by gap multiple, times out after N days, charges entry-bar spread, and treats stop/target conflicts conservatively.
Gold backtests on broker spot data showed high fill rates (roughly 83%β97%), but negative results for a fixed fade strategy due to freque...
π Read | AppStore | @mql5dev
β€22π8π4
Gold breakout EA for XAUUSD on H4 uses a Turtle-style entry: buy when the last closed H4 bar finishes above the prior 20-bar high, only if price is above the 200 EMA. Default is long-only, one position at a time, with a 2x ATR(20) stop and a fixed 2R take-profit. Orders are opened at market, then SL/TP are attached to the fill; failure to attach triggers an immediate close. Risk is position-sized from stop distance, spread is filtered (skip when spread >10% of stop), and entries are blocked near session close.
Backtest (Jan 2020βSep 2026, 10k deposit, 1% risk, spread+swap, random delay) reported +9,029.72 net, PF 1.77, max DD 11.38%, 198 trades, 46.97% win rate. Returns were concentrated in 2024β2025; 2020β2023 ranged from -2.9% to +5.1% per year. Enabling shorts reduced performance in this sample, with sells negative while buys remained positive.
π Read | NeuroBook | @mql5dev
Backtest (Jan 2020βSep 2026, 10k deposit, 1% risk, spread+swap, random delay) reported +9,029.72 net, PF 1.77, max DD 11.38%, 198 trades, 46.97% win rate. Returns were concentrated in 2024β2025; 2020β2023 ranged from -2.9% to +5.1% per year. Enabling shorts reduced performance in this sample, with sells negative while buys remained positive.
π Read | NeuroBook | @mql5dev
β€27π9π3π€©1π1π¨βπ»1
Breakout Exit Lab scores Donchian channel breakouts with three exits applied in parallel: ATR trailing stop, Turtle 10-bar exit channel, and a fixed 2R target. Signals are non-repainting and exposed via buffers for EA use, with a panel reporting results in R with spread deducted.
Entry is the first close beyond the prior 20-bar high/low (Turtle System 1), with trades opened on the next bar. Initial stop is 2.0 x ATR(20). Optional 200 EMA trend filter is available. Exit logic includes ATR trail that never loosens, channel exit using prior lows/highs, and fixed target versus the initial stop. Gaps fill at bar open; stop is assumed first when stop and target fall inside one bar.
Tests on XAUUSD showed exit B leading on H4 in 2025 (+66.20R) and 2026 (+22.35R), while H1 leadership varied by year. A 2026 check on EURUSD, GBPUSD, USDJPY was flat to negative...
π Read | Freelance | @mql5dev
Entry is the first close beyond the prior 20-bar high/low (Turtle System 1), with trades opened on the next bar. Initial stop is 2.0 x ATR(20). Optional 200 EMA trend filter is available. Exit logic includes ATR trail that never loosens, channel exit using prior lows/highs, and fixed target versus the initial stop. Gaps fill at bar open; stop is assumed first when stop and target fall inside one bar.
Tests on XAUUSD showed exit B leading on H4 in 2025 (+66.20R) and 2026 (+22.35R), while H1 leadership varied by year. A 2026 check on EURUSD, GBPUSD, USDJPY was flat to negative...
π Read | Freelance | @mql5dev
β€23π9π₯4π€©2π2
Renderer changes after Part 4 add a fill-rule switch to the rasterizer, enabling reliable holes and fill-based borders without rewriting the pipeline.
The scanline sweep already computes a signed winding sum from edge crossings. Non-zero treats any non-zero winding as inside. Even-odd treats an odd number of crossings as inside, ignoring direction, so inset contours produce holes without reversing vertex order.
Implementation impact stays minimal: a stable enum with explicit values, a defaulted Fill(rule) parameter to preserve old call sites, and one inside-test change. Even-odd is implemented by testing winding & 1; parity remains correct even with signed increments in twoβs complement.
This fixes common UI shapes: glyph counters, donut gauges, ring borders, and stroke-like shapes built as filled contours, while avoiding double-composited anti-alia...
π Read | CodeBase | @mql5dev
The scanline sweep already computes a signed winding sum from edge crossings. Non-zero treats any non-zero winding as inside. Even-odd treats an odd number of crossings as inside, ignoring direction, so inset contours produce holes without reversing vertex order.
Implementation impact stays minimal: a stable enum with explicit values, a defaulted Fill(rule) parameter to preserve old call sites, and one inside-test change. Even-odd is implemented by testing winding & 1; parity remains correct even with signed increments in twoβs complement.
This fixes common UI shapes: glyph counters, donut gauges, ring borders, and stroke-like shapes built as filled contours, while avoiding double-composited anti-alia...
π Read | CodeBase | @mql5dev
β€12π7π€©3π₯2π1
Most MQL5 position sizers ask for a risk number that is independent of strategy quality. Fixed percent rules size the same whether win rate and payoff are favorable or not.
Kelly sizing derives the risk fraction from the strategy edge: win probability and average win versus loss. A CKelly class can measure these from closed deal history (net of costs), refuse to act on small samples, and return zero sizing when no edge is detected.
Monte Carlo sweeps show the key trade-off: growth peaks at full Kelly, while drawdown and large-loss frequency keep rising. Fractional Kelly, often half or quarter, retains most growth while materially reducing drawdown and ruin risk.
The code is native MQL5: one reusable class plus a sweep script that outputs CSV. Limits remain: edge is estimated, non-stationary, and correlation or overlapping positions are not covered.
π Read | AppStore | @mql5dev
Kelly sizing derives the risk fraction from the strategy edge: win probability and average win versus loss. A CKelly class can measure these from closed deal history (net of costs), refuse to act on small samples, and return zero sizing when no edge is detected.
Monte Carlo sweeps show the key trade-off: growth peaks at full Kelly, while drawdown and large-loss frequency keep rising. Fractional Kelly, often half or quarter, retains most growth while materially reducing drawdown and ruin risk.
The code is native MQL5: one reusable class plus a sweep script that outputs CSV. Limits remain: edge is estimated, non-stationary, and correlation or overlapping positions are not covered.
π Read | AppStore | @mql5dev
β€8π7π€©4π₯3π3β1π1
βHistorical volatilityβ hides a real implementation choice: close-only, range-based, or full OHLC estimators embed different assumptions. This study benchmarks five variance estimators (Close-to-Close, Parkinson, Garman-Klass, Rogers-Satchell, Yang-Zhang) under a strict persistence forecast: todayβs rolling variance becomes tomorrowβs forecast.
Targets are next-session realized-variance proxies built from chronological M1 closes plus the close-to-open jump, with hard rules for session boundaries, gap limits, and endpoint checks. A common target mask ensures every estimator is scored on the same 1,472 EURUSD sessions (2020β2025), avoiding sample drift.
The MQL5 toolkit emphasizes reproducibility: shared OHLC transforms, formula validation, strict chronology safeguards, and paired moving-block bootstrap to test whether observed QLIKE differences (notab...
π Read | NeuroBook | @mql5dev
Targets are next-session realized-variance proxies built from chronological M1 closes plus the close-to-open jump, with hard rules for session boundaries, gap limits, and endpoint checks. A common target mask ensures every estimator is scored on the same 1,472 EURUSD sessions (2020β2025), avoiding sample drift.
The MQL5 toolkit emphasizes reproducibility: shared OHLC transforms, formula validation, strict chronology safeguards, and paired moving-block bootstrap to test whether observed QLIKE differences (notab...
π Read | NeuroBook | @mql5dev
β€8π₯8π€©3β‘2β1π1π1
This article replaces clock-based bars with intrinsic time: the market βticksβ only when price reverses by a chosen threshold. An online MQL5 directional-change operator tracks extremes, confirms turns, and splits each move into a directional-change leg plus an overshoot, building a measurable βcoastlineβ from raw ticks.
Using 17.8M EUR/USD ticks, a multi-threshold sweep reproduces key power-law relationships and shows the mean overshoot is roughly the threshold at fine resolutions. A volatility-matched random walk produces nearly identical exponents, suggesting these laws are robust but not a reliable market-structure detector.
The Alpha Engine is then implemented as an MT5 Expert Advisor: a contrarian cascade/de-cascade scheme that adds in fixed steps at intrinsic events, trims on reversals, and controls trend risk with asymmetric thresholds and ...
π Read | AppStore | @mql5dev
Using 17.8M EUR/USD ticks, a multi-threshold sweep reproduces key power-law relationships and shows the mean overshoot is roughly the threshold at fine resolutions. A volatility-matched random walk produces nearly identical exponents, suggesting these laws are robust but not a reliable market-structure detector.
The Alpha Engine is then implemented as an MT5 Expert Advisor: a contrarian cascade/de-cascade scheme that adds in fixed steps at intrinsic events, trims on reversals, and controls trend risk with asymmetric thresholds and ...
π Read | AppStore | @mql5dev
π9β€5π₯3π€©3π¨βπ»2β1π1
A non-repainting swing high/low indicator for chart structure and backtesting.
Swings are confirmed only after the required bars to the right have closed. The current forming bar is excluded, so confirmed marks remain unchanged on future candles.
Logic: a swing high is a bar whose high is above the highs of N bars on the left and not below the highs of N bars on the right. Swing lows apply the mirrored rule. This design adds an unavoidable lag of N bars, which is the trade-off for non-repainting behavior.
Key inputs: InpStrength (N, default 5), InpMaxBars (scan depth, default 2000, 0 = all), optional popup alert and mobile push on confirmation.
EA integration: Buffer 0 returns swing high price, Buffer 1 returns swing low price, with EMPTY_VALUE otherwise. Suitable as a neutral building block for BOS/CHoCH logic, not a trading signal.
π Read | Forum | @mql5dev
Swings are confirmed only after the required bars to the right have closed. The current forming bar is excluded, so confirmed marks remain unchanged on future candles.
Logic: a swing high is a bar whose high is above the highs of N bars on the left and not below the highs of N bars on the right. Swing lows apply the mirrored rule. This design adds an unavoidable lag of N bars, which is the trade-off for non-repainting behavior.
Key inputs: InpStrength (N, default 5), InpMaxBars (scan depth, default 2000, 0 = all), optional popup alert and mobile push on confirmation.
EA integration: Buffer 0 returns swing high price, Buffer 1 returns swing low price, with EMPTY_VALUE otherwise. Suitable as a neutral building block for BOS/CHoCH logic, not a trading signal.
π Read | Forum | @mql5dev
β€9π7πΎ2β1π1
Part 9 extends the MT5 MicroStructure Foundation to fix a key weakness in EMA-stack micro-trend scoring: βtrend-alignedβ bars can be either fresh breakouts or late retracements, yet both look equally strong.
The solution adds a strategy-neutral pullback depth metric using rolling Fibonacci retracement over the last 20 bars, plus a PULLBACK_QUALITY enum and PullbackAnalysis struct. Depth is filtered by ATR-normalized EMA(5/13) alignment to avoid scoring when no trend exists, and it flags structure as strong/healthy/warning/deep/broken based on how much of the prior swing has been given back.
Two context layers improve signal quality: a 60-bar rolling high/low proxy for H1 range position, and lag-1 return autocorrelation to detect brief momentum persistence. An empirical run on 514 NQ M1 NY sessions finds most bars are shallow pullbacks, while autocorr...
π Read | AppStore | @mql5dev
The solution adds a strategy-neutral pullback depth metric using rolling Fibonacci retracement over the last 20 bars, plus a PULLBACK_QUALITY enum and PullbackAnalysis struct. Depth is filtered by ATR-normalized EMA(5/13) alignment to avoid scoring when no trend exists, and it flags structure as strong/healthy/warning/deep/broken based on how much of the prior swing has been given back.
Two context layers improve signal quality: a 60-bar rolling high/low proxy for H1 range position, and lag-1 return autocorrelation to detect brief momentum persistence. An empirical run on 514 NQ M1 NY sessions finds most bars are shallow pullbacks, while autocorr...
π Read | AppStore | @mql5dev
β€18π8π€©4π₯2β1π1
Price Action Volumetric Order Blocks MT5 is an open-source indicator for market structure and order block visualisation in MetaTrader 5. It marks confirmed swing pivots, BOS/MSB events, and tracks active bullish and bearish order blocks projected forward on the chart.
The tool estimates buy/sell participation inside each active zone using bar data and tick volume where needed. These figures are analytical estimates rather than exchange-grade order-flow and should be treated accordingly.
Signals are confirmation-based: pivots, structure breaks, and blocks are only shown after the configured confirmation bars close, reducing repaint-style noise from in-progress candles. A compact panel summarises active zones with price range, buy/sell percentages, and volume.
Key inputs cover pivot sensitivity, maximum active zones, projection length, colour palette,...
π Read | Quotes | @mql5dev
The tool estimates buy/sell participation inside each active zone using bar data and tick volume where needed. These figures are analytical estimates rather than exchange-grade order-flow and should be treated accordingly.
Signals are confirmation-based: pivots, structure breaks, and blocks are only shown after the configured confirmation bars close, reducing repaint-style noise from in-progress candles. A compact panel summarises active zones with price range, buy/sell percentages, and volume.
Key inputs cover pivot sensitivity, maximum active zones, projection length, colour palette,...
π Read | Quotes | @mql5dev
β€9π4π€©4π₯3β‘1β1π1
Most EA templates still assume one-symbol decision loops. A multi-symbol basket requires explicit data alignment, shared-bar processing, and leg-level execution control.
A basket EA can be built by standardizing each symbolβs close series, running PCA via MQL5 matrix/SVD, and selecting the lowest-variance component as a weight vector. The synthetic spread is the dot product of standardized prices and weights, with deviation expressed as a rolling z-score.
Execution must map basket direction to each leg using weight sign, size each order by abs(weight), and enforce per-symbol min/max/step rules. Orders are sequential, with compensating closes on failure; retcodes must be checked, not only CTrade booleans.
PCA alone does not validate mean reversion, cointegration, or tradability; separate testing is required.
π Read | AlgoBook | @mql5dev
A basket EA can be built by standardizing each symbolβs close series, running PCA via MQL5 matrix/SVD, and selecting the lowest-variance component as a weight vector. The synthetic spread is the dot product of standardized prices and weights, with deviation expressed as a rolling z-score.
Execution must map basket direction to each leg using weight sign, size each order by abs(weight), and enforce per-symbol min/max/step rules. Orders are sequential, with compensating closes on failure; retcodes must be checked, not only CTrade booleans.
PCA alone does not validate mean reversion, cointegration, or tradability; separate testing is required.
π Read | AlgoBook | @mql5dev
β€13π7π€©6β2β‘1π₯1π1
NeonDesk is a manual trading panel for MT5. It does not execute automated entries; orders are sent only via BUY/SELL, and each action requires confirmation before submission.
The panel provides a multi-timeframe bias view (M1, M30, H4, D1), a candle countdown timer selectable independently from the chart timeframe (M1 to D1), current Bid/Ask and candle OHLC, plus an ATR-based SL/TP suggestion for reference only.
Trade controls include lot size and SL/TP as direct price levels in the chartβs format, plus a trailing stop in pips that only tightens risk. BUY, SELL, and CLOSE ALL are limited to the panelβs own trades via a dedicated magic number, isolating other positions.
Safety checks include a one-time risk acknowledgement, pre-trade confirmation showing full order details, validation of SL/TP side and broker minimum stop distance, and warnings on existing ...
π Read | VPS | @mql5dev
The panel provides a multi-timeframe bias view (M1, M30, H4, D1), a candle countdown timer selectable independently from the chart timeframe (M1 to D1), current Bid/Ask and candle OHLC, plus an ATR-based SL/TP suggestion for reference only.
Trade controls include lot size and SL/TP as direct price levels in the chartβs format, plus a trailing stop in pips that only tightens risk. BUY, SELL, and CLOSE ALL are limited to the panelβs own trades via a dedicated magic number, isolating other positions.
Safety checks include a one-time risk acknowledgement, pre-trade confirmation showing full order details, validation of SL/TP side and broker minimum stop distance, and warnings on existing ...
π Read | VPS | @mql5dev
β€16π€©5π4π₯3π1π1
Price charts give quick visual context, but an EA only sees OHLC series. Market context must be derived from swing sequences, not isolated pivots.
A Market Behavior Analyzer can convert detected swing highs/lows into structured objects with metadata: HH/LH/HL/LL label, move length, bar count, retracement, and links to adjacent swings.
Processing is split into stages: swing detection and enrichment, story evaluation, then rendering. The evaluation focuses on the latest confirmed structure, classifies moves as impulse vs pullback relative to that structure, and marks structure as Intact or Threatened using a retracement threshold.
Visualization stays passive: it reads the evaluated state and displays a compact dashboard plus interactive inspection, without re-running analysis.
π Read | Calendar | @mql5dev
A Market Behavior Analyzer can convert detected swing highs/lows into structured objects with metadata: HH/LH/HL/LL label, move length, bar count, retracement, and links to adjacent swings.
Processing is split into stages: swing detection and enrichment, story evaluation, then rendering. The evaluation focuses on the latest confirmed structure, classifies moves as impulse vs pullback relative to that structure, and marks structure as Intact or Threatened using a retracement threshold.
Visualization stays passive: it reads the evaluated state and displays a compact dashboard plus interactive inspection, without re-running analysis.
π Read | Calendar | @mql5dev
β€19β‘6π6π€©6π₯3π2
PropGuard 1.02 is an account-level risk manager for prop-firm accounts. A single instance on any chart monitors all positions on the account, regardless of whether they were opened manually or by other EAs, and enforces daily and maximum loss limits by closing positions and deleting pending orders.
Version 1.02 adds money-based exposure caps, an enforced stop-loss requirement, and a per-position risk cap. In testing against real trade logs, two recurring gaps were highlighted: trades left without a stop loss, and single trades consuming most of the daily loss budget. The new rules can close no-SL positions after a grace period and can tighten stops to a fixed monetary risk per trade.
Maximum loss can be measured as static (initial balance), trailing equity (high watermark), or trailing daily balance (floor updated only at daily reset). Exposure limits are e...
π Read | AlgoBook | @mql5dev
Version 1.02 adds money-based exposure caps, an enforced stop-loss requirement, and a per-position risk cap. In testing against real trade logs, two recurring gaps were highlighted: trades left without a stop loss, and single trades consuming most of the daily loss budget. The new rules can close no-SL positions after a grace period and can tighten stops to a fixed monetary risk per trade.
Maximum loss can be measured as static (initial balance), trailing equity (high watermark), or trailing daily balance (floor updated only at daily reset). Exposure limits are e...
π Read | AlgoBook | @mql5dev
β€17π₯5π€©3π2π2π1
ST-Expert reframes market forecasting as a regime-adaptive problem, addressing how correlation structures collapse during shocks like COVID-era shifts and policy cycles. Instead of fitting one stable dependency graph, it maintains multiple specialized βexpertsβ that each represent a distinct market behavior.
Regimes are extracted by splitting history into time intervals that maximize structural dissimilarity using Kendallβs tau, solved via dynamic programming (MSGD). Each interval trains an expert graphon: a probabilistic graph generator that models links between assets as connection probabilities, sampled with Gumbel-Softmax to reduce noisy edges.
Training uses episodic learning: one expert forecasts while a gating network learns to mix the remaining experts to reproduce the active regime. At inference, the gate weights experts from live signals,...
π Read | Calendar | @mql5dev
Regimes are extracted by splitting history into time intervals that maximize structural dissimilarity using Kendallβs tau, solved via dynamic programming (MSGD). Each interval trains an expert graphon: a probabilistic graph generator that models links between assets as connection probabilities, sampled with Gumbel-Softmax to reduce noisy edges.
Training uses episodic learning: one expert forecasts while a gating network learns to mix the remaining experts to reproduce the active regime. At inference, the gate weights experts from live signals,...
π Read | Calendar | @mql5dev
β€20π4π€©4π2π₯1π1
This article builds an MQL5 dashboard to answer a practical question: how trade holding time relates to net profit in a specific account, beyond aggregate win rate.
A script extracts every closed trade, recovers true open time via position ID, computes duration in minutes, and calculates net P/L including swap and commission. Results are plotted as a CCanvas scatter plot (one dot per trade), colored by symbol, with a per-symbol summary table.
It overlays a least-squares regression (slope, intercept, RΒ²) to quantify the overall duration-profit trend, and adds a simple short/medium/long bucket analysis to surface ranges that outperform even when a single line is misleading. A log-scaled duration axis keeps long-tail hold times readable while preserving βprofit per minuteβ on linear data.
π Read | NeuroBook | @mql5dev
A script extracts every closed trade, recovers true open time via position ID, computes duration in minutes, and calculates net P/L including swap and commission. Results are plotted as a CCanvas scatter plot (one dot per trade), colored by symbol, with a per-symbol summary table.
It overlays a least-squares regression (slope, intercept, RΒ²) to quantify the overall duration-profit trend, and adds a simple short/medium/long bucket analysis to surface ranges that outperform even when a single line is misleading. A log-scaled duration axis keeps long-tail hold times readable while preserving βprofit per minuteβ on linear data.
π Read | NeuroBook | @mql5dev
β€13π8π₯2π2π€©1
APARCH support is added to the MQL5 volatility library as CAparchProcess under CVolatilityProcess, targeting cases where fixing the power term delta constrains estimation. Standard ARCH-family models predefine the exponent, which can mask better-fitting transformations and interact with asymmetry terms.
APARCH jointly estimates delta with omega, alpha, beta, and gamma. Delta governs whether dynamics align closer to squared or absolute residuals, consistent with the Taylor effect evidence that intermediate powers often retain stronger autocorrelation than squares. Gamma is bounded in (-1, 1) to keep the shifted shock term valid under fractional powers.
Implementation details include VOL_APARCH registration, new ArchParameters fields (aparch_delta, aparch_common_asym), a dedicated aparch_recursion() using raw residuals, repacking logic for fixed delta or...
π Read | AppStore | @mql5dev
APARCH jointly estimates delta with omega, alpha, beta, and gamma. Delta governs whether dynamics align closer to squared or absolute residuals, consistent with the Taylor effect evidence that intermediate powers often retain stronger autocorrelation than squares. Gamma is bounded in (-1, 1) to keep the shifted shock term valid under fractional powers.
Implementation details include VOL_APARCH registration, new ArchParameters fields (aparch_delta, aparch_common_asym), a dedicated aparch_recursion() using raw residuals, repacking logic for fixed delta or...
π Read | AppStore | @mql5dev
β€14π€©9π₯7π4π1π1
Market behavior rarely fits a single variable; meaningful models require joint distributions that capture how multiple assets and factors move together.
The article lays out multivariate CDF/PDF mechanics, emphasizing that marginals are only projections: knowing each seriesβ standalone distribution cannot reconstruct dependence. Singular joint structures matter in practice because they reveal hard constraints, including deterministic links between instruments.
Dependence is formalized via factorization: independence holds only when the joint distribution equals the product of marginals, making conditional and unconditional distributions identical. This reframes independence as βcontext adds no information.β
Conditional distributions lead directly to conditional expectation as the regression function. Many forecasting and ML models can be viewed as approxima...
π Read | Calendar | @mql5dev
The article lays out multivariate CDF/PDF mechanics, emphasizing that marginals are only projections: knowing each seriesβ standalone distribution cannot reconstruct dependence. Singular joint structures matter in practice because they reveal hard constraints, including deterministic links between instruments.
Dependence is formalized via factorization: independence holds only when the joint distribution equals the product of marginals, making conditional and unconditional distributions identical. This reframes independence as βcontext adds no information.β
Conditional distributions lead directly to conditional expectation as the regression function. Many forecasting and ML models can be viewed as approxima...
π Read | Calendar | @mql5dev
β€14π10π₯8π€©5π1
Price windows can be compressed into fixed-length words to enable indexing and large-scale comparisons without revisiting raw series. SAX typically does this via z-normalization, PAA averages, and a shared Gaussian breakpoint table, but the bit budget wΒ·log2(a) is rarely evaluated for efficiency.
SFA replaces PAA with low-frequency DFT coefficients and replaces the shared bin table with Multiple Coefficient Binning, learning per-position quantiles so each letter is used. This avoids collapsing low-variance coefficients into a single symbol and supports three bin modes, including a Gaussian ablation.
A full similarity harness compares MinDist, ApproxDist, and TrueDist, validating a sound lower bound with the required factor-of-two from conjugate symmetry. Results show SFA gains when the alphabet is deep over few positions, shrinking as bits spread across many po...
π Read | Freelance | @mql5dev
SFA replaces PAA with low-frequency DFT coefficients and replaces the shared bin table with Multiple Coefficient Binning, learning per-position quantiles so each letter is used. This avoids collapsing low-variance coefficients into a single symbol and supports three bin modes, including a Gaussian ablation.
A full similarity harness compares MinDist, ApproxDist, and TrueDist, validating a sound lower bound with the required factor-of-two from conjugate symmetry. Results show SFA gains when the alphabet is deep over few positions, shrinking as bits spread across many po...
π Read | Freelance | @mql5dev
β€17π13π₯12π€©7β1π1
Impulse candles can be formalized instead of identified visually. This indicator flags momentum bars with fixed rules and draws arrows: green below bullish impulses and red above bearish impulses.
A bar is marked when its body is at least ATR(InpAtrPeriod) * InpImpulseAtrMult, the body is at least InpMinBodyRatio of the full range, and the close is located in the top or bottom segment of the bar based on InpMinCloseLoc. Optional confirmation requires tick volume to exceed InpVolumeMult times the average of the prior InpVolumePeriod bars.
Signals are stable after close because calculations use only the current bar. The active bar can repaint until it closes; automation should read shift 1. For EAs, buffer 0 is bullish and buffer 1 bearish; non-zero values hold the arrow price via iCustom/CopyBuffer.
Defaults target M1βM15 on volatile symbols. On H1+ ...
π Read | Freelance | @mql5dev
A bar is marked when its body is at least ATR(InpAtrPeriod) * InpImpulseAtrMult, the body is at least InpMinBodyRatio of the full range, and the close is located in the top or bottom segment of the bar based on InpMinCloseLoc. Optional confirmation requires tick volume to exceed InpVolumeMult times the average of the prior InpVolumePeriod bars.
Signals are stable after close because calculations use only the current bar. The active bar can repaint until it closes; automation should read shift 1. For EAs, buffer 0 is bullish and buffer 1 bearish; non-zero values hold the arrow price via iCustom/CopyBuffer.
Defaults target M1βM15 on volatile symbols. On H1+ ...
π Read | Freelance | @mql5dev
π17β€13π€©12π₯8π¨βπ»3π2