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
Renko forecasting moved from CatBoost classification to regression to predict the next bar’s log-return, not only direction. This yields a continuous score usable for signal filtering and a 95% interval from OOF residual variance.
The core issue is forecast bias. A two-step fix is used: a residual cascade trained on honest TimeSeriesSplit OOF errors, then conditional bias correction split by sign (bull vs bear) with an MAE degradation guard.
Daily EURUSD (2024–2025) uses adaptive brick_size via 0.5×ATR(14) (~0.004). Features describe the last 10 Renko bars (25 fields). The cascade accepted one residual stage; OOF-MAE improved 0.001306→0.001262, R² to 0.718, while direction accuracy stayed ~64–65%.
A MetaTrader 5 script turns forecasts into orders with spread filtering, 2-brick SL, 3-brick TP, and 0.5% balance risk sizing, with explicit dry-run and trade...
👉 Read | Forum | @mql5dev
The core issue is forecast bias. A two-step fix is used: a residual cascade trained on honest TimeSeriesSplit OOF errors, then conditional bias correction split by sign (bull vs bear) with an MAE degradation guard.
Daily EURUSD (2024–2025) uses adaptive brick_size via 0.5×ATR(14) (~0.004). Features describe the last 10 Renko bars (25 fields). The cascade accepted one residual stage; OOF-MAE improved 0.001306→0.001262, R² to 0.718, while direction accuracy stayed ~64–65%.
A MetaTrader 5 script turns forecasts into orders with spread filtering, 2-brick SL, 3-brick TP, and 0.5% balance risk sizing, with explicit dry-run and trade...
👉 Read | Forum | @mql5dev
❤20👍8🤩7🔥5👨💻2👌1
This article builds an MT5 indicator that treats changing market cycles as chirps (frequency drifting within the window) and uses the Fractional Fourier Transform to detect them by searching for the rotation order where energy becomes most concentrated.
Two common implementation traps are addressed: directly sampling the FrFT kernel breaks unitarity in the discrete case, and real-valued inputs make the entropy objective symmetric around a=1, destroying chirp-rate sign. The solution is a unitary FrFT built from DFT eigenvectors plus an analytic-signal step to preserve direction.
Per bar, the code detrends, computes the analytic window, runs a golden-section search minimizing Rényi entropy, and derives a chirp-rate estimate plus a causal cycle reconstruction from a narrow peak band. A “focus gain” metric filters low-confidence windows. Synthetic tests lo...
👉 Read | AppStore | @mql5dev
Two common implementation traps are addressed: directly sampling the FrFT kernel breaks unitarity in the discrete case, and real-valued inputs make the entropy objective symmetric around a=1, destroying chirp-rate sign. The solution is a unitary FrFT built from DFT eigenvectors plus an analytic-signal step to preserve direction.
Per bar, the code detrends, computes the analytic window, runs a golden-section search minimizing Rényi entropy, and derives a chirp-rate estimate plus a causal cycle reconstruction from a narrow peak band. A “focus gain” metric filters low-confidence windows. Synthetic tests lo...
👉 Read | AppStore | @mql5dev
❤21👍14🔥6✍2🤩2👌2
Online Portfolio Selection replaces batch estimation with sequential updates and a regret guarantee versus the best constant rebalanced portfolio (BCRP) chosen in hindsight. It assumes strictly positive, bounded price relatives and enforces a floor to keep log-wealth defined.
Several allocators share a core primitive: exact Euclidean projection onto the long-only simplex (Duchi 2008). EG stays on-simplex via multiplicative updates; Cover’s universal portfolio mixes constant portfolios, with practical implementations relying on finite sampling and showing strong seed sensitivity at low sample counts.
Mean-reversion methods (PAMR, OLMAR) use thresholds and moving-average predictions, with edge cases like zero-variance updates and warmup handling affecting reproducibility. BCRP is computed via projected gradient ascent and verified against closed-form...
👉 Read | Signals | @mql5dev
Several allocators share a core primitive: exact Euclidean projection onto the long-only simplex (Duchi 2008). EG stays on-simplex via multiplicative updates; Cover’s universal portfolio mixes constant portfolios, with practical implementations relying on finite sampling and showing strong seed sensitivity at low sample counts.
Mean-reversion methods (PAMR, OLMAR) use thresholds and moving-average predictions, with edge cases like zero-variance updates and warmup handling affecting reproducibility. BCRP is computed via projected gradient ascent and verified against closed-form...
👉 Read | Signals | @mql5dev
❤20👍9🔥9🤩6👌2💔2
Price series often contain multiple simultaneous cycles. Single-timeframe tools tend to isolate one band and suppress the rest.
A diagnostic MQL5 indicator is outlined to render a live Hilbert Spectrum via the Hilbert-Huang Transform. Empirical Mode Decomposition (EMD) extracts IMFs without a fixed basis, then Hilbert spectral analysis converts each IMF into per-bar instantaneous amplitude and frequency.
Implementation details include EMD sifting with cubic-spline envelopes solved via a tri-diagonal Thomas algorithm, SD-based convergence and iteration caps, plus a 65-tap windowed-FIR discrete Hilbert transform due to missing native analytic-signal support.
Per-IMF phase unwrapping enables instantaneous frequency, and a CCanvas heatmap bins energy into a time-frequency matrix in a separate subwindow, recalculated on bar close for cost control.
👉 Read | NeuroBook | @mql5dev
A diagnostic MQL5 indicator is outlined to render a live Hilbert Spectrum via the Hilbert-Huang Transform. Empirical Mode Decomposition (EMD) extracts IMFs without a fixed basis, then Hilbert spectral analysis converts each IMF into per-bar instantaneous amplitude and frequency.
Implementation details include EMD sifting with cubic-spline envelopes solved via a tri-diagonal Thomas algorithm, SD-based convergence and iteration caps, plus a 65-tap windowed-FIR discrete Hilbert transform due to missing native analytic-signal support.
Per-IMF phase unwrapping enables instantaneous frequency, and a CCanvas heatmap bins energy into a time-frequency matrix in a separate subwindow, recalculated on bar close for cost control.
👉 Read | NeuroBook | @mql5dev
❤15👍10🤩9🔥3👌3👀1
This article translates two Linda Raschke swing setups into a single MT5 Expert Advisor optimized for H1/H4, where signal timing and stop precision matter more than multi-week patience.
The EA implements the 3/10 oscillator as an SMA-based MACD variant computed directly from price arrays, enabling the “Anti” pattern: wait for the signal line to cross zero, require a true pullback where the fast line touches/crosses the signal line, then take only the first reversal cross with a bar-close direction check. Stops track the pullback extreme; exits use an opposite oscillator cross.
For “Holy Grail,” entries require ADX ≥ 30 and strengthening over two bars, a 20-EMA slope filter, and the first pullback that touches the EMA, with exits on ADX breakdown or an adverse EMA close. Two independent state machines share one EA, include restart-safe position recovery, and...
👉 Read | VPS | @mql5dev
The EA implements the 3/10 oscillator as an SMA-based MACD variant computed directly from price arrays, enabling the “Anti” pattern: wait for the signal line to cross zero, require a true pullback where the fast line touches/crosses the signal line, then take only the first reversal cross with a bar-close direction check. Stops track the pullback extreme; exits use an opposite oscillator cross.
For “Holy Grail,” entries require ADX ≥ 30 and strengthening over two bars, a 20-EMA slope filter, and the first pullback that touches the EMA, with exits on ADX breakdown or an adverse EMA close. Two independent state machines share one EA, include restart-safe position recovery, and...
👉 Read | VPS | @mql5dev
❤23🔥9👍8🤩7
Prop Firm Guard moves beyond showing balance/equity by computing three separate compliance metrics at runtime: daily drawdown from a trader-confirmed equity baseline, overall drawdown from the initial challenge balance using a static floor, and profit-target progress from realized balance. Keeping these references independent avoids mixing day-specific risk, challenge-level limits, and growth objectives.
A key design change is readiness-aware states. Each engine publishes results only if all required references and denominators validate; otherwise it stays “not ready” instead of defaulting to SAFE. Helper functions validate financial inputs, classify loss usage with correct severity priority, and reset states deterministically.
The EA then combines the three engines into one guard status: missing data forces NOT_READY, and risk states always outrank target ...
👉 Read | AppStore | @mql5dev
A key design change is readiness-aware states. Each engine publishes results only if all required references and denominators validate; otherwise it stays “not ready” instead of defaulting to SAFE. Helper functions validate financial inputs, classify loss usage with correct severity priority, and reset states deterministically.
The EA then combines the three engines into one guard status: missing data forces NOT_READY, and risk states always outrank target ...
👉 Read | AppStore | @mql5dev
👍11❤7🔥3🤩1
This article rebuilds Market Profile for modern regimes without breaking Steidlmayer’s auction logic. It targets MT5 integration by using real tick trades with aggressor flags for exchange symbols (CopyTicksRange), plus a bar-based proxy for Forex.
Three structural flaws are addressed: single VA/POC in bimodal sessions, no aggressor context per level, and zero cross-session memory. Fixes include pairwise VA expansion, bimodality detection with a dead-zone and secondary POC, and a Delta Profile that tags absorption when delta is extreme at the POC.
A composite “market memory” layer adds exponentially decayed profiles, extracting HVN/LVN and tracking naked POCs efficiently via a triangular approximation, delivered as modular, performance-focused MQL5 components.
👉 Read | Calendar | @mql5dev
Three structural flaws are addressed: single VA/POC in bimodal sessions, no aggressor context per level, and zero cross-session memory. Fixes include pairwise VA expansion, bimodality detection with a dead-zone and secondary POC, and a Delta Profile that tags absorption when delta is extreme at the POC.
A composite “market memory” layer adds exponentially decayed profiles, extracting HVN/LVN and tracking naked POCs efficiently via a triangular approximation, delivered as modular, performance-focused MQL5 components.
👉 Read | Calendar | @mql5dev
👍5🤩4🔥3❤1